How to Solve Compile Error MCAL in the S32K144EVB with EB tresos

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

How to Solve Compile Error MCAL in the S32K144EVB with EB tresos

1,169 Views
Swaroop_joshi
Contributor I

hello,  

I am trying to build S32K14X MCAL Sample Application as per the attached PDF file.

I do the project of the MCAL Calibration project of the S32K14X_MCAL4_2_RTM_1_0_0.exe or the product of the NXP.

we are modifying the launch.bat like to take all path and IAR system for compiling to them. 

Swaroop_joshi_1-1676012179296.png

 

#IAR system error

Swaroop_joshi_0-1676011879629.png

@launch.bat

@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/tresos_23_0_0
::MAKE
SET MAKE_DIR=C:/NXP/S32DS_ARM_v2018.R1/utils/msys32/usr
::GHS
SET GHS_DIR=C:/ghs/arm/comp_201714
::IAR
::SET IAR_DIR=C:/Tools/IAR/EmbeddedWorkbench75/arm
SET IAR_DIR=C:/IARSystems/EmbeddedWorkbench91/arm

::GCC
::SET GCC_DIR=C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10
::SET LINARO_DIR=C:/Tools/Linaro/4_9_3_20150529/Linaro_Toolchain_arm-eabi
SET LINARO_DIR=C:/GNUToolsARMEmbedded/62017-q2-update

SET PLUGINS_DIR=C:/NXP/AUTOSAR/S32K14X_MCAL4_2_RTM_1_0_0/eclipse/plugins
::SSC
::SET SSC_ROOT=

 

but after the compiling the 

C:\NXP\AUTOSAR\S32K14X_MCAL4_2_RTM_1_0_0\S32K14X_MCAL4_2_RTM_1_0_0_Sample_Application>launch MODE=USER TOOLCHAIN=iar

we get the Licenser error IAR systems -


IAR ANSI C/C++ Compiler V9.32.1.338/W64 for ARM
Copyright 1999-2022 IAR Systems AB.
Fatal error[LMS001]: License check failed. Use the IAR License Manager to
resolve the problem.
No license found. [LicenseCheck:2.18.3.62,
RMS:9.7.0.0036, Feature:ARM.EW.COMPILER, Version:1.22]
Fatal error detected, aborting.
make: *** [makefile:233: Adc.o] Error 2

so how to solve the issue please guide earlier 

 

0 Kudos
1 Reply

1,147 Views
nxf78987
NXP Employee
NXP Employee

Hi Swaroop_joshi,

Please add IAR license and re-build your code.

You can get this license via the iar.com website.

Best regards,

Dan

0 Kudos