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.

MSP430F247: Porting the IEC 60730 Software Package using MSP-GCC 9.3.1.2

Part Number: MSP430F247
Other Parts Discussed in Thread: MSP430-IEC60730-SW-PACKAGE, MSP430G2553

Hi there, 

Following on from this thread: https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1217096/msp430f247-compatibility-with-iec-60730-software-package

We've begun attempting to port the IEC 60730 Software Package onto the MSP430F247. One issue we've come across is the compatibility of the MSP-GCC 9.3.0.31 (Mitto systems) compiler. 

More specifically, the IEC60730_PC_TEST_testPcRegister and IEC60730_MARCH_TEST_testRam tests need the linker script to be updated to have a non-contiguous .text section and a fixed stack size. 

As far as we can see, the MSP-GCC 9.3.0.31 (Mitto systems) compiler doesn't support the implementations as demonstrated in the IEC 60730 Software Package examples. 

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

**Attention** This is a public forum