Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw/mcu/stm32f1: Disable SysTick when RTC is selected as tick source
When tick was provided by RTC instead of SysTick (default) and MCUboot used SysTick during boot, SysTick was never turned off and was running in application code. This resulted in two interrupts advancing mynewt OS tick so clock was running too fast. Now os_tick_init() from RTC code disables SysTick that could be started in bootloader Signed-off-by: Jerzy Kasenberg <[email protected]>
- Loading branch information