Compilation Issue with FreeRTOS Project on Microchip PIC24F

Hi everyone,

I’m encountering an issue when compiling a project that uses FreeRTOS on a Microchip PIC24F microcontroller. During compilation, I’m getting the following error:

build/default/debug/atomic.o: file not recognized: File format not recognized

I’ve reviewed my code and my compilation settings, but I can’t pinpoint the exact cause of this error. Has anyone experienced a similar issue before or have any ideas on what might be causing this problem?

Any suggestions or advice would be greatly appreciated. Thanks in advance for your help!

Best regards,
Doni

That seems like a pre-existing build artifact. Can you try doing a clean build? You can also try deleting the build folder?

I tried both actions but it doesn’t work

Where does the file atomic.c come from? Where did you get this project? Is it possible for you to share this project?