Hello SDCC team,
I have created a patch that enables ELF output for STM8, so the ST Visual Develop environment can be used.
The patch adds ELF option to the STM8 port, and it adds support for 3-byte addresses in the ELF output backend.
Tested with STVD.
Please review/apply/reject.
I applied the linker part in rev. #9425, will look at the compiler part later.
Philipp
In revision #9426, I added the support on the compiler side. Plese test if it works for you.
Philipp
P.S.: DWARF output in SDCC is still somewhat lacking; I intend to improve it and update it to the current DWARF standard, but I currently consider other improvements in SDCC more urgent.