Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

Because the example is built with file: “S32K14X_MCAL4_3_RTM_1_0_1\sample_app_mcal\eclipse\

plugins\PlatformIntegration_TS_T40D2M10I1R0\build\launch.bat”. So, we need to add the


corresponding folder which has been customed in the launch.bat
Because we use the external system (But not the S32DS IDE to build the example project) so we need to
add the define variable to make the S32DS can have the macro-define (which list in the build process)

Please follow the below step to add it.


Do the same with :

- S32K146
- MCAL_ENABLE_SUPERVISOR_MODE
- LINARO
- OSGCCARM
- DERIVATIVE_S32K146
- EU_DISABLE_ANSILIB_CALLS
- AUTOSAR_OS_NOT_USED
Then add include path(which list in the build process) to the project:

D:\mcal\NXP\AUTOSAR\S32K14X_MCAL4_3_RTM_1_0_1\sample_app_mcal\Tresos\Workspace\
WorkspaceS32K146\output\generated/include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Gpt_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Mcl_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Dem_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Det_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Mcu_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Port_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Rte_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Base_TS_T40D2M10I1R0/
include
D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Dio_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Adc_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Mcl_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Pwm_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/eclipse/plugins/Ocu_TS_T40D2M10I1R0/
include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/sample_app_mcal/eclipse/plugins/
PlatformIntegration_TS_T40D2M10I1R0/include/swc/Actuators

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/sample_app_mcal/eclipse/plugins/
PlatformIntegration_TS_T40D2M10I1R0/include/swc/Lighting

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/sample_app_mcal/eclipse/plugins/
PlatformIntegration_TS_T40D2M10I1R0/include/swc/Rte

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/sample_app_mcal/eclipse/plugins/
PlatformIntegration_TS_T40D2M10I1R0/include/swc/Sensors

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/sample_app_mcal/eclipse/plugins/
SysDal_TS_T40D2M10I1R0/include

D:/mcal/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_1/sample_app_mcal/eclipse/plugins/
IoDal_TS_T40D2M10I1R0/include

.././include/services/string

.././include/startup

.././include/startup/S32K144/

Add these above paths to the S32DS project by:


After do all the above step, we need to rebuild Index as below:
Then we can use "Open Declaration(F3)" function in S32DS IDE.

You might also like