<?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: Startup / config code space for MKL03Z8VFG4 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861164#M51560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By switching to Release, setting -Os (size optimization), -flto&amp;nbsp;(Link-time optimization),&amp;nbsp;&lt;SPAN&gt;RedLib(none)&lt;/SPAN&gt; that can get it down to:&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 1504 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 18.36%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 264 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 12.89%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same program, using Debug, -O0 no link-time optimization, RedLib(none):&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 3588 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 43.80%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 404 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 19.73%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, while I think 1504 bytes is still pretty huge for startup&amp;nbsp;code, it is much better than the 5700 bytes I initially saw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen shot of the Release and Active code space usage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Release_vs_Debug.png"&gt;&lt;IMG alt="Release_vs_Debug.png" src="https://community.nxp.com/t5/image/serverpage/image-id/76781iF7F3FFA59DD8477C/image-size/large?v=v2&amp;amp;px=999" title="Release_vs_Debug.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:17:00 GMT</pubDate>
    <dc:creator>baxsie</dc:creator>
    <dc:date>2020-11-02T14:17:00Z</dc:date>
    <item>
      <title>Startup / config code space for MKL03Z8VFG4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861162#M51558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a&amp;nbsp;MKL03Z8VFG4&amp;nbsp; project that I am just starting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check that MCUXpresso&amp;nbsp;was installed correctly, I used the web site to create&amp;nbsp;an SDK for it, configured the LED pins and was able to blink the LEDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my "bare metal" design, I created an SDK for&amp;nbsp;MKL03Z32xxx4 using the web site.&amp;nbsp;I got the ports configured using the Config Tool, Open Pins. So far, so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the result after the build. This is with the example printf("Hello World\n"); commented&amp;nbsp;out, with that in it would not fit at all:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 5720 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 69.82%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 596 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 29.10%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;That is pretty sad for not a single line of user code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;So my question is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; : ; color: #3d3d3d;"&gt;Is there a slim&amp;nbsp;/ minimal startup code example for the MKL03Z8VFG4 somewhere?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Thanks in advance for any assistance&amp;nbsp;you can offer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861162#M51558</guid>
      <dc:creator>baxsie</dc:creator>
      <dc:date>2019-01-08T23:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Startup / config code space for MKL03Z8VFG4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861163#M51559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it looks like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Project Explorer tab&lt;/LI&gt;&lt;LI&gt;(right click on project) -&amp;gt; Properties&lt;/LI&gt;&lt;LI&gt;C/C++ Build -&amp;gt; Settings&lt;/LI&gt;&lt;LI&gt;MCU Linker -&amp;gt; Managed Linker Script&lt;/LI&gt;&lt;LI&gt;Library- -&amp;gt; Pull Down "Redlib (none)"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gets rid of the file system, and heap. With a null while loop in main(), that gets me to :&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 1800 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 21.97%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 400 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 19.53%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Significantly&amp;nbsp;better, if still pretty fat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding in:&lt;/P&gt;&lt;PRE&gt; BOARD_InitBootPins();
 BOARD_InitBootClocks();
 BOARD_InitBootPeripherals();&lt;/PRE&gt;&lt;P&gt;Bloats it right back up:&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 3480 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 42.48%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 404 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 19.73%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;(Sorry for the stream-of-consciousness&amp;nbsp;post . . . I'm moderated.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 00:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861163#M51559</guid>
      <dc:creator>baxsie</dc:creator>
      <dc:date>2019-01-09T00:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Startup / config code space for MKL03Z8VFG4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861164#M51560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By switching to Release, setting -Os (size optimization), -flto&amp;nbsp;(Link-time optimization),&amp;nbsp;&lt;SPAN&gt;RedLib(none)&lt;/SPAN&gt; that can get it down to:&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 1504 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 18.36%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 264 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 12.89%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same program, using Debug, -O0 no link-time optimization, RedLib(none):&lt;/P&gt;&lt;PRE style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;Memory region&amp;nbsp; Used Size | Region Size | % Used&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;-------------------------+-------------+-------&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;PROGRAM_FLASH:&amp;nbsp;&amp;nbsp; 3588 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 43.80%&lt;/STRONG&gt;&lt;/SPAN&gt;
&lt;SPAN style="border: 0px; color: #0000ff; font-weight: bold; font-size: 14px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRAM:&amp;nbsp;&amp;nbsp;&amp;nbsp; 404 B&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 KB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | 19.73%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, while I think 1504 bytes is still pretty huge for startup&amp;nbsp;code, it is much better than the 5700 bytes I initially saw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen shot of the Release and Active code space usage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Release_vs_Debug.png"&gt;&lt;IMG alt="Release_vs_Debug.png" src="https://community.nxp.com/t5/image/serverpage/image-id/76781iF7F3FFA59DD8477C/image-size/large?v=v2&amp;amp;px=999" title="Release_vs_Debug.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861164#M51560</guid>
      <dc:creator>baxsie</dc:creator>
      <dc:date>2020-11-02T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Startup / config code space for MKL03Z8VFG4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861165#M51561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Take a look at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KL03Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KL03Z.html&lt;/A&gt;&lt;SPAN&gt; to see some things that can be achieved with the KL03 even with file system and operating system.&lt;/SPAN&gt;&lt;BR /&gt;A further advantage is that all code written for the KL03 can also run on almost any other Kinetis part without needing to install different libraries and port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 21:26:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861165#M51561</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-01-09T21:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Startup / config code space for MKL03Z8VFG4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861166#M51562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. Mark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what size flash image be under&amp;nbsp;utasker&amp;nbsp;for a simple program that contained nothing except for port and clock inits, and a loop that toggled a single bit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 22:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861166#M51562</guid>
      <dc:creator>baxsie</dc:creator>
      <dc:date>2019-01-09T22:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Startup / config code space for MKL03Z8VFG4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861167#M51563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;235 bytes, including reset vector and flash configuration - watchdog disable, clock setup to 48MHz HIRC, configure port, toggle output in while loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is &lt;STRONG&gt;not&lt;/STRONG&gt; &lt;STRONG&gt;the size that the binary file physically is&lt;/STRONG&gt; due to the fact that the binary file &lt;EM&gt;can never be smaller than 1040 bytes&lt;/EM&gt; because the Flash configuration is at 0x400..0x40f and so any binary will start at 0x00000000 and end at 0x40f even if there is no code between 0x008 and 0x400.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SRAM used is 0 bytes. Although some stack (not counted by the size output) will be used when operating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding a SYSTICK periodic interrupt to toggle the output instead, with a set of default handlers and handlers for errors such as hard fault, with general interrupt support:&lt;BR /&gt;530 bytes Flash + 4 bytes SRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 00:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-config-code-space-for-MKL03Z8VFG4/m-p/861167#M51563</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-01-10T00:10:21Z</dc:date>
    </item>
  </channel>
</rss>

