You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
492 B
492 B
stm8s_inline_spl
Inlined STM8S SPL (STM8S103) for use with SDCC
This is probably against the license, but who cares.
SDCC does not support --gc-sections, so we have to either use #ifdef's and compile switches to remove unused crap, or inline it.
Here I inlined all of the SPL that's useful for stm8s103 (except the flash file - there's lots of crap I don't understand, so you'll do better just keeping it intact or re-implementing it).
This is intended to be used with SDCC on linux.