RTFM should enable cleaner resource management and interrupt handling.
For now I did not set up the task scheduling system. For this we would need a monotonic timer. The STM32L071 only has 16 bit timers, so for high resolution we would have to tie together two timers in master-slave mode to get 32 bits of precision. However, we don't really need it, we can simply use the timer directly instead (for stuff like blinking LEDs).
RTFM should enable cleaner resource management and interrupt handling.
For now I did not set up the task scheduling system. For this we would need a monotonic timer. The STM32L071 only has 16 bit timers, so for high resolution we would have to tie together two timers in master-slave mode to get 32 bits of precision. However, we don't really need it, we can simply use the timer directly instead (for stuff like blinking LEDs).