1
0
Fork 0
Inlined STM8S SPL (STM8S103) for use with SDCC
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
Ondřej Hruška 3a1a2dcb81
Update README.md
vor 6 Jahren
Library/SPL added bootstrap.c/.h vor 7 Jahren
User use right format for printf u vor 7 Jahren
.gitignore added code vor 7 Jahren
CMakeLists.txt.clion improvements and better example main.c vor 7 Jahren
Makefile improvements and better example main.c vor 7 Jahren
README.md Update README.md vor 6 Jahren

README.md

stm8s_inline_spl

Inlined STM8S SPL (STM8S103) for use with SDCC

This is probably against the license, so use at own risk.

SDCC does not support --gc-sections, so we have to either use #ifdef's and compile switches to remove unused code, or inline it.

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 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