I happily follow the progress of SDCC starting to support the STM8 Family of microcontrollers. SDCC is a compiler targeting smaller uCs like 8051, Z80, HC08, PIC and recently there was progress porting the compiler to STM8. It is currently only available in the snapshots. I tried compiling the OggStreamer’s STM8-Firmware with SDCC and after some fiddling around the code it compiled – but it doesn’t work at the moment. So I decided to do something less complex and I took portions of the original sources and modified them to run a simple LED Test, which nevertheless already uses a Timer Interrupt and does some lowlevel initialization.
As we now have an OpenSource alternative for the STM8-Compiler I will be able to create one complete OggStreamer SDK.
The impressive result are some blinking LEDs: (SDCC Version #8680)