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.

[参考译文] MSP430FR5972:关于MCU更改错误

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/583806/msp430fr5972-regarding-mcu-change-error

部件号:MSP430FR5972
主题中讨论的其他部件: MSP430FR5992

大家好,我有一个RTC项目与MSP430FR5992一起使用(也与此查询一起使用),但目前我正在使用MSP430FR5972。 据我所知 ,RTC的所有寄存器都相同,但当我尝试将MCU名称从FR5992更改为FR5972时,在编译过程中显示了一些错误,如:  

#20标识符"RTCIV__NONE"未定义rtc.c /rtc_test。

#20标识符"RTCIV__RT0PSIFG"未定义rtc.c /rtc_test

#20标识符"RTCIV__RT1PSIFG"未定义rtc.c /rtc_test

#20标识符"RTCIV__RTCAIFG"未定义rtc.c /rtc_test

#20标识符“RTCIV__RTCOFIFO”未定义rtc.c /rtc_test/

#20标识符"RTCIV__RTCRDYIFG"未定义rtc.c /rtc_test

#20标识符"RTCIV__RTCTEVIFG"未定义rtc.c /rtc_test

有人能帮我解决这个问题吗。

e2e.ti.com/.../RTC_5F00_test.rar

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

    msp430fr5972.h文件使用单下划线而不是双下划线,因此从每个标识符中删除一个下划线以解决此问题。

    此致,
    Ryan