2024-12-26 04:38 PM
Hi All,
I've been following a FreeRTOS course and have gotten to the point where you integrate Segger SystemView into the project. The course has you right click on the CubeIDE project then go to Properties > C/C++ build > Settings > Tool Settings > MPU/MCU GCC Compiler > Include paths, and then add three folders within the project directory to the include path list using the workspace button. Entries added to the list look like this:
${workspace_loc:/${ProjName}/ThirdParty/SEGGER/SEGGER}
After doing this, compilation does not work. The compiler spits out about 40 errors about missing header files that can be verified to to be in the three folders I just added. I have tried using absolute paths as well. Restarting CubeIDE does not change the number of compilation errors
Right clicking on the individual source folders and once again going to Properties > C/C++ build > Settings > Tool Settings > MPU/MCU GCC Compiler > Include paths shows that the three folders I previously included are not present here. After going through and adding the folders to the include paths of the folders that are generating the errors I can compile just fine. Is this an IDE issue, or a me issue? If it is a me issue, what am I doing wrong? I am using the latest (V1.17.0) version of CubeIDE, if that makes a difference.
Interestingly, while browsing through some of the other settings in the same window, I found some settings pointing towards a previous version of the IDE. I may do a clean install later.