We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The C51 (version 6.14) preprocessor is broken. The stringize operator doesn't evaluate previously defined macros before it turns the contents to a string. E.G.:
#define VERSION 1234 #define MK_STR(x) #x ... void print_version( void ) { printf( MK_STR( VERSION )); }