Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/TM4C1294NCPDT: save the const in Flash in CCS IDE

$
0
0

Part Number: TM4C1294NCPDT

Tool/software: TI C/C++ Compiler

Hi e2e,

Here is a question about const data saving in Flash in CCS.

The MCU is TM4C1294, we want to put the const data in Flash to save the RAM usage, in below code, how we can approach this. 

#define _CODE __attribute__ ((section ("._OEM_BU1_RODATA ")))

and in cmd file, how we create the section  ._OEM_BU1_RODATA? can you help to correct above?

thanks in advance.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>