Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Tool/software:
We are still looking at how to build the TI project through the command line using bx-docker and ran into the following issue, It builds in windows using the following command iarbuild c:\projectReset\Project-Reset-4000-Series.ewp -build Debug -parallel 4 -varfile c:\projectReset\Project-Reset-4000-Series.custom_argvars.
This is the output I get running the following command in bx-docker
docker run --rm -v LMS2:/usr/local/etc/IARSystems -v $PWD:/build iarsystems/bxarm:9.50.2 /opt/iarsystems/bxarm/common/bin/iarbuild Project-Reset-4000-Series.ewp -build Debug -parallel 4 -varfile Project-Reset-4000-Series.custom_argvars
IAR Command Line Build Utility V9.3.2.390
Copyright 2002-2023 IAR Systems AB.
Project-Reset-4000-Series - Debug
Reading project nodes...
Variable expansion failed.
Offending text: "$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include/"
Partial command line: ""$TOOLKIT_DIR$/bin/iccarm" "/build/EEPROM_EMULATION/eeprom_emulation_type_a.c" "-D" "__MSPM0L1305__" "-D" "BUILD_NUM_MSB=0" "-D" "MAJOR_SW_REV_LEVEL=0" "-D" "BUILD_NUM_LSB=1" "-o" "/build/Debug/Obj/$ROOT_REL_PATH$" "--no_unroll" "--no_inline" "--no_tbaa" "--no_scheduling" "--debug" "--endian=little" "--cpu=Cortex-M0+" "--debug" "--silent" "-e" "--aeabi" "--thumb" "--diag_suppress=Pa050" "-e" "--fpu=None" "--dlib_config" "$TOOLKIT_DIR$/inc/c/DLib_Config_Normal.h" "-I" "$PROJ_DIR$/" "-I" "$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include/" "-I" "$MSPM0_SDK_INSTALL_DIR$/source/" "-I" "$MSPM0_SDK_INSTALL_DIR$/source/ti/driverlib/" "-I" "$PROJ_DIR$/Core/Src/" "-I" "$PROJ_DIR$/Core/Inc/" "-I" "$PROJ_DIR$/EEPROM_EMULATION/" "-Om" "--vla" "
Failed to generate node description for C/C++ Compiler tool and file(s): eeprom_emulation_type_a.o
Failed to generate build node descriptions
Reading project nodes failed.
We have the following setup in the following file /ti/mspm0_sdk_2_01_00_03/tools/iar# nano MSPM0_SDK.custom_argvars
<?xml version="1.0" encoding="iso-8859-1"?> <iarUserArgVars> <group active="true" name="MSPM0_SDK"> <variable> <name>SYSCONFIG_ROOT</name> <value>build/ti/sysconfig_1.20.0</value> </variable> <variable> <name>MSPM0_SDK_INSTALL_DIR</name> <value>build/ti/mspm0_sdk_2_01_00_03</value> </variable> <variable> <name>MSP_SDK_INSTALL_DIR</name> <value>build/ti/mspm0_sdk_2_01_00_03</value> </variable> <variable> <name>EXAMPLE_ROOT</name> <value>build/ti/mspm0_sdk_2_01_00_03/tools/iar</value> </variable> </group> </iarUserArgVars>