Inlined STM8S SPL (STM8S103) for use with SDCC
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
Ondřej Hruška f064bc6fb6 added bootstrap.c/.h il y a 7 ans
Library/SPL added bootstrap.c/.h il y a 7 ans
User added bootstrap.c/.h il y a 7 ans
.gitignore added code il y a 7 ans
CMakeLists.txt.clion improvements and better example main.c il y a 7 ans
Makefile improvements and better example main.c il y a 7 ans
README.md improvements and better example main.c il y a 7 ans

README.md

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.

The CMakeLists file is for CLion to stop bitching about missing includes and fake syntax errors. It's not used for building. Remove the .clion suffix if you want to use it