lwip_freeRTOS_s32k344 : Build Configuration Issue Report: FreeRTOS Example Projects

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lwip_freeRTOS_s32k344 : Build Configuration Issue Report: FreeRTOS Example Projects

82 Views
Sachin05
Contributor II

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 Projectsfree_rtoslwip_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?

0 Kudos
Reply
1 Reply

55 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Sachin05 

Could you please provide the RTD version and the FreeRTOS package version you have installed? Additionally, could you share the steps you followed to import the example? This will help me better understand your setup and verify if anything might be missing.

 

BR, VaneB

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2250465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Elwip_freeRTOS_s32k344%20%3A%20Build%20Configuration%20Issue%20Report%3A%20FreeRTOS%20Example%20Projects%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250465%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3EProblem%3C%2FSTRONG%3E%3CSPAN%3E%3A%20FreeRTOS%20and%20lwIP%20example%20projects%20fail%20to%20compile%20with%20%22fatal%20error%3A%20FreeRTOS.h%3A%20No%20such%20file%20or%20directory%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3EPlatform%3C%2FSTRONG%3E%3CSPAN%3E%3A%20S32%20Design%20Studio%203.6.2%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3ETarget%3C%2FSTRONG%3E%3CSPAN%3E%3A%20S32K344%20(S32K3%20Platform)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3EAffected%20Projects%3C%2FSTRONG%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3Efree_rtos%3CSPAN%3E%2C%26nbsp%3B%3C%2FSPAN%3Elwip_freertos%3CSPAN%3E%26nbsp%3Bexample%20applications%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId--495711912%22%20id%3D%22toc-hId--495686024%22%3EEnvironment%20Verification%3C%2FH2%3E%3CH3%20id%3D%22toc-hId-194849562%22%20id%3D%22toc-hId-194875450%22%3EComponents%20Installed%20(Confirmed)%3A%3C%2FH3%3E%3CUL%3E%3CLI%3E%3CLI-EMOJI%20id%3D%22lia_white-heavy-check-mark%22%20title%3D%22%3Awhite_heavy_check_mark%3A%22%3E%3C%2FLI-EMOJI%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ES32%20Design%20Studio%3C%2FSTRONG%3E%3A%20Version%203.6.2%3C%2FLI%3E%3CLI%3E%3CLI-EMOJI%20id%3D%22lia_white-heavy-check-mark%22%20title%3D%22%3Awhite_heavy_check_mark%3A%22%3E%3C%2FLI-EMOJI%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EPlatform%20SDK%20S32K3%3C%2FSTRONG%3E%3A%20Includes%20FreeRTOS%20and%20lwIP%20TCP%2FIP%20stack%3C%2FLI%3E%3CLI%3E%3CLI-EMOJI%20id%3D%22lia_white-heavy-check-mark%22%20title%3D%22%3Awhite_heavy_check_mark%3A%22%3E%3C%2FLI-EMOJI%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EFreeRTOS%20Source%20Location%3C%2FSTRONG%3E%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22%22%20href%3D%22vscode-file%3A%2F%2Fvscode-app%2Fc%3A%2FUsers%2FSSachin%2FAppData%2FLocal%2FPrograms%2FMicrosoft%2520VS%2520Code%2Fresources%2Fapp%2Fout%2Fvs%2Fcode%2Felectron-browser%2Fworkbench%2Fworkbench.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20class%3D%22%22%3ESource%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%3C%2FUL%3E%3CH3%20id%3D%22toc-hId--1612604901%22%20id%3D%22toc-hId--1612579013%22%3EBuild%20Error%20Observed%3A%3C%2FH3%3E%3CP%3E..%2Fsrc%2Fmain.c%3A19%3A10%3A%20fatal%20error%3A%20FreeRTOS.h%3A%20No%20such%20file%20or%20directory%3CBR%20%2F%3E19%20%7C%20%23include%20%22FreeRTOS.h%22%3CBR%20%2F%3E%7C%20%5E~~~~~~~~~~~%3CBR%20%2F%3Ecompilation%20terminated.%3C%2FP%3E%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId-874907932%22%20id%3D%22toc-hId-874933820%22%3E%3CSTRONG%3ECascade%20of%20Errors%20When%20Path%20Added%20Manually%3C%2FSTRONG%3E%3C%2FH3%3E%3CP%3EWhen%20the%20FreeRTOS%20include%20path%20is%20manually%20added%20to%20build%20settings%3A%3C%2FP%3E%3CUL%3E%3CLI%3EInitial%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EFreeRTOS.h%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eheader%20is%20found%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ENew%20errors%20appear%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Efor%20missing%20secondary%20dependencies%3A%3CUL%3E%3CLI%3Eportmacro.h%26nbsp%3B(ARM%20Cortex-M7%20port-specific%20definitions)%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FUL%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3EWhat%20is%20the%20correct%20project%20import%20procedure%20for%20FreeRTOS%20examples%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2250619%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20lwip_freeRTOS_s32k344%20%3A%20Build%20Configuration%20Issue%20Report%3A%20FreeRTOS%20Example%20Projects%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2250619%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255899%22%20target%3D%22_blank%22%3E%40Sachin05%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20provide%20the%20RTD%20version%20and%20the%20FreeRTOS%20package%20version%20you%20have%20installed%3F%20Additionally%2C%20could%20you%20share%20the%20steps%20you%20followed%20to%20import%20the%20example%3F%20This%20will%20help%20me%20better%20understand%20your%20setup%20and%20verify%20if%20anything%20might%20be%20missing.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E