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.

[参考译文] CCS/MSP432WARE:定义调试时、驱动程序库 dma.c 不会编译

Guru**** 2513185 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/810496/ccs-msp432ware-driver-library-dma-c-does-not-compile-when-debug-is-defined

器件型号:MSP432WARE

工具/软件:Code Composer Studio

在设置调试的项目中(例如通过预定义符号)、dma.c 中有几个断言语句会失败、因为它们会查找 DMA 指针。 相反、看起来这些应该针对 DMA_Control (对于 MSP432)进行测试。

MSP432的修复非常简单(只需在 Assert 语句中将 DMA 更改为 DMA_Control)、但可能需要更多思考才能确保它也能与 MSP430完美配合使用。

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

    感谢您的反馈。  如果您要使用 MSP432、我建议您转换到 SDK

    此致、

    Chris