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.

Compiler/MSP430FR5969: TI Compiler v18 and v19 not working with MSP430FR5969 - Redefinition of #__disable_interrupts()

Part Number: MSP430FR5969


Tool/software: TI C/C++ Compiler

Currently getting compiler error after TI Compiler Update from version v15.12.7 to v18.12.4.

: #48 incompatible redefinition of macro "_disable_interrupts" (declared at line 129 of "C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_19.6.0.STS/include/intrinsics.h")

For some reason, I don't get this error with v16.9.11. I do get this error with v18 and v19 compilers.

It looks like msp430fr5969.h is defining __disable_interrupts in intrinsics.h header file and also v18.12.4 is including in _atomic.h file

Looks like incompatibility with older MSP430 chips and newer compilers. Someone please advise

**Attention** This is a public forum