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.

TM4C1294NCPDT: TM4C1294NCPDT enet_io example const decleration not working

Part Number: TM4C1294NCPDT


I am developing a project where base code derrived from enet_io example.  In that one of the file I have added a constant declaration as follows

const uint32_t testt = 2345;
const uint8_t name[] = {"my name\0"};

After build the code was not working.  So I traced the issue to the map file where these constants are not added to the memory.  

so for isolating the issue I freshly imported the enet_io code and added the same  constants.  Still the constants are not added to .const section of map file.

Could you help me what is the issue

Regards

Ramesh