Example Error just below, 6 other errors saying this file is missing as well.
…/src/config/sam_e51_cnano/osal/osal_freertos.h:56:10: fatal error: FreeRTOS.h: No such file or directory
I apologize folks, not sure if here is the place to ask this.
I have started very basic projects multiple times using SAME51 on multiple computers. Current computer is running MPLABX 6.05, MCC 5.5, not sure on FreeRTOS
Others were older versions of software and not all up to date.
I use MCC harmony to create them. Simple, create new project, start MCC, add a usart. The usart adds FreeRTOS. Set up the serial port pins. Everything else is defaulted. Generate the project. Then Clean and build the project, sure enough, every time on every computer I have MPLabx installed, same issue.
I see this issue come up on here and the response is to put the freeRTOS in the path.
I do a search on my computer for freertos.h and I’m guessing 100 plus instances of the same file show up on my hard drive. Ones for different processors, and utilities. Seems that it would need to know exactly which to point to.
Ideally if you configure your project using MCC Harmony the paths to include files should be configured by the Harmony itself. Have you made sure that you have installed the packages required for FreeRTOS in the MCC Harmony plugin manager?
Also FreeRTOS.h is not specific to any port or compiler you can include it from the required version of FreeRTOS that you want to use.
MPLAB 6.0+ changed things. The Assembler no longer uses “Common include dirs”.
Edit the project, go to XC32 (Global Options) → xc32-as → Assembler Include directories.
Begin by including the path to your FreeRTOS.h and FreeRTOSConfig.h files. Add additional directories as necessary until your Assembly includes all work.
A little documentation of this big change would have been nice, Microchip.
Oh, and use the path’s from XC32 (Global Options) → Common include dirs
to figure out which FreeRTOS.h and FreeRTOSConfig.h files are the correct ones.
The alternative solution is to return to MPLAB X 5.XX
There was nothing in the XC32 (globe options) com Incld dirs. Tony said they are all the same so I took a guess with relation to core, usart and such and added the folder to the global options and asm.
I think the problem came about because I didn’t have the arm CMSIS / CMSIS-FreeRTOS loaded in MCC/Harmony
I just ran another project and it all seems good.
It is strange that I can have the FreeRTOS showing in the Project Graph window and it doesn’t yell at me that it is not loaded
Thanks for the help everyone! Sorry for the newbie mistake