Hi Nick,
I totally agree that the SPL headers (and functions) are not very convenient.
However, "unfortunately“ there are a lot of examples on the ST homepage for the
STM8 which are based on the SPL…
> Has someone already released fine grained SDCC compatible header
> files for the STM8?
Due to the mentioned SPL licence issue and for convenience I developed my own
header for STM8S and STM8L, which is available as part of a loose collection of
templates under
https://github.com/gicking/STM8_templates/blob/master/STM8_Lib/stm8as.h
<https://github.com/gicking/STM8_templates/blob/master/STM8_Lib/stm8as.h>
This header allows byte or bitfield access (where suitable). The templates are
compatible with both STVD/Cosmic and SDCC. The latter currently uses Makefiles,
since I am still looking for a suitable, lean, portable IDE to facilitate
development under SDCC. Any idea/hint…?
Hope this is of use for you!?
Regards,
Georg Icking-Konert
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user