Hello Mike
Digging through the .mex file, I find that the IDE is placing the FreeRTOSConfig.h file elsewhere. It has detected another version of this file in a virtual folder within the project, and has decided to use that instead of the "board" folder.
gary2_0-1654587028904.png
The image above shows what the IDE is updating and relative paths. Obviously, the last entry is incorrect (it is picking up demo code from a CANopen stack). Manually changing the .mex file has no effect as it appears to re-search the filesystem and pick up the first entry it finds (presumably in alphabetic order).
Is there a way to prevent this automatic search-and-change from taking place?
Kind regards
Gary
Gary Partis