TG9541 / stm8ef

STM8 eForth - a user friendly Forth for simple µCs with docs
https://github.com/TG9541/stm8ef/wiki
Other
311 stars 66 forks source link

STM8L: interrupt priority of BG task not lowered #340

Closed TG9541 closed 4 years ago

TG9541 commented 4 years ago

The BG task priority should be lower than interrupts, e.g. of TIM4_INT or EXTx_INT for the simulated serial interface. In STM8S it is, in STM8L it isn't. This is a bug.

TG9541 commented 4 years ago

I added some symbols for the interrupt index and made the solution generic. Maybe I'll simplify the BG timer initialization code a bit more.