<?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>Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30364/segger-embedded-studio-code-size-limit</link><description>I recently downloaded Segger&amp;#39;s Embedded Studio to compare its performance and ease of use with IAR Embedded Workbench. We have a kickstarter version of IAR for ARM which has a 32K code size limit. Segger&amp;#39;s site mentioned that the free evaluation license</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Feb 2018 18:14:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30364/segger-embedded-studio-code-size-limit" /><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120750?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 18:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ce4db6-cf59-494c-816e-10e8f989b5a7</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;Thanks to those who suggested looking at the build configurations. &amp;nbsp;Once I switched to use Internal instead of &amp;quot;internal and external&amp;quot;, the code size issue seems to have&amp;nbsp;vanished. &amp;nbsp;Another issue has come up regarding link errors in the same project, but I&amp;#39;ll close this and post that question in a new thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120719?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 14:10:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f56a83e-e04c-4d43-baa8-2e808507165e</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;I uploaded the project to the file sharing site Mega.nz and opened a private ticket. &amp;nbsp;Thanks much for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120712?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 13:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b794ebc0-3ae9-4f39-b28b-b6ab4690ff60</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;I would like to have a look at your SES project in order to reproduce and possibly figure out what the issue is.&lt;/p&gt;
&lt;p&gt;If you want to keep it confidential then you can create a private ticket in order to send it there instead. If so, please reference this thread in that ticket.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120635?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 22:03:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:703e24e8-393a-436d-8ddb-bd69d1aa8c20</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;I did import the project again and, as you suggested, made sure that only the Internal choice was selected and not the external one. &amp;nbsp;When I first imported the project a few days ago, I may have had &amp;quot;both&amp;quot; chosen. &amp;nbsp;Either way, thanks much for the help. &amp;nbsp;I am not quite building yet, but trying to resolve a couple undefined references that I hope to solve tomorrow. &amp;nbsp;At least there is no IAR reference...so far on my build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120632?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 21:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aac8f3a-2de4-4cb7-b160-4ee9d548faaf</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;and running one myself I see SES creates configurations for both by default. So just select the &amp;#39;internal&amp;#39; one instead of the &amp;#39;external&amp;#39; one from the dropdown at the top left corner of your screen, or don&amp;#39;t make an external one at all as it doesn&amp;#39;t work.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120631?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 21:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c363771e-28d2-42df-9174-726e1cad8225</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Not quite as &amp;nbsp;much &amp;nbsp;info in that &amp;nbsp;build transcript as I&amp;#39;d hoped but the fact it has &amp;#39;iar&amp;#39; startup in it and all the error message are IAR error messages says to me you&amp;#39;re basically just running an external make and still using .. IAR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you read my message from a few days ago I asked &amp;quot;did you import &amp;nbsp;the project as some kind of external make project?&amp;quot; and it seems you did. So go re-import it again and don&amp;#39;t pick external anything, choose one of the SES nordic native project templates.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120630?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 21:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ab107c3-3165-43ca-9bc8-0cbd7d9ce7f1</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;I did see when checking Build -&amp;gt; Build Configurations that the first Private Configuration listed is &amp;quot;External IAR&amp;quot;? &amp;nbsp;Could this have something to do with my problem? &amp;nbsp;If so, what setting would I change to fix? &amp;nbsp;Thanks, Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120629?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 21:15:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09a28738-93b5-42bd-8376-7ced68782f8d</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;Did a clean and then rebuilt the project - here is the output:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Building ‘hm_chair’ from solution ‘hm_chair’ in configuration ‘nrf52832_xxaa External’&lt;br /&gt; Compiling ‘app_accel.c’&lt;br /&gt; Warning[Pe177]: variable &amp;quot;m_twi&amp;quot; was declared but never referenced&lt;br /&gt; Warning[Pe177]: variable &amp;quot;MagState&amp;quot; was declared but never referenced&lt;br /&gt; Warning[Pe177]: function &amp;quot;TwiHandler&amp;quot; was declared but never referenced&lt;br /&gt; Warning[Pe177]: function &amp;quot;TwiInit&amp;quot; was declared but never referenced&lt;br /&gt; Compiling ‘chair_state.c’&lt;br /&gt; Compiling ‘system_timer.c’&lt;br /&gt; Compiling ‘main.c’&lt;br /&gt; Warning[Pe177]: variable &amp;quot;loopCount&amp;quot; was declared but never referenced&lt;br /&gt; Compiling ‘ctl_accel.c’&lt;br /&gt; Warning[Pe550]: variable &amp;quot;iBfz&amp;quot; was set but never used&lt;br /&gt; Compiling ‘ctl_adc.c’&lt;br /&gt; Compiling ‘ctl_ANT.c’&lt;br /&gt; Compiling ‘ctl_flash.c’&lt;br /&gt; Assembling ‘iar_startup_nrf52.s’&lt;br /&gt; Compiling ‘system_nrf52.c’&lt;br /&gt; Compiling ‘ant_channel_config.c’&lt;br /&gt; Compiling ‘hmi_i2c.c’&lt;br /&gt; Compiling ‘nrf_drv_common.c’&lt;br /&gt; Compiling ‘nrf_drv_gpiote.c’&lt;br /&gt; Compiling ‘nrf_drv_saadc.c’&lt;br /&gt; Compiling ‘nrf_drv_timer.c’&lt;br /&gt; Compiling ‘nrf_drv_twi.c’&lt;br /&gt; Compiling ‘nrf_drv_uart.c’&lt;br /&gt; Compiling ‘nrf_saadc.c’&lt;br /&gt; Compiling ‘app_error_weak.c’&lt;br /&gt; Compiling ‘app_error.c’&lt;br /&gt; Compiling ‘app_fifo.c’&lt;br /&gt; Compiling ‘app_timer.c’&lt;br /&gt; Compiling ‘app_uart_fifo.c’&lt;br /&gt; Compiling ‘app_util_platform.c’&lt;br /&gt; Compiling ‘nrf_assert.c’&lt;br /&gt; Compiling ‘nrf_memobj.c’&lt;br /&gt; Compiling ‘nrf_balloc.c’&lt;br /&gt; Compiling ‘nrf_section_iter.c’&lt;br /&gt; Compiling ‘nrf_strerror.c’&lt;br /&gt; Compiling ‘retarget.c’&lt;br /&gt; Compiling ‘nrf_sdh.c’&lt;br /&gt; Compiling ‘nrf_sdh_ant.c’&lt;br /&gt; Linking ‘hm_chair.out’&lt;br /&gt; Error[Li016]: size limit exceeded. The application needs 0x864c (34 380) bytes, which is greater than the limit of 0x8000 (32 768) bytes.&lt;br /&gt;Build failed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120627?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 20:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eba428f-3c86-4290-b756-46b0e7c4ca1d</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;how about clean it - build it - paste the actual transcript from the build especially the last step. If there&amp;#39;s a build error one stage must be generating it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120602?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 15:54:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f4dbfea-a177-41c2-b8bf-86c837bb03de</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;I assume the converted project file is either the &amp;lt;name&amp;gt;.emProject or &amp;lt;name&amp;gt;.emSession? &amp;nbsp;Checking both of those files does not show the error message. &amp;nbsp;The Compiler Options -&amp;gt; Linker shows no additional input files or linker scripts. &amp;nbsp;If the compiler is set to gcc, does that mean that the IAR compiler is not being used?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120601?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 15:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf56531a-0761-47e8-841c-29ed4551ae25</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;The command that generates the error is &amp;quot;Linking &amp;lt;project name&amp;gt;.out&amp;quot;. &amp;nbsp;Prior to that the commands are &amp;quot;Compiling &amp;lt;filename&amp;gt;&amp;quot;. &amp;nbsp;Attempting to search through the project files (&amp;lt;name&amp;gt;.emProject&amp;quot; and &amp;lt;name&amp;gt;.emSession&amp;quot; does not show the size limit error message. &amp;nbsp; From earlier messages, it sounds like I could somehow be using the IAR compiler? &amp;nbsp;Could one of the linker options be wrong? &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120583?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 14:13:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db2e78ac-dcda-4f2d-9364-f887767f4dc8</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;don&amp;#39;t see anything wrong with those assembler options. Sure they wouldn&amp;#39;t be causing GCC to emit an IAR error message.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120581?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 14:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd50f996-81ce-4842-b21d-f69cd58e7c7f</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;I also noticed that the Additional Assembler Options shows the following:&amp;nbsp;&amp;quot;--cpu;$(CoreType);--fpu;$(FPU3);-S&amp;quot; from solution in External IAR configuration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120580?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 14:11:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0331b6-2e48-46fc-97c3-46dde152cc7a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;This is making no sense at all. When you build the project in SES you should get a build transcript, can you see it actually running the GCC compile and link commands? What command does it run at the point it emits the error message? GCC just doesn&amp;#39;t emit that error message, it&amp;#39;s entirely an IAR thing. The import project makes an entirely native project from the original one so .. there should be nowhere to put such an error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only other possibility I can think of, not that I&amp;#39;ve EVER seen it, is that the export of the project exported a linker file with that error message in it. &amp;nbsp;You could look at (grep) the converted project source to see if that happened.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120578?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 14:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dc8aaf1-323a-4da5-ba22-3fd3dea96a90</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;Compiler settings shows gcc as the compiler. &amp;nbsp;The only choices listed are gcc and clang if I chooise the pull-down under Compiler. &amp;nbsp;The project was imported using File -&amp;gt; Import IAR EWARM / Keil MDK Project... and then selecting the .eww file from the project directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120531?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 09:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed949d1d-b688-4f70-9f1d-284931a924d4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Can you check compiler settings for the project? (&amp;quot;Project&amp;quot; menu -&amp;gt; &amp;quot;Edit options...&amp;quot;, then select the &amp;quot;Code&amp;quot; -&amp;gt; &amp;quot;Compiler&amp;quot; item.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120463?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 22:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8cb00ac-4937-487b-864b-9246d30fd774</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;ok that is an IAR error which would indicate you&amp;#39;re still actually compiling with IAR. Did you import the project as some kind of external made project? A native SES built one has no limits and it doesn&amp;#39;t produce IAR error messages.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120431?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 13:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de109458-9fe6-4928-bd84-ee3ebbcaa799</guid><dc:creator>Mike Marks</dc:creator><description>&lt;p&gt;Exact error is &amp;quot;Error [Li016]: size limit exceeded. &amp;nbsp;The application needs 0x864c (34380) bytes, which is greater than the limit of 0x8000 (32768) bytes.&amp;quot; &amp;nbsp;When I check the Tools&amp;nbsp;-&amp;gt; License Manager and choose Manage Activations, I see that the product is licensed to Mike Marks - Avid Technologies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio Code Size Limit?</title><link>https://devzone.nordicsemi.com/thread/120386?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 08:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:615c8010-da52-45b8-be8d-1c0eddae3b49</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No the size limit didn&amp;#39;t come over from IAR. What&amp;#39;s the ACTUAL error message? Have you registered your copy of SES to get the free Nordic license which allows full access and even commercial use, even though I believe that SES has no size limit either.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>