<?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>No space in execution regions errors when using u8g2 library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27960/no-space-in-execution-regions-errors-when-using-u8g2-library</link><description>Hi all. I&amp;#39;m trying to use the u8g2 library with ss1306 controlled OLED display. After I added the library to the project, Keill gave an error 
 
 Error: L6406E: No space in execution regions with .ANY selector matching u8g2_fonts.o(.constdata). 
Error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Dec 2017 08:02:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27960/no-space-in-execution-regions-errors-when-using-u8g2-library" /><item><title>RE: No space in execution regions errors when using u8g2 library</title><link>https://devzone.nordicsemi.com/thread/110335?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2017 08:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e51ec1e-4a4a-4bb1-abc8-8d104b26608a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please have a look at the &lt;a href="http://www.keil.com/support/man/docs/ARMLINK/armlink_pge1362065927214.htm"&gt;Keil ARM documentation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No space in execution regions errors when using u8g2 library</title><link>https://devzone.nordicsemi.com/thread/110334?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 13:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2b36bc2-d91d-4407-bf82-576a382c7124</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;I understood why I was hanging in the hardfault mem and fixed it was an incorrectly installed IRAM size that exceeded the real size that has nRF52. But Keil warmly outputs &amp;#39;No space&amp;#39; error at any optimization level. Here&amp;#39;s the link (&lt;a href="https://github.com/olikraus/u8g2)"&gt;github.com/.../u8g2)&lt;/a&gt; to the library I&amp;#39;m using. If I do not use fonts then the size is significantly reduced but still not enough to fit in 64KB(only reduced when using the optimization level 0 on the other levels nothing changes) . I need Keil not to add non-used variables to the assembly. The font file occupies 13MB and it stands out from the individual arrays of variables of type unt8_t and about one thousand in size and there are several tens of such arrays but in the current project only one such array of 837 elements is used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No space in execution regions errors when using u8g2 library</title><link>https://devzone.nordicsemi.com/thread/110336?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 12:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0f4a8fe-b05e-4d40-8307-28ed307a608a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You should check the library documentation or ask the developers how to include only specific fonts. Putting 4 MB into the RAM of the nRF52 will not work. It looks like you have a hardfault, does the code work if you do not include the fonts? Could you share your code/project for debugging?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>