SysTick_Handler stop working in 1.7.1 [STM32L431 generated project]
- October 6, 2021
- 3 replies
- 1651 views
Hello all,
When upgrading to latest STM32CubeIDE 1.7.1, the generated project for STM32L431 did not trigger SysTick_Handler anymore.
I diffed the project from another project generated with 1.5.1 where it was working.
I found that it exclusively had to do with the file "Core/Src/system_stm32l4xx.c". There seems to have been some changes to VTOR addresses.
I diffed the files between projects with the following command:
$ diff working_project/Core/Src/system_stm32l4xx.c failing_project/Core/Src/system_stm32l4xx.c
I attach the diff in hopes for an explanation on what is wrong or in hopes that this is a bug that can be resolved.
[EDIT]
I noticed in the release notes for STM32L4xx CMSIS that this was added in V1.7.1:
- system_stm32l4xx.c/.h
- Update VTOR configuration to be modified by user
I understand that flexibility might be good but should not the default generated project at least have a working solution?
Best regards,
Anton
