Dear support team:
When i use eclipse command line to construct my program, i found that the path variable can't correctly parsed.
Command line:
eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data x import x -cleanBuild x/x --launcher.ini s32ds.ini --launcher.suppressErrors
IDE: Version: 2018.R1 Build id: 180815
Configurations:
The setting of C compiler:
The setting of path variables:
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/drivers/src/lin"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/devices/S32K144/startup"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/rtos/osif"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/middleware/sbc/sbc_uja1169/include"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/devices/common"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/drivers/src/sai"
-I"C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K14x_EAR_0.8.6/platform/devices/S32K144/include"
-I"/platform/drivers/src/lin"
-I"/platform/devices/S32K144/startup"
-I"/rtos/osif"
-I"/middleware/sbc/sbc_uja1169/include"
-I"/platform/devices/common"
-I"/platform/drivers/src/sai"
-I"/platform/devices/S32K144/include"
You can see that the path variables can't parsed correctly in command line mode.
Hope you can help me to analyze this issue.
Eagerly awaiting your reply.
解決済! 解決策の投稿を見る。
Hi, Stan:
Thank you for you reply.
It works when i change your the eclipse option as below:
-Ea S32K144_SDK_GCC_0.8.6_PATH="C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K14x_EAR_0.8.6"
Now what's keeping me from getting confused is the PATH variable definition.
The SDK path variable what i can see in S32DS is "S32K144_SDK_GCC_0_8_6_PATH". See the picture below:
Figure 1: Linked Resources
But in the project setting, the SDK path variable used is "S32K144_SDK_GCC_0.8.6_PATH".
Figure 2: Project setting
You can see that the '_' is replaced with '.'. Could you tell me the rules of the substitution and why the rules do not work in Eclipse's headless mode.?
And thank you for your reminding me using the new SDK. Our new project is constructed in RTM version of SDK.
Sincere appreciation.
Cheney
Hi
could you possibly try to append environment variable to headless build by the Eclipse option below:
-Ea S32K144_SDK_GCC_0_8_6_PATH="C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K14x_EAR_0.8.6"
Note:
I noticed you are using pretty old EAR version of SDK.
There is a S32K SDK (production ready) release delivered since update 6: S3214x SDK RTM 2.0.0
I'd recommend you to install the latest update to benefit from RTM SDK verisons:
https://community.nxp.com/docs/DOC-342194
Hope it helps
Stan
Hi, Stan:
Thank you for you reply.
It works when i change your the eclipse option as below:
-Ea S32K144_SDK_GCC_0.8.6_PATH="C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K14x_EAR_0.8.6"
Now what's keeping me from getting confused is the PATH variable definition.
The SDK path variable what i can see in S32DS is "S32K144_SDK_GCC_0_8_6_PATH". See the picture below:
Figure 1: Linked Resources
But in the project setting, the SDK path variable used is "S32K144_SDK_GCC_0.8.6_PATH".
Figure 2: Project setting
You can see that the '_' is replaced with '.'. Could you tell me the rules of the substitution and why the rules do not work in Eclipse's headless mode.?
And thank you for your reminding me using the new SDK. Our new project is constructed in RTM version of SDK.
Sincere appreciation.
Cheney
Please kindly give me a answer about the PATH variable.
I've marked the question red.
cheney 撰写:
Hi, Stan:
Thank you for you reply.
It works when i change your the eclipse option as below:
-Ea S32K144_SDK_GCC_0.8.6_PATH="C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K14x_EAR_0.8.6"
Now what's keeping me from getting confused is the PATH variable definition.
The SDK path variable what i can see in S32DS is "S32K144_SDK_GCC_0_8_6_PATH". See the picture below:
Figure 1: Linked Resources
But in the project setting, the SDK path variable used is "S32K144_SDK_GCC_0.8.6_PATH".
Figure 2: Project setting
You can see that the '_' is replaced with '.'. Could you tell me the rules of the substitution and why the rules do not work in Eclipse's headless mode.?
And thank you for your reminding me using the new SDK. Our new project is constructed in RTM version of SDK.
Sincere appreciation.
Cheney