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.

[参考译文] MSP432E411Y:在 SysConfig 中启用计时器会导致许多 IRQn 定义出现构建错误

Guru**** 2583735 points
Other Parts Discussed in Thread: SYSCONFIG, MSP432E411Y, MSP432E401Y

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1059775/msp432e411y-enabling-a-timer-in-sysconfig-causes-build-errors-for-many-irqn-definitions

器件型号:MSP432E411Y
Thread 中讨论的其他部件:SysConfigMSP432E401Y

我认为 这是在 SDK 4.20.00.12中使用 SysConfig 为 MSP432E411Y *_IRQn (例如 I2C0_IRQn、GPIOA_IRQn 等)配置计时器时出现的错误  、因为错误指向 msp432e401y.h 在 ti/devices/msp432e4/inc 文件头文件中"已在当前范围内声明"的项目。 在添加具有默认值的单个计时器配置时会出现这种情况。

如果手动将相应的配置代码添加到项目中、则通过 TI-Driver 库使用计时器似乎仍然有效。