cancel
Showing results for 
Search instead for 
Did you mean: 

TSL 2.4.0 STM8S105C6 on GPIOE not work in IAR

prc
Associate
Posted on October 05, 2011 at 18:29

if stm8_tsl_conf.h select GPIOE:

#define SCKEY_P1_PORT_ADDR  (GPIOE_BaseAddress)  /**< Single channel key Port 1: GPIO base address */

IAR stopped on - ''__iar_unhandled_exception''
2 REPLIES 2
Max
ST Employee
Posted on October 06, 2011 at 17:09

I tried this based on the RC example included in the library and did not get this error.

Could you please precise your version of IAR?

May be you could enclose your stm8_tsl_conf.h file?

prc
Associate
Posted on October 09, 2011 at 20:44

IAR 1.30

http://supp.iar.com/Download/SW/?item=EWSTM8-KS8

http://supp.iar.com/Download/SW/?item=EWSTM8-KS8

I do not understand

how

but

the problem disappeared

:)