Hello
Is the message popping up on the line
#pragma CONST_SEG DTC_SECTION
If this is the case can you search for all occurrence of DTC_SECTION in your project?
Are you using that section in another pragma?
How does it look like?
CrasyCat
Yeah, the message is popping on the line with #pragma CONST_SEG DTC_SECTION.
These are the occurrence of DTC_SECTION:
BLD_CRC16_CCITT_Table F5BCE7 200 512 10 DTC_SECTION
DTC_SECTION 512 R 0xF5BCE7 0xF5BEE6 PAGE_F5
Yeah, someone is using that in another pragma.
#pragma CONST_SEG __GPAGE_SEG DTC_SECTION
const DTC_attributes stDTCattributes[MAX_DTCS] = { { 0xE100u, 0x00, 127, 255, 100, PROTECTED | CLEAR_IMME | WARN_IND | TPMS_DTC }, /* DTC_E10000 *//* FAULT_ECU_NOT_CONFIGURED */ { 0x9182u, 0x55, 127, 255, 100, PROTECTED | CLEAR_IMME | WARN_IND | TPMS_DTC }, /* DTC_918255 *//* FAULT_ECU_IN_MANUFACTURE_MODE */ { 0xE200u, 0x55, 64, 255, 100, PROTECTED | CLEAR_IMME } };
#pragma CONST_SEG DEFAULT
Hello
So to get rid of the warning use a consistent notation to define DTC_SECTION.
Either define it a __GPAGE_SEG or without __GPAGE_SEG.
Or use another section name.
CrasyCat
Thank you so much CrasyCat...
The warning is already gone.
I'm just so dumb not to notice that "__GPAGE_SEG"..hehehe....
Good day...