Closed gabbla closed 3 years ago
In stm8l10x.h the included interrupt header file refers to the STM8S series, not the STM8L10x.
stm8l10x.h
--- stm8l10x.h.orig 2021-10-18 14:52:40.882365259 +0200 +++ stm8l10x.h 2021-10-18 14:54:44.713340650 +0200 @@ -1439,7 +1439,7 @@ #if defined(_SDCC_) /* SDCC patch: doesn't work like that in SDCC -> skip */ #define INTERRUPT __interrupt - #include "stm8s_it.h" /* SDCC patch: ensure inclusion in main.c for interrupts */ + #include "stm8l10x_it.h" /* SDCC patch: ensure inclusion in main.c for interrupts */ #endif /*============================== Handling bits ====================================*/
hi Gabbla,
sorry for the late response and thanks for pointing this out! I have fixed it already.
Regards, Georg
In
stm8l10x.h
the included interrupt header file refers to the STM8S series, not the STM8L10x.