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.

MSP430 16.6.0 STS, 15.12.3 LTS - compiler does not recognize single character assignment in predefined symbols

Other Parts Discussed in Thread: MSP430F5242

When using the Predefined Symbols list to define a symbol and trying to equate to a character value (i.e. 'A'), the compiler does not recognize the value.  If the equate is hardcoded to the ASCII value - or any numeric value - instead (i.e. 0x41 for 'A'), compilation works as expected.  

Example:

HW_REV='A' versus HW_REV=0x41

Compiler command line:

"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted -Ooff --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --include_path=".." --advice:power_severity=suppress --advice:power="all" --advice:hw_config_severity=suppress --define=__MSP430F5242__ --define=HW_REV='A' --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --abi=eabi --printf_support=minimal --preproc_with_compile --preproc_dependency="common/tables.d" --obj_directory="common"  "../common/tables.c"

(CCS Version: 6.1.3.00033)