Systick and FreeRTOS Question
My client has an application which uses FreeRTOS. Recently I wanted to do a small, simple test. I wrote a couple dozen lines of code and put it in main() before the FreeRTOS scheduler starts (my test code ends in a while(1) loop, to FreeRTOS never gets called).
This test code uses a simple counter attached to SysTick. I know from looking at the code and reading other people's issues, your application can't use SysTick because FreeRTOS uses it. But what I couldn't figure out is why my weird case wasn't working. I made sure to undefine the FreeRTOS SysTick handler, and my handler was registered. But it just wouldn't get triggered.
Is there something about just compiling with FreeRTOS that will "break" normal SysTick operation (other than where it takes over the handler, which I disabled temporarily). After wasting a couple hours, I eventually gave up. Any thoughts?
Compiler: Keil MDK-ARM 5.06 build 528 + uVision 5.24
FreeRTOS: v8.1.2
Target: STM32F405RGT
-Chris
