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.

TMS320F2800157: Why const uint8_t and const uint16_t variable taking same space in the FLSAH of C2000

Part Number: TMS320F2800157


Dear All,

I am trying to do a project on TMS320F2800157. I created 2 variables 1 is uint8_t and another is uint16_t.

 

const uint8_t TestBufU8[256] = {0};
const uint16_t TestBufU16[256] = {0};

In MAP file is shows that both variable have same amount on memory allocated. 

Please suggest how to handle this to reduce the code size.

Regards,
Aman.