This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSPM0L1305:在 Linux Ubuntu 和 IAR 构建工具中使用 BX-Docker 构建 MSPM0工程

Guru**** 2587365 points
Other Parts Discussed in Thread: MSPM0L1305, SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1409447/mspm0l1305-build-an-mspm0-project-using-bx-docker-in-linux-ubuntu-and-iar-build-tools

器件型号:MSPM0L1305
主题中讨论的其他器件: SysConfig

工具与软件:

我们还在研究如何使用 BX-Docker 通过命令行构建 TI 工程、并运行以下问题。它使用以下命令 iarbuild c:\projectReset\Project-Reset-4000-Series.ewp -build Debug -parallel 4 -varfile c:\projectReset\Project-Reset-4000-Series.custom_argvars 在窗口中构建。

 

这是我在 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 命令行构建实用程序 v9.3.2.390

    版权所有2002-2023 IAR Systems AB。

 

 

Project-Reset-4000-Series - Debug

正在读取项目节点...

 

变量扩展失败。

 违规文本:"$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include

 部分命令行:"$TOOLKIT_DIR$DIR$TOOLK"""-D""__MSPM0L1305__""-D""Build""Build_NUM_MSB=0""-D""-D""Major_SW_REV_LEVEL=0""-D""Build_NUM_LSB=1" Lib_Config_Normal "-o"/build/Debug/Obj "$ROOT_REL_SDKB_MO""-NO_DEBUG_DI_MO"-"-"-"-INTAB_DIAG_DEBUG_DI_MO"/source/third_party/CMSIS/Core/Include "-"-"-"-NO_DEBUG_DI_MO"-"-"-"-"-"-"-"D-MO"/bin/iccarm /inc/c/DNO_DIAG_DEBUG_DIAG_DIAG_DIAG_DIAG_MO"-"-"-"-"-"-"-"-"-"-"-"-"-"-"-"-"$"/build/EEPROM_EMULATION/eeprom_emulation_type_a.c /source/ti/driverlib /Core/Src /Core/Inc

未能为 C/C++编译器工具和文件生成节点说明:eeprom_emulation_type_a.o

无法生成构建节点说明

读取项目节点失败。

 

 

在以下文件/ti/mspm0_sdk_2_01_00_03/tools/iar 中进行了以下设置:nano MSPM0_SDK.custom_argvars

 

 

 

 

 

 

   

     SYSCONFIG_ROOT

     build/ti/sysconfig_1.20.0

   

   

     MSPM0_SDK_INSTALL_DIR

     BUILD/ti/mspm0_sdk_2_01_00_03

   

   

     MSP_SDK_INSTALL_DIR

     BUILD/ti/mspm0_sdk_2_01_00_03

   

   

     示例_root

     build/ti/mspm0_sdk_2_01_00_03/tools/iar

   

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Richard:

    遗憾的是、 对于 希望在虚拟机中使用 IAR、然后在 Docker 中使用 IAR 以及 IAR 构建工具的客户、我们不提供支持、因为我们不支持其中任何一种。  我们通过 Windows 支持 IAR。

    请参阅 之前的帖子。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Denis、您好、您可以提供一种在 Linux 主机上构建此项目的方法吗、只需通过命令行以及 SysConfig 和 SDK 的设置方式即可。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Richard:

    我来咨询一下我们的软件工具团队。