meche87 wrote on Wednesday, April 11, 2018:
I am new to using FreeRTOS and am trying to setup and run the basic blinky demo project for the SAM4E port. I am using the SAM4E XPlained Pro which should be compatible with the SAM4E-EK Port (I think).
Here are the steps I’ve taken so far:
1.) Downloaded FreeRTOSv10.0.1.exe
2.) Opened demo project in: FreeRTOSv10.0.1\FreeRTOS\Demo\CORTEX_M4F_ATSAM4E_Atmel_Studio
3.) I open main.c and rebuild solution. I get errors because it cannot find the fat_sl.h file. Since I am not using this for the basic blink example I deleted the FreeRTOS+FAT folder and the two related .c files
4.) I can build the project in Debug config but not in release config. In release config I get the following errors
Severity | Description |
---|---|
Error | FreeRTOS.h: No such file or directory |
Error | recipe for target ‘src/UDPCommandServer.o’ failed |
Error | recipe for target ‘src/UDP-Related-CLI-commands.o’ failed |
Error | recipe for target ‘src/TwoEchoClients.o’ failed |
Error | recipe for target ‘src/Sample-CLI-commands.o’ failed |
Error | FreeRTOS.h: No such file or directory |
Error | FreeRTOS.h: No such file or directory |
Error | FreeRTOS.h: No such file or directory |
When I run the debug mode there are no blinking lights (right now I am assuming it is due to the difference in eval boards).
I am guessing my toolchain is not setup right to point to the header files that are throwing errors above. My goal right now is to get the basic blink example running and become more familiar with FreeRTOS.
Any help or suggestions as to why the release config won’t build would be appreciated. Maybe I’m missing something more basic. I haven’t moved any files or directories around and have tried deleting and starting from a clean build several times.
I’ve done quite a bit of embedded programming before but am not very familiar with the make files, toolchains, setting up include paths etc.
Thanks,
Jonathan