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-MSPM0G3507:将 DriverLib 源代码添加到现有项目

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1335503/lp-mspm0g3507-adding-driverlib-source-to-existing-projects

器件型号:LP-MSPM0G3507

如 https://software-dl.ti.com/msp430/esd/MSPM0-SDK/1_20_00_05/docs/english/driverlib/mspm0g1x0x_g3x0x_api_guide/html/index.html 中提到的那样 、我将尝试把 DRIVERLIB 源代码添加到现有项目中、以便更好地理解代码、并在需要时进行更改。 在第一步中提到删除 driverlib.a。  

当我在 CCS 中打开属性时、就会得到这样的结果。

我不明白应该删除哪个文件。 它是否应该是 libc.a?

和是否有寄存器级编程的任何示例? 我希望尽可能了解幕后发生的事情。

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

    您好!

    我看到您的项目是从 SDK 导入的。 Driverlib 源代码已存在于项目中。 请在构建后进行检查。 driverlib 是在寄存器级编程。

    佐伊

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

    是、但它是一个不可编辑的预编译源文件。 我想添加可以编辑的文件。

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

    您好  

    那是旧版本。 请访问这些 stepe2e.ti.com/.../How-to-add-drivelib-into-existing-project.pdf