Hello, I want to write a text e.g. the Version Number to a Specific memory Location in the Code area. EG the _at_ command by variables. The text should be seen in the hex file in ascii format (for version control). is this possible ??. Greetings Markus
You can use the #pragma USERCLASS to put an initialized string at a specific address:
#pragma USERCLASS (CONST=VERSION) code const char* gVersion="#ver 00#";
CONST (C:0x0000-C:0x00FF, C:0x0200-C:0xFF7F), CONST_VERSION (C:0x0100-C:0x01FF),