I’m following the instructions at www.freertos.org/FreeRTOS-simulator-for-Linux.html to build the linux simulator, but the make fails. Is there a configuration step missing from the instructions on the page above?
The FreeRTOS.h is a submodule in the FreeRTOS/Source folder. To pull the code in, use the git submodule command $ git submodule update --init --recursive in the FreeRTOS repository. That should resolve your issue.
Thanks! I should have thought of that (it explains why the clone went so quickly). The git update did indeed allow the demo to build properly. Another option is adding --recurse-submodules to the initial clone command to do it in one step.
I’m curious: rather than grabbing all the submodules, is there an easy way to determine which ones are actually needed?
Yes that’s true, for just running the Kernel demo this is all you need. We have added sub modules that are needed for the various demos in FreeRTOS, so in this case you won’t need those.