Skip to main content
Visitor II
October 5, 2011
Question

TSL 2.4.0 STM8S105C6 on GPIOE not work in IAR

  • October 5, 2011
  • 2 replies
  • 696 views
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''
    This topic has been closed for replies.

    2 replies

    ST Employee
    October 6, 2011
    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?

    prcAuthor
    Visitor II
    October 9, 2011
    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

    :)