hello all, as you may know, STM provides a standard peripheral library for STM8 and STM32, which can be downloaded from http://www.st.com and is the basis for many STM8 projects. Recently I ported most functions to SDCC. Exceptions are SW traps and near / far pointer types (see previous mail). Also testing is still very rudimentary.
Some points / questions to the community:
- if anyone is interested, just send me a mail. I appreciate every "beta tester“… ;-)
- I noticed that SDCC always seems to link the complete library, even if I only toggle a pin —> very large code size. Can I tell the linker to skip unused functions?
- I couldn't find a respective notice but I doubt that the library is open-source —> I probably mustn’t distribute an altered version just like that. Any advice on this legal stuff?
For your feedback thanks a lot in advance!