Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: List of error/warning numbers generated by CCS

$
0
0

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


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>