S32K144 EB 和 MCAL 安装

首先安装 EB

Design : Product Information : Automotive SW - AUTOSAR MCAL / QM (flexnetoperations.com)

参考 NXP_AUTOSAR_MCAL开发环境搭建引导_S32K14x系列_nxp的s32k144 sdk文档-CSDN博客

然后安装 MCAL

  需要把 P1 的 Plugins 和 AUTOSAR\S32K14X_MCAL4_3_RTM_1_0_0\S32K14X_MCAL4_3_RTM_1_0_0_Sample_Application\eclipse\plugins 放到 AUTOSAR\S32K14X_MCAL4_3_RTM_1_0_0\eclipse\plugins 下面,并复制所以的 Plugins 到 C:\EB\tresos\plugins 下面,然后重启 EB。

修改 launch.bat

::====================================================================================================
::
::    @file                launch.bat
::    @version             1.0.0
::
::    @brief               Integration Framework - internal build launcher.
::    @details             Launches the build of the sample application
::
::    Platform      :      ARM
::    Build Version :      S32K14x_MCAL_1_0_0_RTM_ASR_REL_4_3_REV_0001_20180615
::
::   (c) Copyright 2006-2016 Freescale Semiconductor, Inc. 
::       Copyright 2017 - 2018 NXP
::       All Rights Reserved.
::
::    This file contains sample code only. It is not part of the production code deliverables.
::
::====================================================================================================
::

@echo off

::You have to uncomment and set the following variables if they are not already set
:: uncomment line below if you do not set TRESOS_DIR over environment
::TRESOS
SET TRESOS_DIR=C:/EB/tresos
::MAKE
SET MAKE_DIR=C:/NXP/S32DS.3.5/S32DS/build_tools/msys32/usr
::GHS
::SET GHS_DIR=C:/tools/ghs/ARM_MULTI_7.1.4COMPILER_2017.1.4
::GCC
SET LINARO_DIR=C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_b1620/gcc-6.3-arm32-eabi
::IAR
SET IAR_DIR=C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.5/arm
::Path to the plugins folder
SET PLUGINS_DIR=C:/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_0/eclipse/plugins
::SSC             
::SET SSC_ROOT=C:/NXP/AUTOSAR/S32K_AUTOSAR_OS_4_0_93_BETA_0_9_0

::SSC             
SET TRESOS_WORKSPACE_DIR=C:/EB/tresos/workspace/lighting_S32K144_4.3_RTM1.0.0/output
::SET TRESOS_WORKSPACE_DIR=C:/tools/Tresos_24_0_1/workspace/lighting_S32K118_4.3_RTM1.0.0/output

::ANFC
SET ANFC_LIB_DIR=C:/Users/nxf35061/Desktop/118/lighting_S32K118_4.2_RTM1.0.1/output
::ANFC configuration directory, in case it's in a different directory
SET ANFC_CONFIG_DIR=

if not defined TRESOS_DIR GOTO missing_path_names_TRESOS_DIR
if not exist %TRESOS_DIR% GOTO missing_path_names_TRESOS_DIR

cmd /c "make.bat %1 %2 %3 %4 %5 %6"

GOTO end

:: The variable TRESOS_DIR was not specified
:missing_path_names_TRESOS_DIR
ECHO.
ECHO    The variable TRESOS_DIR was not set correctly.
ECHO    Please specify this variable manually, by editing
ECHO    the batch file 'launch.bat'.
ECHO.
pause
GOTO end

:end
::====================================================================================================
::
::    @file                launch.bat
::    @version             1.0.0
::
::    @brief               Integration Framework - internal build launcher.
::    @details             Launches the build of the sample application
::
::    Platform      :      ARM
::    Build Version :      S32K14x_MCAL_1_0_0_RTM_ASR_REL_4_3_REV_0001_20180615
::
::   (c) Copyright 2006-2016 Freescale Semiconductor, Inc. 
::       Copyright 2017 - 2018 NXP
::       All Rights Reserved.
::
::    This file contains sample code only. It is not part of the production code deliverables.
::
::====================================================================================================
::

@echo off

::You have to uncomment and set the following variables if they are not already set
:: uncomment line below if you do not set TRESOS_DIR over environment
::TRESOS
SET TRESOS_DIR=C:/EB/tresos
::MAKE
::SET MAKE_DIR=C:/NXP/S32DS.3.5/S32DS/build_tools/msys32/usr
SET MAKE_DIR=E:/Project/mingw64
::GHS
::SET GHS_DIR=C:/tools/ghs/ARM_MULTI_7.1.4COMPILER_2017.1.4
::GCC
::SET LINARO_DIR=C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_b1620/gcc-6.3-arm32-eabi
SET LINARO_DIR=C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10
::IAR
SET IAR_DIR=C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.5/arm
::Path to the plugins folder
SET PLUGINS_DIR=C:/NXP/AUTOSAR/S32K14X_MCAL4_3_RTM_1_0_0/eclipse/plugins
::SSC             
::SET SSC_ROOT=C:/NXP/AUTOSAR/S32K_AUTOSAR_OS_4_0_93_BETA_0_9_0

::SSC             
SET TRESOS_WORKSPACE_DIR=C:/EB/tresos/workspace/lighting_S32K144_4.3_RTM1.0.0/output
::SET TRESOS_WORKSPACE_DIR=C:/tools/Tresos_24_0_1/workspace/lighting_S32K118_4.3_RTM1.0.0/output

::ANFC
SET ANFC_LIB_DIR=C:/Users/nxf35061/Desktop/118/lighting_S32K118_4.2_RTM1.0.1/output
::ANFC configuration directory, in case it's in a different directory
SET ANFC_CONFIG_DIR=

if not defined TRESOS_DIR GOTO missing_path_names_TRESOS_DIR
if not exist %TRESOS_DIR% GOTO missing_path_names_TRESOS_DIR

cmd /c "make.bat %1 %2 %3 %4 %5 %6"

GOTO end

:: The variable TRESOS_DIR was not specified
:missing_path_names_TRESOS_DIR
ECHO.
ECHO    The variable TRESOS_DIR was not set correctly.
ECHO    Please specify this variable manually, by editing
ECHO    the batch file 'launch.bat'.
ECHO.
pause
GOTO end

:end

在 C:\NXP\AUTOSAR\S32K14X_MCAL4_3_RTM_1_0_0\S32K14X_MCAL4_3_RTM_1_0_0_Sample_Application\eclipse\plugins\IntegrationFramework_TS_T40D2M10I0R0\auxiliary\build 运行 cmd 脚本

.\launch.bat MODE=USER TOOLCHAIN=gcc

  • 5
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值