Hello TI insiders,
I would like to report a potential issue that may cause a lot of confusion to some people (and it took me a bit of time scratching my head).
I got the following error while building the project 430BOOST-SHARP96_GrlibExample_FR5969 (from here).
"C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/_lock.h", line 48: error #56-D: too many arguments in invocation of macro "_nop"
I find that the error was fixed if I just added #ifndef block to code in _lock.h as...
#ifndef _nop _CODE_ACCESS void _nop(void); #endif
(Normally changing any code that came with the compiler is a no-no for me too. In this case, I do not have much of a choice.)
The intrinsics.h (the other file involved in this conflict) was also in the ti-cgt-msp430_4.4.0/include folder. I am pretty sure I have the latest version of everything.
If there is a better way to resolve this, please post your solution. I am sure someone will need this as well.
Thanks!
NOTE: SLAC645 link updated by MikeS to latest on 20-Jul-2015
For future reference, this is the content of main.pp (preprocessor output).
main.obj: ../main.c main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h main.obj: C:/ti/ccsv6/ccs_base/msp430/include/msp430.h main.obj: C:/ti/ccsv6/ccs_base/msp430/include/msp430fr5969.h main.obj: C:/ti/ccsv6/ccs_base/msp430/include/in430.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/intrinsics.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/intrinsics_legacy_undefs.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/grlib/grlib.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/assert.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/linkage.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/LcdDriver/Sharp96x96.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/LcdDriver/HAL_MSP-EXP430FR5969_Sharp96x96.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/images/images.h main.obj: ../driverlibHeaders.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/cs.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/inc/hw_regaccess.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/stdint.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/stdbool.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/yvals.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/stdarg.h main.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.0/include/_lock.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/timer_a.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/gpio.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/wdt_a.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/eusci_b_spi.h main.obj: F:/~Workspaces/CCSv6/MSP430FR59/Play-0000/430BOOST-SHARP96_GrlibExample_FR5969/driverlib/MSP430FR5xx_6xx/pmm.h