Problem: FreeRTOS and lwIP example projects fail to compile with "fatal error: FreeRTOS.h: No such file or directory"
Platform: S32 Design Studio 3.6.2
Target: S32K344 (S32K3 Platform)
Affected Projects: free_rtos, lwip_freertos example applications
Environment Verification
Components Installed (Confirmed):
- S32 Design Studio: Version 3.6.2
- Platform SDK S32K3: Includes FreeRTOS and lwIP TCP/IP stack
- FreeRTOS Source Location: Source
Build Error Observed:
../src/main.c:19:10: fatal error: FreeRTOS.h: No such file or directory
19 | #include "FreeRTOS.h"
| ^~~~~~~~~~~~
compilation terminated.
Cascade of Errors When Path Added Manually
When the FreeRTOS include path is manually added to build settings:
- Initial FreeRTOS.h header is found
- New errors appear for missing secondary dependencies:
- portmacro.h (ARM Cortex-M7 port-specific definitions)
What is the correct project import procedure for FreeRTOS examples?