Yesterday sdcc (version #8699) produced a first useable Firmware for the STM8 uC used in the OggStreamer – it still needs some testing but it is feaseable that we can use sdcc as OpenSource compiler for the stm8.
-
Recent Posts
Archives
- September 2015
- November 2014
- April 2014
- February 2014
- November 2013
- October 2013
- September 2013
- June 2013
- May 2013
- April 2013
- February 2013
- November 2012
- October 2012
- September 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
Categories
Meta
Hello,
I am using SDCC for STM8S-Discovery board and using code blocks editor
The compiler worked fine until i decided to try out interrupts
Now i see a file stm8_interrupt_vector.c in the examples but INTERRUPT & INTERRUPT_HANDLER both creating problems for compilation.
I read in some discussions for STM8(SDCC) that the IVT is implemented already.
Now i am unable to figure out how to use the interrupt part for SDCC.
Also i tried to use rim instruction in my program, and surprisingly the execution gets stuck there
I used it as
__asm;
rim
__endasm;
Were you able to use interrupts with SDCC. If yes please could you let me know how to use it
Thanks in advance
Rajiv