ARM Cortex M4 Demo

guggech wrote on Wednesday, April 04, 2018:

When I try to compile the Cortex_M4F_ATSAM4E_Atmel_Studio demo, I get a compile error that state it cannot find “fat_sl.h” file. Any idea?

rtel wrote on Wednesday, April 04, 2018:

Ah - right - FreeRTOS V10.x downloads don’t include the FAT SL product.
I would suggest downloading the last V9.x version, then just copying the
FreeRTOS V10 source files over the top of the V9 source files.

guggech wrote on Thursday, April 05, 2018:

Thank you for the reply. I downloaded the 9.0 version and copied the 10.0 over and still having some missing files. I deleted the 9.0 and 10.0 folder and tried again fresh. Now I am getting the following message when compiling:
No Rule to make target ‘src/asf/thirdparty/FreeRTOS/event_groups.o’, needed by ‘RTOSDemo.elf’

Looking at the project, all the files under the Common-Demo-Source folder are missing.

rtel wrote on Thursday, April 05, 2018:

I’m not sure I understand - I only intended that you replace the
FreeRTOS source files, those under FreeRTOS/Source in the FreeRTOS
kernel distribution - although they may be somewhere else in your
project. You should not have changed anything in the demo directories.
Also both FreeRTOS V9.x and V10.x both have event_groups.c in the same
location so I’m not sure why it would be missing now.

guggech wrote on Thursday, April 05, 2018:

After having re-loaded the V10.x and running the “CreateProjectDirectoryStructure.bat” in the Cortex_M4_ATSAM4S_Atmel_Studio folder, all the needed file are there and I can compile the project. I can step thru the code but I have not being able to have the tasks blink the LED. It apprears that the taskl tick is not running. Still investigating…
Thank You.

guggech wrote on Thursday, April 05, 2018:

By the way I am using the SAM4S Xplained Pro evaluation board…