ThreadX systick code generation
For my project I'm using an STM32L476 MCU with CubeIDE 1.15.1 and CubeMX 6.11.1
In this project I'm using ThreadX / Azure RTOS.
For a new feature I doubled the speed of the MSI, which doubles the system clock, but the HCLK stays the same (by changing the prescaler).
Now when I click regenerate code in CubeMX, the values for the systick are doubled in the tx_initialize_low_level.s
So as an overview
| Old value | New value | |
| MSI | 1 MHz | 2 MHz |
| SysClk | 1 MHz | 2 MHz |
| HClk | 1 MHz | 1 MHz |
| SYSTEM_CLOCK var in tx_initialize_low_level.s | 1 MHz | 2 MHz |
The SYSTEM_CLOCK var in tx_initialize_low_level.s is used to configure the SysTick.
To me this looks like a bug in the generator as the System clock does not affect the SysTick (the HClk does)?
