Inlined STM8S SPL (STM8S103) for use with SDCC
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.
stm8s_inline_spl/README.md

18 lines
674 B

6 years ago
# stm8s_inline_spl
6 years ago
6 years ago
Inlined STM8S SPL (STM8S103) for use with SDCC
6 years ago
5 years ago
This is probably against the license, so use at own risk.
6 years ago
SDCC does not support --gc-sections, so we have to either use #ifdef's
and compile switches to remove unused code, or inline it.
6 years ago
Here I inlined all of the SPL that's useful for stm8s103 (except the flash file -
there's lots of stuff I don't understand, so you'll do better just keeping it
6 years ago
intact or re-implementing it).
This is intended to be used with SDCC on linux.
**The CMakeLists file is for CLion to stop whining about missing includes and fake syntax errors.
It's not used for building. Remove the .clion suffix if you want to use it**