Okay, I'm using Stefano's STR9 package, which uses the ST libraries.
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
The only changes that I made to his package, was to replace his hardware-initialization code with our hw init code, which is working on the board that I want to use FreeRTOS on. I compile now with no warnings, and main() is running successfully.
I can access the LEDs on our board, and am using them to debug code execution.
However, I'm having problems getting the Timer to work, and of course without that, the RTOS isn't going to run!!
Looking first at Stephano's main timer (TIM2):
Try 1: I found that when using his timer-init function, the TIM2 ISR never got called at all!!
Try 2: Since I had a working timer-init function in our existing code, I copied that init function over and modified it to set up TIM2. In this case, the TIM2 ISR gets called exactly ONCE, but even the command to clear the interrupt flag is getting executed, the TIM2 ISR never gets called subsequently.
Try 3: I then copied over my TIM0 setup function and ISR, and I saw exactly the same thing as TIM2 - my TIM0 ISR gets called ONCE, and never gets called again. This exact code is running fine in our non-RTOS firmware.
What could be interfering with the running of the timers??
This email is free from viruses and malware because avast! Antivirus protection is active.