Other Parts Discussed in Thread: HALCOGEN
Hello,
The Problems tab in CCSv5 shows any warnings and errors by number. Is there a list of these numbers, ideally with more info on what caused the message to be displayed?
Thanks, Charlie Johnston
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.
Other Parts Discussed in Thread: HALCOGEN
Hello,
The Problems tab in CCSv5 shows any warnings and errors by number. Is there a list of these numbers, ideally with more info on what caused the message to be displayed?
Thanks, Charlie Johnston
The only list we publish of compiler error/warning numbers is here, but it may not be the most up-to-date:
http://processors.wiki.ti.com/index.php/Compiler_Errors_Warnings
Hi Charles!
(Intuitively) I suspect that macro PINMUX_SET is defined in some header file which you didn't include to project. Or try to include this header file into pinmux.c file explicitly.
Regards,
Igor
Hi Igor,
This particular warning is a HALCoGen bug that was exposed by upgrading the ARM compiler from v4.9.5 to v5.1.1. The file pinmux.c has the macro PINMUX_SET defined incorrectly.
#define PINMUX_SET(REG, BALLID, MUX) \
pinMuxReg->PINMMR##REG## = (pinMuxReg->PINMMR##REG## & PINMUX_BALL_##BALLID##_MASK) | (PINMUX_BALL_##BALLID##_##MUX)
Changing REG## to REG in two places got rid of the error and generated the same code.
This should probably be passed along to the HALCoGen team.
Thanks, Charlie Johnston