cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt subroutines nver called

remi23
Associate II
Posted on May 24, 2010 at 16:59

Interrupt subroutines nver called

2 REPLIES 2
remi23
Associate II
Posted on May 17, 2011 at 15:08

Ok found the solution:

When you create a project without the file ''stm8_interrupt_vector.c''

The linker will create an ''empty'' interrupt_vector file filled with 

0x82, (interrupt_handler_t)NonHandledInterrupt

The fix is to use stm8_interrupt_vector.c from the library cosmic

mozra272
Associate II
Posted on May 17, 2011 at 15:08

Hi Remi,

When using the STM8L10x library (stm8l10x_it.c and stm8l10x_it.h files) you should  use the updated stm8_interrupt_vector.c file released with the library and available under the following path: STM8L10x_StdPeriph_Lib\Project\Template\STVD\Cosmic

Regards

mozra