<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Constant array in program memory</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11370/constant-array-in-program-memory</link><description>I need to define a few constant arrays for IR implementation. Currently, I define them as
static uint16_t but it takes up a lot of SRAM space. How do I move them to program space (flash)?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2016 06:43:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11370/constant-array-in-program-memory" /><item><title>RE: Constant array in program memory</title><link>https://devzone.nordicsemi.com/thread/42839?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2016 06:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:725db427-1a64-4226-980e-1db0ad004687</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;define them as&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static const uint16_t xxx[] = { .. };
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>