<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: emWin library too large for K64f Cortex M4? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308034#M61028</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have the emwin example in directory 'FRDM-K64F\boards\frdmk64f'. You can refer it.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 01:44:41 GMT</pubDate>
    <dc:creator>nxf56274</dc:creator>
    <dc:date>2021-07-15T01:44:41Z</dc:date>
    <item>
      <title>emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1307997#M61027</link>
      <description>&lt;P&gt;I'm trying to link the emWin library provided by NXP with my application. The problem is that pre-built library is 4MB and there's on 256KB RAM on the microprocessor. How can I use this library on my platform?&lt;/P&gt;&lt;P&gt;Microprocessor:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/data-sheet/K64P144M120SF5.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/data-sheet/K64P144M120SF5.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;emWin library from NXP (using&amp;nbsp;ARMGCC/libemWin_M4F.a &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/embedded-software/nxp-emwin-libraries:EMWIN-GRAPHICS-LIBRARY" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/nxp-emwin-libraries:EMWIN-GRAPHICS-LIBRARY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Swade&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 23:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1307997#M61027</guid>
      <dc:creator>Swade</dc:creator>
      <dc:date>2021-07-14T23:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308034#M61028</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have the emwin example in directory 'FRDM-K64F\boards\frdmk64f'. You can refer it.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 01:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308034#M61028</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-07-15T01:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308073#M61029</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189110"&gt;@Swade&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;keep in mind that the file size on disk on your host machine is no indication to the RAM/ROM size needed on the target. The archive (.a, library) is a collection of object files, and the object files include extra information like symbolic and source information which will not use any space on the target. Plus the linker will remove any unused objects too.&lt;/P&gt;&lt;P&gt;A few articles on the subject of ELF/Dwarf files and size information on my blog might help too:&lt;/P&gt;&lt;P&gt;&lt;A title="https://mcuoneclipse.com/2014/07/13/listing-code-and-data-size-for-each-source-file-with-gnu-and-eclipse/" href="https://mcuoneclipse.com/2014/07/13/listing-code-and-data-size-for-each-source-file-with-gnu-and-eclipse/" target="_blank" rel="nofollow noopener noreferrer"&gt;Listing Code and Data Size for each Source File with GNU and Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/" href="https://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/" target="_blank" rel="nofollow noopener noreferrer"&gt;Printing Code Size Information in Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/" href="https://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/" target="_blank" rel="nofollow noopener noreferrer"&gt;text, data and bss: Code and Data Size Explained | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-and-debugging/" href="https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-and-debugging/" target="_blank" rel="nofollow noopener noreferrer"&gt;Converting a Raw Binary File into an ELF/Dwarf File for Loading and Debugging | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 02:44:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308073#M61029</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-07-15T02:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308661#M61037</link>
      <description>&lt;P&gt;Thank you that was informative. But even taking that into account the library seems to be too large for inclusion. Here are the memory stats without emWin:&lt;/P&gt;&lt;PRE&gt;$ /opt/K64F_sdk-sumo/gcc-arm-none-eabi-7-2019-q2-update/bin/arm-none-eabi-size MyExeBefore&lt;BR /&gt;text   data  bss    dec   hex filename&lt;BR /&gt;399296 3960 7980 411236 64664 MyExeBefore&lt;/PRE&gt;&lt;P&gt;And here with the emWin library (I had to expand regions in my .ld file just to all this to build):&lt;/P&gt;&lt;PRE&gt;$ /opt/K64F_sdk-sumo/gcc-arm-none-eabi-7-2019-q2-update/bin/arm-none-eabi-size MyExeAfter&lt;BR /&gt;text    data     bss     dec    hex filename&lt;BR /&gt;3273664 4008 2629884 5907556 5a2464 MyExeAfter&lt;/PRE&gt;&lt;P&gt;Perhaps the linker is not removing unreferenced code and data?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 22:44:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308661#M61037</guid>
      <dc:creator>Swade</dc:creator>
      <dc:date>2021-07-15T22:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308665#M61038</link>
      <description>&lt;P&gt;Thank you. That example seems to only contain code and not the build files (e.g. makefile, project file) that would contain the compiling and linking details. Can you point me in the right direction for those?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 22:59:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308665#M61038</guid>
      <dc:creator>Swade</dc:creator>
      <dc:date>2021-07-15T22:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308721#M61040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can use the mcuxpresso to import this example. The mcuxpresso also use the arm-gcc. The makefile is generated by it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 01:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1308721#M61040</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-07-16T01:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: emWin library too large for K64f Cortex M4?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1309300#M61047</link>
      <description>&lt;P&gt;Found the problem. One of the config files was setting aside a large chunk of memory for the GUI. GUI_X_Conf.c.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 21:56:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/emWin-library-too-large-for-K64f-Cortex-M4/m-p/1309300#M61047</guid>
      <dc:creator>Swade</dc:creator>
      <dc:date>2021-07-19T21:56:26Z</dc:date>
    </item>
  </channel>
</rss>

