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.

[参考译文] LP-MSPM0L2228:LP-MSPM0L2228:IAR 到 CCS 迁移

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1399631/lp-mspm0l2228-lp-mspm0l2228-iar-to-ccs-migration

器件型号:LP-MSPM0L2228

工具与软件:

我正在将一个项目从 IAR 迁移到 CCS。 原始项目不使用很多 IAR 功能、但包含了一些、下表中已替换。

在将 IAR 工程迁移到 CCS 以及 通过将 IAR 函数更改为 mspm0 SDK 中定义的函数(后两个)时、我应该注意哪些事项?这会以任何方式影响工程吗?

IAR CCS
____ disable_interrupt __DISABLE_IRQ
__enable_interrupt __ENABLE_IRQ

此处定义了上述两个函数:

C:\ti\mspm0_sdk_2_01_00_03\source\third_party\CMSIS\Core\include\CMSIS_iccarm.h (575、27) [UTF-8:  #define __ENABLE_IRQ _ENABLE_INTERRUPT   

C:\ti\mspm0_sdk_2_01_00_03\source\third_party\CMSIS\Core\include\CMSIS_iccarm.h (576、27) [UTF-8:  #define _disable_IRQ _disable_interrupt   

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

    嗨、 

    只需将您的软件直接迁移到 CCS。

    从 MSPM0 SDK 角度来看、IAR 和 CCS 之间没有区别。 两者都将 DriverLib 用作硬件抽象层。

    此致、

    Helic