请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP430F247 主题中讨论的其他器件: MSP430-IEC60730-SW-PACK、MSP430G2553
你(们)好!
我们已开始尝试将 IEC 60730软件包移植到 MSP430F247上。 我们遇到的一个问题 是 MSP-GCC 9.3.0.31 (Mitto 系统)编译器的兼容性。
更具体地说 IEC60730_PC_TEST_testPcRegister 和 IEC60730_March_test_testRam 测试需要更新链接器脚本、使其具有非连续的.text 段和固定的栈大小。
据我们所见、 MSP-GCC 9.3.0.31 (Mitto 系统)编译器不支持 IEC 60730软件包示例中所示的实现。
For example, in the linker script we have:
.text: {
// .text definition
} >> ROM | ROM_A
And get the following result
c:/ti/ccs1230/ccs/tools/compiler/msp430-gcc-9.3.0.31_win64/bin/../lib/gcc/msp430-elf/9.3.0/../../../../msp430-elf/bin/ld.exe:../msp430f247.ld:186: syntax error
Is the IEC 60730 Software Package intended to be used with the MSP-GCC compiler?
Kind Regards,
Jason