I downloaded the FreeRTOS v8.0.0 and trying to get the FreeRTOS Demo for the ST STM32L152 to work using IAR Embedded Workbench for ARM version 7.10.1.
The Demo instruction page says it uses IAR v6.10 so is it not compatible with the newer version?
Currently when i run the demo it never goes to the first task and vPortStartFirstTask() hangs i think at the call svc 0.
Also, gives the the following warning when downloading and debugging
Skipping flash loading pass because there is no data in the designated range: 0x8080000-0x8080FFF.
This is the original project and i haven’t changed anything so i would expect it to work fine.
using IAR 7.10.? (don’t know the ?). I got a warning for each interrupt handler along the lines of…
Warning[25]: Label ‘Reset_Handler’ is defined pubweak in a section implicitly declared root C:\temp\800\FreeRTOSV8.0.0\FreeRTOS\Demo\CORTEX_STM32L152_Discovery_IAR\System\startup_stm32l1xx_md.s 133
Warning[25]: Label ‘NMI_Handler’ is defined pubweak in a section implicitly declared root C:\temp\800\FreeRTOSV8.0.0\FreeRTOS\Demo\CORTEX_STM32L152_Discovery_IAR\System\startup_stm32l1xx_md.s 141
Warning[25]: Label ‘HardFault_Handler’ is defined pubweak in a section implicitly declared root
I was trying the CORTEX_STM32L152_IAR on the STM32152-EVAL board and that’s the one that was giving me issues.
After reading your post, I tried the CORTEX_STM32L152_Discovery_IAR and this one seems to work fine. I was even able to add my own tasks to print something onto the serial port.
So, i am not sure what’s up with the other one. I don’t have the LCD on the board and i tried to strip all the LCD code but it seems like it’s not even going to the first task. It would just hang at vPortStartFirstTask()
For now i will just look at the Discovery example since it’s working fine for me and will go on from there.