vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
404 stars 183 forks source link

Edit to compile without warnings. Add -u support for stm8l050j3. #137

Closed schneidersoft closed 3 years ago

schneidersoft commented 3 years ago

I have tested the -u option on an stm8l050j3. I can test other things as well if anything is necessary as I have this chip.

One thing to note. in the datasheet the option byte area goes from 0x004800 to 0x00487F but only 13 bytes are described in the datasheet. So we have no idea what the rest of the bytes do, if anything at all.

spth commented 3 years ago

Thanks for improving stm8l050j3 support.

If you have tested some functionality on the stm8l050j3 or other devices, and it works for you (or doesn't) please indicate so in the README.md.

I'd also suggest to just remove that unused recv variable rather than casting it to void.