[<<][c][>>][..]
Thu Aug 19 22:43:47 CEST 2010

Constant data in Flash

How do you make sure constant data goes into Flash memory?  Is it
possible to generate constant data structures with cross references?

From [1]:

const volatile int *data __attribute__((section("FLASH")) = /* whatever */;



[1] http://stackoverflow.com/questions/1284619/gcc-c-arm-and-const-pointer-to-struct-field
[2] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0474a/BABHIIEF.html


[Reply][About]
[<<][c][>>][..]