ARM Cortex M4 Demo

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

ARM Cortex M4 Demo

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.

ARM Cortex M4 Demo

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.

ARM Cortex M4 Demo

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.

ARM Cortex M4 Demo

After having re-loaded the V10.x and running the “CreateProjectDirectoryStructure.bat” in the CortexM4ATSAM4SAtmelStudio 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.

ARM Cortex M4 Demo

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