Hi József,You are right, the STM8L050J3 does not feature a RST pin, so the datasheet recommends adjusting PA0 (if needed) as GPIO at least after 5 seconds so there's still time to flash the device through the SWIM pin. OTOH, there is also a bootloade...
Hello Munna,I recommend you to use the open-source SDCC compiler together with the stm8-binutils-gdb package, which currently has support for unused code elimination.Minimal example using SDCC to generate assembly code from C code to be later compile...
Hi József,There is a fork of the GNU binutils package for STM8 that allows you to generate ELF files from assembly (combine it with SDCC for C support) that can be later flashed by OpenOCD:https://github.com/XaviDCR92/stm8-binutils-gdbFork of SDCC th...