<?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: Cannot create and build bootloader project in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693702#M454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe your diagnosis is correct. &amp;nbsp;In my freedom_bootloader source tree, I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ./link/MKL25Z128xxx4_application_0x0000.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z128xxx4_flash.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z128xxx4_ram.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z32xxx4_flash.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z32xxx4_ram.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z64xxx4_flash.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z64xxx4_ram.ld&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and its clear that each one defines a memory layout. &amp;nbsp;I'm not clear which I should have in my config (nor what causes any given file to be included), but I'll try to figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2017 00:22:23 GMT</pubDate>
    <dc:creator>robertpoor</dc:creator>
    <dc:date>2017-08-11T00:22:23Z</dc:date>
    <item>
      <title>Cannot create and build bootloader project</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693698#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 id="toc-hId-1964018374"&gt;Overview&lt;/H1&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a derivative of the V2.0 bootloader. &amp;nbsp;You can see some of the things I've tried&amp;nbsp;&lt;A _jive_internal="true" data-containerid="11534" data-containertype="14" data-objectid="453317" data-objecttype="1" href="https://community.nxp.com/thread/453317" rel="noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A _jive_internal="true" data-containerid="11213" data-containertype="14" data-objectid="457043" data-objecttype="1" href="https://community.nxp.com/thread/457043" rel="noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first task - and where I'm getting stuck - is to create a &lt;STRONG&gt;copy&lt;/STRONG&gt; of the KL25Z flash bootloader and compile it. &amp;nbsp;And by "copy" I mean a version where I can modify the sources.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;H1 id="toc-hId--588138587"&gt;Attempt #1&lt;/H1&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I downloaded the Bootloader 2.0 distribution (&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;NXP_Kinetis_Bootloader_2_0_0.zip&lt;/SPAN&gt;) and unpacked it.&lt;/LI&gt;&lt;LI&gt;In KDS_v3, I clicked on "File =&amp;gt; Import"&lt;/LI&gt;&lt;LI&gt;In the dialog box, I selected "Existing Projects into Workspace" and clicked "Next &amp;gt;"&lt;/LI&gt;&lt;LI&gt;I chose the "Select Root Directory" radio button and navigated to "ProjectDir/Bootloader/NXP_Kinetis_Bootloader_2_0_0/targets/MKL25Z4/kds/freedom_bootloader"&lt;/LI&gt;&lt;LI&gt;I&amp;nbsp;&lt;STRONG&gt;unchecked&lt;/STRONG&gt; the "Search for nested projects" and&amp;nbsp;&lt;STRONG&gt;unchecked&lt;/STRONG&gt; the "Copy projects into workspace" options (see image below)&lt;/LI&gt;&lt;LI&gt;I clicked "Finish"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here's what the dialog window looked like before I clicked "Finish":&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="190867_190867.png"&gt;&lt;IMG alt="190867_190867.png" src="https://community.nxp.com/t5/image/serverpage/image-id/123107iD28F82C25BC100A5/image-size/large?v=v2&amp;amp;px=999" title="190867_190867.png" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-08-04 at 6.06.07 AM.png"&gt;&lt;IMG alt="Screen Shot 2017-08-04 at 6.06.07 AM.png" src="https://community.nxp.com/t5/image/serverpage/image-id/10089i8654396CF40D5A07/image-size/large?v=v2&amp;amp;px=999" title="Screen Shot 2017-08-04 at 6.06.07 AM.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The freedom_bootloader project appeared in my Project Explorer without any warning symbols (that's good):&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="190883_190883.png"&gt;&lt;IMG alt="190883_190883.png" src="https://community.nxp.com/t5/image/serverpage/image-id/123108i63000590020016D8/image-size/large?v=v2&amp;amp;px=999" title="190883_190883.png" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-08-04 at 6.11.38 AM.png"&gt;&lt;IMG alt="Screen Shot 2017-08-04 at 6.11.38 AM.png" src="https://community.nxp.com/t5/image/serverpage/image-id/10143iB89BC72763DE4381/image-size/large?v=v2&amp;amp;px=999" title="Screen Shot 2017-08-04 at 6.11.38 AM.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And I can build the project without error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;06:15:40 Build Finished (took 6s.158ms)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;H3 id="toc-hId-761644738"&gt;Analysis&lt;/H3&gt;&lt;P&gt;Using Approach #1, I can build the project without error. &amp;nbsp;However, this is not a viable approach since the files are not in my workspace. &amp;nbsp;Any changes I make to the source files modify the original files in the distribution. &amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a copy of the project in order to make changes to the sources.&lt;/P&gt;&lt;H1 id="toc-hId--1397485213"&gt;&lt;/H1&gt;&lt;H1 id="toc-hId-345325122"&gt;Attempt #2&lt;/H1&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar to attempt #1, but in this attempt, I copied the projects into my workspace.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL style="padding: 0px 0px 0px 30px;"&gt;&lt;LI style="margin: 0.2em 0px;"&gt;I downloaded the Bootloader 2.0 distribution (&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;NXP_Kinetis_Bootloader_2_0_0.zip&lt;/SPAN&gt;) and unpacked it.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;In KDS_v3, I clicked on "File =&amp;gt; Import"&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;In the dialog box, I selected "Existing Projects into Workspace" and clicked "Next &amp;gt;"&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;I chose the "Select Root Directory" radio button and navigated to "ProjectDir/Bootloader/NXP_Kinetis_Bootloader_2_0_0/targets/MKL25Z4/kds/freedom_bootloader"&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;I&amp;nbsp;&lt;STRONG&gt;checked&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the "Search for nested projects" and&amp;nbsp;&lt;STRONG&gt;checked&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the "Copy projects into workspace" options (see image below)&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;I clicked "Finish"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here's what the dialog window looked like before I clicked "Finish":&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="190885_190885.png"&gt;&lt;IMG alt="190885_190885.png" src="https://community.nxp.com/t5/image/serverpage/image-id/123109iB3A277845E9819C2/image-size/large?v=v2&amp;amp;px=999" title="190885_190885.png" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-08-04 at 6.24.59 AM.png"&gt;&lt;IMG alt="Screen Shot 2017-08-04 at 6.24.59 AM.png" src="https://community.nxp.com/t5/image/serverpage/image-id/10239iA1C0848584096DD5/image-size/large?v=v2&amp;amp;px=999" title="Screen Shot 2017-08-04 at 6.24.59 AM.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The freedom_bootloader project appeared in my Project Explorer, but it had some warning symbols on the icons:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="190886_190886.png"&gt;&lt;IMG alt="190886_190886.png" src="https://community.nxp.com/t5/image/serverpage/image-id/123110iDB581000D0F7A0B8/image-size/large?v=v2&amp;amp;px=999" title="190886_190886.png" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-08-04 at 6.25.17 AM.png"&gt;&lt;IMG alt="Screen Shot 2017-08-04 at 6.25.17 AM.png" src="https://community.nxp.com/t5/image/serverpage/image-id/10276iE2E5C25C0431F2DB/image-size/large?v=v2&amp;amp;px=999" title="Screen Shot 2017-08-04 at 6.25.17 AM.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And when I built the project, I got many errors:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;06:27:47 **** Build of configuration debug for project freedom_bootloader ****
make -k all
make: *** No rule to make target `/Users/r/Projects/src/utilities/src/fsl_assert.c', needed by `src/utilities/src/fsl_assert.o'.
make: *** No rule to make target `/Users/r/Projects/src/utilities/src/fsl_rtos_abstraction.c', needed by `src/utilities/src/fsl_rtos_abstraction.o'.
make: *** No rule to make target `/Users/r/Projects/src/usb/osa/usb_osa_bm.c', needed by `src/usb/osa/usb_osa_bm.o'.
make: *** No rule to make target `/Users/r/Projects/src/usb/device/class/usb_device_class.c', needed by `src/usb/device/calss/usb_device_class.o'.
make: *** No rule to make target `/Users/r/Projects/src/usb/device/class/usb_device_hid.c', needed by `src/usb/device/calss/usb_device_hid.o'.
...
make: *** No rule to make target `/Users/r/Projects/src/bootloader/src/uart0_peripheral_interface.c', needed by `src/bootloader/src/uart0_peripheral_interface.o'.
make: *** No rule to make target `/Users/r/Projects/src/bootloader/src/usb_hid_msc_peripheral_interface.c', needed by `src/bootloader/src/usb_hid_msc_peripheral_interface.o'.
make: *** No rule to make target `/Users/r/Projects/src/autobaud/src/autobaud_irq.c', needed by `src/autobaud/src/autobaud_irq.o'.
make: *** No rule to make target `/Users/r/Projects/Sensorex/common/src/bl_i2c_irq_config_common.c', needed by `kl25z4/bl_i2c_irq_config_common.o'.
make: *** No rule to make target `/Users/r/Projects/Sensorex/sensorex-cp/src/clock_config_MKL25Z4.c', needed by `kl25z4/clock_config_MKL25Z4.o'.
make: *** No rule to make target `/Users/r/Projects/Sensorex/sensorex-cp/src/hardware_init_MKL25Z4.c', needed by `kl25z4/hardware_init_MKL25Z4.o'.
make: *** No rule to make target `/Users/r/Projects/Sensorex/sensorex-cp/src/memory_map_MKL25Z4.c', needed by `kl25z4/memory_map_MKL25Z4.o'.
make: *** No rule to make target `/Users/r/Projects/Sensorex/sensorex-cp/src/peripherals_MKL25Z4.c', needed by `kl25z4/peripherals_MKL25Z4.o'.
make: *** No rule to make target `/Users/r/Projects/Sensorex/common/src/pinmux_utility_common.c', needed by `kl25z4/pinmux_utility_common.o'.
make: Target `all' not remade because of errors.

06:27:47 Build Finished (took 117ms)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;H3 id="toc-hId-1695108447" style="font-weight: bold; font-size: 18px;"&gt;Analysis&lt;/H3&gt;&lt;P&gt;It's clear that the source files are not in their proper place. &amp;nbsp;And in addition, the makefile seems not to have search paths set up correctly. &amp;nbsp;For example, (from the first error) it is looking for &amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/Users/r/Projects/src/utilities/src/fsl_assert.c&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;when the original fsl_assert.c code was actually in:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;/Users/r/Projects/Sensorex&lt;/SPAN&gt;/Bootloader/NXP_Kinetis_Bootloader_2_0_0/src/utilities/src/fsl_assert.c&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;P&gt;However, I would expect it to have been copied into the project under:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/Users/r/Projects/sensorex_cp/freedom_bootloader/src/utilities/src/fsk_assert.c&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Similarly, make complained about not finding:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/Users/r/Projects/Sensorex/sensorex-cp/src/memory_map_MKL25Z4.c&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;when&amp;nbsp;memory_map_MKL25Z4.c was originally in:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/Users/r/Project/Sensorex/Bootloader/NXP_Kinetis_Bootloader_2_0_0/targets/MKL25Z4/src/memory_map_MKL25Z4.c&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It appears&amp;nbsp;that a number of files that are needed&amp;nbsp;by the project were not actually copied into the project directory. &amp;nbsp;&lt;/P&gt;&lt;H2 id="toc-hId--660535009"&gt;&lt;/H2&gt;&lt;H1 id="toc-hId-1278788831"&gt;UPDATE: Attempt #3&lt;/H1&gt;&lt;OL&gt;&lt;LI&gt;I repeated the steps of Attempt #1&lt;/LI&gt;&lt;LI&gt;I built&amp;nbsp;the freedom_bootloader project (no errors)&lt;/LI&gt;&lt;LI&gt;I exported the project as a freedom_bootloader_kl25z.zip file (see attachment on this message).&lt;/LI&gt;&lt;LI&gt;To avoid conflicts, I deleted the freedom_bootloader from my Project Explorer.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I imported the&amp;nbsp;&lt;SPAN&gt;freedom_bootloader_kl25z.zip file into my workspace.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;When I clicked "build", it reported:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;17:35:07 **** Build of configuration debug for project freedom_bootloader ****&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;make -k all&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;make: Nothing to be done for `all'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;17:35:07 Build Finished (took 118ms)&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I clicked "clean"&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;I clicked "build" a &lt;STRONG&gt;second&lt;/STRONG&gt; time, and observed the project failing to compile. &amp;nbsp;Results are&amp;nbsp;shown here.&lt;/LI&gt;&lt;/OL&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;17:37:08 **** Build of configuration debug for project freedom_bootloader ****
make -k all
Building file: ../src/utilities/src/fsl_assert.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/utilities/src/fsl_assert.d" -MT"src/utilities/src/fsl_assert.o" -c -o "src/utilities/src/fsl_assert.o" "../src/utilities/src/fsl_assert.c"
../src/utilities/src/fsl_assert.c:31:44: fatal error: utilities/fsl_rtos_abstraction.h: No such file or directory
#include "utilities/fsl_rtos_abstraction.h"
 ^
compilation terminated.

make: *** [src/utilities/src/fsl_assert.o] Error 1
Building file: ../src/utilities/src/fsl_rtos_abstraction.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/utilities/src/fsl_rtos_abstraction.d" -MT"src/utilities/src/fsl_rtos_abstraction.o" -c -o "src/utilities/src/fsl_rtos_abstraction.o" "../src/utilities/src/fsl_rtos_abstraction.c"
../src/utilities/src/fsl_rtos_abstraction.c:31:34: fatal error: utilities/fsl_assert.h: No such file or directory
#include "utilities/fsl_assert.h"
 ^
compilation terminated.

make: *** [src/utilities/src/fsl_rtos_abstraction.o] Error 1
Building file: ../src/usb/osa/usb_osa_bm.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/osa/usb_osa_bm.d" -MT"src/usb/osa/usb_osa_bm.o" -c -o "src/usb/osa/usb_osa_bm.o" "../src/usb/osa/usb_osa_bm.c"
../src/usb/osa/usb_osa_bm.c:31:17: fatal error: usb.h: No such file or directory
#include "usb.h"
 ^
compilation terminated.

make: *** [src/usb/osa/usb_osa_bm.o] Error 1
Building file: ../src/usb/device/calss/usb_device_class.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/calss/usb_device_class.d" -MT"src/usb/device/calss/usb_device_class.o" -c -o "src/usb/device/calss/usb_device_class.o" "../src/usb/device/calss/usb_device_class.c"
../src/usb/device/calss/usb_device_class.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/calss/usb_device_class.o] Error 1
Building file: ../src/usb/device/calss/usb_device_hid.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/calss/usb_device_hid.d" -MT"src/usb/device/calss/usb_device_hid.o" -c -o "src/usb/device/calss/usb_device_hid.o" "../src/usb/device/calss/usb_device_hid.c"
../src/usb/device/calss/usb_device_hid.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/calss/usb_device_hid.o] Error 1
Building file: ../src/usb/device/calss/usb_device_msc.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/calss/usb_device_msc.d" -MT"src/usb/device/calss/usb_device_msc.o" -c -o "src/usb/device/calss/usb_device_msc.o" "../src/usb/device/calss/usb_device_msc.c"
../src/usb/device/calss/usb_device_msc.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/calss/usb_device_msc.o] Error 1
Building file: ../src/usb/device/calss/usb_device_msc_ufi.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/calss/usb_device_msc_ufi.d" -MT"src/usb/device/calss/usb_device_msc_ufi.o" -c -o "src/usb/device/calss/usb_device_msc_ufi.o" "../src/usb/device/calss/usb_device_msc_ufi.c"
../src/usb/device/calss/usb_device_msc_ufi.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/calss/usb_device_msc_ufi.o] Error 1
Building file: ../src/usb/device/usb_device_ch9.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/usb_device_ch9.d" -MT"src/usb/device/usb_device_ch9.o" -c -o "src/usb/device/usb_device_ch9.o" "../src/usb/device/usb_device_ch9.c"
../src/usb/device/usb_device_ch9.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/usb_device_ch9.o] Error 1
Building file: ../src/usb/device/usb_device_dci.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/usb_device_dci.d" -MT"src/usb/device/usb_device_dci.o" -c -o "src/usb/device/usb_device_dci.o" "../src/usb/device/usb_device_dci.c"
../src/usb/device/usb_device_dci.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/usb_device_dci.o] Error 1
Building file: ../src/usb/device/usb_device_khci.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/device/usb_device_khci.d" -MT"src/usb/device/usb_device_khci.o" -c -o "src/usb/device/usb_device_khci.o" "../src/usb/device/usb_device_khci.c"
../src/usb/device/usb_device_khci.c:31:31: fatal error: usb_device_config.h: No such file or directory
#include "usb_device_config.h"
 ^
compilation terminated.

make: *** [src/usb/device/usb_device_khci.o] Error 1
Building file: ../src/usb/bm_composite/composite.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/bm_composite/composite.d" -MT"src/usb/bm_composite/composite.o" -c -o "src/usb/bm_composite/composite.o" "../src/usb/bm_composite/composite.c"
In file included from ../src/usb/bm_composite/composite.c:31:0:
../src/usb/bm_composite/usb_device_config.h:34:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^

compilation terminated.

make: *** [src/usb/bm_composite/composite.o] Error 1
Building file: ../src/usb/bm_composite/hid_bootloader.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/bm_composite/hid_bootloader.d" -MT"src/usb/bm_composite/hid_bootloader.o" -c -o "src/usb/bm_composite/hid_bootloader.o" "../src/usb/bm_composite/hid_bootloader.c"
In file included from ../src/usb/bm_composite/hid_bootloader.c:31:0:
../src/usb/bm_composite/usb_device_config.h:34:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"

 ^
compilation terminated.

make: *** [src/usb/bm_composite/hid_bootloader.o] Error 1
Building file: ../src/usb/bm_composite/msc_disk.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/bm_composite/msc_disk.d" -MT"src/usb/bm_composite/msc_disk.o" -c -o "src/usb/bm_composite/msc_disk.o" "../src/usb/bm_composite/msc_disk.c"
In file included from ../src/usb/bm_composite/msc_disk.c:31:0:
../src/usb/bm_composite/usb_device_config.h:34:31: fatal error: bootloader_common.h: No such file or directory

#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/usb/bm_composite/msc_disk.o] Error 1
Building file: ../src/usb/bm_composite/usb_descriptor.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/usb/bm_composite/usb_descriptor.d" -MT"src/usb/bm_composite/usb_descriptor.o" -c -o "src/usb/bm_composite/usb_descriptor.o" "../src/usb/bm_composite/usb_descriptor.c"
In file included from ../src/usb/bm_composite/usb_descriptor.c:31:0:

../src/usb/bm_composite/usb_device_config.h:34:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/usb/bm_composite/usb_descriptor.o] Error 1
Building file: ../src/startup/crt0_gcc.S
Invoking: Cross ARM GNU Assembler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -x assembler-with-cpp -DDEBUG -I../../../../../src/include -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fshort-wchar -mapcs -std=gnu99 -MMD -MP -MF"src/startup/crt0_gcc.d" -MT"src/startup/crt0_gcc.o" -c -o "src/startup/crt0_gcc.o" "../src/startup/crt0_gcc.S"
Finished building: ../src/startup/crt0_gcc.S


Building file: ../src/startup/startup.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/startup/startup.d" -MT"src/startup/startup.o" -c -o "src/startup/startup.o" "../src/startup/startup.c"
../src/startup/startup.c:32:34: fatal error: fsl_device_registers.h: No such file or directory
#include "fsl_device_registers.h"
 ^
compilation terminated.

make: *** [src/startup/startup.o] Error 1
Building file: ../src/startup/startup_MKL25Z4.S
Invoking: Cross ARM GNU Assembler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -x assembler-with-cpp -DDEBUG -I../../../../../src/include -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fshort-wchar -mapcs -std=gnu99 -MMD -MP -MF"src/startup/startup_MKL25Z4.d" -MT"src/startup/startup_MKL25Z4.o" -c -o "src/startup/startup_MKL25Z4.o" "../src/startup/startup_MKL25Z4.S"
Finished building: ../src/startup/startup_MKL25Z4.S


Building file: ../src/startup/system_MKL25Z4.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/startup/system_MKL25Z4.d" -MT"src/startup/system_MKL25Z4.o" -c -o "src/startup/system_MKL25Z4.o" "../src/startup/system_MKL25Z4.c"
../src/startup/system_MKL25Z4.c:32:28: fatal error: system_MKL25Z4.h: No such file or directory
#include "system_MKL25Z4.h"
 ^
compilation terminated.

make: *** [src/startup/system_MKL25Z4.o] Error 1
Building file: ../src/sbloader/src/sbloader.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/sbloader/src/sbloader.d" -MT"src/sbloader/src/sbloader.o" -c -o "src/sbloader/src/sbloader.o" "../src/sbloader/src/sbloader.c"
../src/sbloader/src/sbloader.c:34:31: fatal error: sbloader/sbloader.h: No such file or directory
#include "sbloader/sbloader.h"
 ^
compilation terminated.

make: *** [src/sbloader/src/sbloader.o] Error 1
Building file: ../src/property/src/property.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/property/src/property.d" -MT"src/property/src/property.o" -c -o "src/property/src/property.o" "../src/property/src/property.c"
../src/property/src/property.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/property/src/property.o] Error 1
Building file: ../src/packet/src/serial_packet.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/packet/src/serial_packet.d" -MT"src/packet/src/serial_packet.o" -c -o "src/packet/src/serial_packet.o" "../src/packet/src/serial_packet.c"
../src/packet/src/serial_packet.c:32:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/packet/src/serial_packet.o] Error 1
Building file: ../src/memory/src/device_memory.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/memory/src/device_memory.d" -MT"src/memory/src/device_memory.o" -c -o "src/memory/src/device_memory.o" "../src/memory/src/device_memory.c"
In file included from ../src/memory/src/device_memory.c:32:0:
../src/memory/src/device_memory.h:33:27: fatal error: memory/memory.h: No such file or directory
#include "memory/memory.h"
 ^
compilation terminated.

make: *** [src/memory/src/device_memory.o] Error 1
Building file: ../src/memory/src/flash_memory.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/memory/src/flash_memory.d" -MT"src/memory/src/flash_memory.o" -c -o "src/memory/src/flash_memory.o" "../src/memory/src/flash_memory.c"
../src/memory/src/flash_memory.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/memory/src/flash_memory.o] Error 1
Building file: ../src/memory/src/memory.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/memory/src/memory.d" -MT"src/memory/src/memory.o" -c -o "src/memory/src/memory.o" "../src/memory/src/memory.c"
../src/memory/src/memory.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/memory/src/memory.o] Error 1
Building file: ../src/memory/src/normal_memory.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/memory/src/normal_memory.d" -MT"src/memory/src/normal_memory.o" -c -o "src/memory/src/normal_memory.o" "../src/memory/src/normal_memory.c"
In file included from ../src/memory/src/normal_memory.c:32:0:
../src/memory/src/normal_memory.h:33:27: fatal error: memory/memory.h: No such file or directory
#include "memory/memory.h"
 ^
compilation terminated.

make: *** [src/memory/src/normal_memory.o] Error 1
Building file: ../src/memory/src/pattern_fill_gcc.S
Invoking: Cross ARM GNU Assembler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -x assembler-with-cpp -DDEBUG -I../../../../../src/include -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fshort-wchar -mapcs -std=gnu99 -MMD -MP -MF"src/memory/src/pattern_fill_gcc.d" -MT"src/memory/src/pattern_fill_gcc.o" -c -o "src/memory/src/pattern_fill_gcc.o" "../src/memory/src/pattern_fill_gcc.S"
Finished building: ../src/memory/src/pattern_fill_gcc.S


Building file: ../src/memory/src/sram_init_cm0plus.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/memory/src/sram_init_cm0plus.d" -MT"src/memory/src/sram_init_cm0plus.o" -c -o "src/memory/src/sram_init_cm0plus.o" "../src/memory/src/sram_init_cm0plus.c"
../src/memory/src/sram_init_cm0plus.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/memory/src/sram_init_cm0plus.o] Error 1
Building file: ../src/drivers/watchdog/src/fsl_watchdog_cop.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/watchdog/src/fsl_watchdog_cop.d" -MT"src/drivers/watchdog/src/fsl_watchdog_cop.o" -c -o "src/drivers/watchdog/src/fsl_watchdog_cop.o" "../src/drivers/watchdog/src/fsl_watchdog_cop.c"
../src/drivers/watchdog/src/fsl_watchdog_cop.c:31:34: fatal error: fsl_device_registers.h: No such file or directory
#include "fsl_device_registers.h"
 ^
compilation terminated.

make: *** [src/drivers/watchdog/src/fsl_watchdog_cop.o] Error 1
Building file: ../src/drivers/systick/src/systick.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/systick/src/systick.d" -MT"src/drivers/systick/src/systick.o" -c -o "src/drivers/systick/src/systick.o" "../src/drivers/systick/src/systick.c"
../src/drivers/systick/src/systick.c:31:29: fatal error: systick/systick.h: No such file or directory
#include "systick/systick.h"
 ^
compilation terminated.

make: *** [src/drivers/systick/src/systick.o] Error 1
Building file: ../src/drivers/spi/fsl_spi.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/spi/fsl_spi.d" -MT"src/drivers/spi/fsl_spi.o" -c -o "src/drivers/spi/fsl_spi.o" "../src/drivers/spi/fsl_spi.c"
../src/drivers/spi/fsl_spi.c:31:21: fatal error: fsl_spi.h: No such file or directory
#include "fsl_spi.h"
 ^
compilation terminated.

make: *** [src/drivers/spi/fsl_spi.o] Error 1
Building file: ../src/drivers/smc/smc.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/smc/smc.d" -MT"src/drivers/smc/smc.o" -c -o "src/drivers/smc/smc.o" "../src/drivers/smc/smc.c"
../src/drivers/smc/smc.c:51:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/drivers/smc/smc.o] Error 1
Building file: ../src/drivers/microseconds/src/microseconds_pit.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/microseconds/src/microseconds_pit.d" -MT"src/drivers/microseconds/src/microseconds_pit.o" -c -o "src/drivers/microseconds/src/microseconds_pit.o" "../src/drivers/microseconds/src/microseconds_pit.c"
../src/drivers/microseconds/src/microseconds_pit.c:36:39: fatal error: microseconds/microseconds.h: No such file or directory
#include "microseconds/microseconds.h"
 ^
compilation terminated.

make: *** [src/drivers/microseconds/src/microseconds_pit.o] Error 1
Building file: ../src/drivers/lpsci/fsl_lpsci.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/lpsci/fsl_lpsci.d" -MT"src/drivers/lpsci/fsl_lpsci.o" -c -o "src/drivers/lpsci/fsl_lpsci.o" "../src/drivers/lpsci/fsl_lpsci.c"
../src/drivers/lpsci/fsl_lpsci.c:31:23: fatal error: fsl_lpsci.h: No such file or directory
#include "fsl_lpsci.h"
 ^
compilation terminated.

make: *** [src/drivers/lpsci/fsl_lpsci.o] Error 1
Building file: ../src/drivers/i2c/src/fsl_i2c.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/i2c/src/fsl_i2c.d" -MT"src/drivers/i2c/src/fsl_i2c.o" -c -o "src/drivers/i2c/src/fsl_i2c.o" "../src/drivers/i2c/src/fsl_i2c.c"
../src/drivers/i2c/src/fsl_i2c.c:30:21: fatal error: fsl_i2c.h: No such file or directory
#include "fsl_i2c.h"
 ^
compilation terminated.

make: *** [src/drivers/i2c/src/fsl_i2c.o] Error 1
Building file: ../src/drivers/gpio/fsl_gpio.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/gpio/fsl_gpio.d" -MT"src/drivers/gpio/fsl_gpio.o" -c -o "src/drivers/gpio/fsl_gpio.o" "../src/drivers/gpio/fsl_gpio.c"
../src/drivers/gpio/fsl_gpio.c:31:22: fatal error: fsl_gpio.h: No such file or directory
#include "fsl_gpio.h"
 ^
compilation terminated.

make: *** [src/drivers/gpio/fsl_gpio.o] Error 1
Building file: ../src/drivers/flash/fsl_flash.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/drivers/flash/fsl_flash.d" -MT"src/drivers/flash/fsl_flash.o" -c -o "src/drivers/flash/fsl_flash.o" "../src/drivers/flash/fsl_flash.c"
In file included from ../src/drivers/flash/fsl_flash.c:31:0:
../src/drivers/flash/fsl_flash.h:37:34: fatal error: fsl_device_registers.h: No such file or directory
#include "fsl_device_registers.h"
 ^
compilation terminated.

make: *** [src/drivers/flash/fsl_flash.o] Error 1
Building file: ../src/crc/src/crc16.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/crc/src/crc16.d" -MT"src/crc/src/crc16.o" -c -o "src/crc/src/crc16.o" "../src/crc/src/crc16.c"
../src/crc/src/crc16.c:30:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/crc/src/crc16.o] Error 1
Building file: ../src/crc/src/crc32.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/crc/src/crc32.d" -MT"src/crc/src/crc32.o" -c -o "src/crc/src/crc32.o" "../src/crc/src/crc32.c"
../src/crc/src/crc32.c:30:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/crc/src/crc32.o] Error 1
Building file: ../src/bootloader/src/bl_command.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_command.d" -MT"src/bootloader/src/bl_command.o" -c -o "src/bootloader/src/bl_command.o" "../src/bootloader/src/bl_command.c"
../src/bootloader/src/bl_command.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_command.o] Error 1
Building file: ../src/bootloader/src/bl_context.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_context.d" -MT"src/bootloader/src/bl_context.o" -c -o "src/bootloader/src/bl_context.o" "../src/bootloader/src/bl_context.c"
../src/bootloader/src/bl_context.c:31:35: fatal error: bootloader/bl_context.h: No such file or directory
#include "bootloader/bl_context.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_context.o] Error 1
Building file: ../src/bootloader/src/bl_exception_handler.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_exception_handler.d" -MT"src/bootloader/src/bl_exception_handler.o" -c -o "src/bootloader/src/bl_exception_handler.o" "../src/bootloader/src/bl_exception_handler.c"
../src/bootloader/src/bl_exception_handler.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_exception_handler.o] Error 1
Building file: ../src/bootloader/src/bl_main.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_main.d" -MT"src/bootloader/src/bl_main.o" -c -o "src/bootloader/src/bl_main.o" "../src/bootloader/src/bl_main.c"
../src/bootloader/src/bl_main.c:32:34: fatal error: utilities/fsl_assert.h: No such file or directory
#include "utilities/fsl_assert.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_main.o] Error 1
Building file: ../src/bootloader/src/bl_shutdown_cleanup.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_shutdown_cleanup.d" -MT"src/bootloader/src/bl_shutdown_cleanup.o" -c -o "src/bootloader/src/bl_shutdown_cleanup.o" "../src/bootloader/src/bl_shutdown_cleanup.c"
../src/bootloader/src/bl_shutdown_cleanup.c:31:34: fatal error: fsl_device_registers.h: No such file or directory
#include "fsl_device_registers.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_shutdown_cleanup.o] Error 1
Building file: ../src/bootloader/src/bl_tree_root.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_tree_root.d" -MT"src/bootloader/src/bl_tree_root.o" -c -o "src/bootloader/src/bl_tree_root.o" "../src/bootloader/src/bl_tree_root.c"
../src/bootloader/src/bl_tree_root.c:31:35: fatal error: bootloader/bootloader.h: No such file or directory
#include "bootloader/bootloader.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_tree_root.o] Error 1
Building file: ../src/bootloader/src/bl_user_entry.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/bl_user_entry.d" -MT"src/bootloader/src/bl_user_entry.o" -c -o "src/bootloader/src/bl_user_entry.o" "../src/bootloader/src/bl_user_entry.c"
../src/bootloader/src/bl_user_entry.c:31:34: fatal error: fsl_device_registers.h: No such file or directory
#include "fsl_device_registers.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/bl_user_entry.o] Error 1
Building file: ../src/bootloader/src/i2c_peripheral_interface.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/i2c_peripheral_interface.d" -MT"src/bootloader/src/i2c_peripheral_interface.o" -c -o "src/bootloader/src/i2c_peripheral_interface.o" "../src/bootloader/src/i2c_peripheral_interface.c"
../src/bootloader/src/i2c_peripheral_interface.c:31:34: fatal error: utilities/fsl_assert.h: No such file or directory
#include "utilities/fsl_assert.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/i2c_peripheral_interface.o] Error 1
Building file: ../src/bootloader/src/spi_peripheral_interface.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/spi_peripheral_interface.d" -MT"src/bootloader/src/spi_peripheral_interface.o" -c -o "src/bootloader/src/spi_peripheral_interface.o" "../src/bootloader/src/spi_peripheral_interface.c"
../src/bootloader/src/spi_peripheral_interface.c:31:34: fatal error: utilities/fsl_assert.h: No such file or directory
#include "utilities/fsl_assert.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/spi_peripheral_interface.o] Error 1
Building file: ../src/bootloader/src/uart0_peripheral_interface.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/uart0_peripheral_interface.d" -MT"src/bootloader/src/uart0_peripheral_interface.o" -c -o "src/bootloader/src/uart0_peripheral_interface.o" "../src/bootloader/src/uart0_peripheral_interface.c"
../src/bootloader/src/uart0_peripheral_interface.c:31:35: fatal error: bootloader/bl_context.h: No such file or directory
#include "bootloader/bl_context.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/uart0_peripheral_interface.o] Error 1
Building file: ../src/bootloader/src/usb_hid_msc_peripheral_interface.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/bootloader/src/usb_hid_msc_peripheral_interface.d" -MT"src/bootloader/src/usb_hid_msc_peripheral_interface.o" -c -o "src/bootloader/src/usb_hid_msc_peripheral_interface.o" "../src/bootloader/src/usb_hid_msc_peripheral_interface.c"
../src/bootloader/src/usb_hid_msc_peripheral_interface.c:31:35: fatal error: bootloader/bl_context.h: No such file or directory
#include "bootloader/bl_context.h"
 ^
compilation terminated.

make: *** [src/bootloader/src/usb_hid_msc_peripheral_interface.o] Error 1
Building file: ../src/autobaud/src/autobaud_irq.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"src/autobaud/src/autobaud_irq.d" -MT"src/autobaud/src/autobaud_irq.o" -c -o "src/autobaud/src/autobaud_irq.o" "../src/autobaud/src/autobaud_irq.c"
../src/autobaud/src/autobaud_irq.c:31:34: fatal error: fsl_device_registers.h: No such file or directory
#include "fsl_device_registers.h"
 ^
compilation terminated.

make: *** [src/autobaud/src/autobaud_irq.o] Error 1
Building file: ../kl25z4/bl_i2c_irq_config_common.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"kl25z4/bl_i2c_irq_config_common.d" -MT"kl25z4/bl_i2c_irq_config_common.o" -c -o "kl25z4/bl_i2c_irq_config_common.o" "../kl25z4/bl_i2c_irq_config_common.c"
../kl25z4/bl_i2c_irq_config_common.c:31:35: fatal error: bootloader/bl_context.h: No such file or directory
#include "bootloader/bl_context.h"
 ^
compilation terminated.

make: *** [kl25z4/bl_i2c_irq_config_common.o] Error 1
Building file: ../kl25z4/clock_config_MKL25Z4.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"kl25z4/clock_config_MKL25Z4.d" -MT"kl25z4/clock_config_MKL25Z4.o" -c -o "kl25z4/clock_config_MKL25Z4.o" "../kl25z4/clock_config_MKL25Z4.c"
../kl25z4/clock_config_MKL25Z4.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [kl25z4/clock_config_MKL25Z4.o] Error 1
Building file: ../kl25z4/hardware_init_MKL25Z4.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"kl25z4/hardware_init_MKL25Z4.d" -MT"kl25z4/hardware_init_MKL25Z4.o" -c -o "kl25z4/hardware_init_MKL25Z4.o" "../kl25z4/hardware_init_MKL25Z4.c"
../kl25z4/hardware_init_MKL25Z4.c:31:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [kl25z4/hardware_init_MKL25Z4.o] Error 1
Building file: ../kl25z4/memory_map_MKL25Z4.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"kl25z4/memory_map_MKL25Z4.d" -MT"kl25z4/memory_map_MKL25Z4.o" -c -o "kl25z4/memory_map_MKL25Z4.o" "../kl25z4/memory_map_MKL25Z4.c"
../kl25z4/memory_map_MKL25Z4.c:31:35: fatal error: bootloader/bl_context.h: No such file or directory
#include "bootloader/bl_context.h"
 ^
compilation terminated.

make: *** [kl25z4/memory_map_MKL25Z4.o] Error 1
Building file: ../kl25z4/peripherals_MKL25Z4.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"kl25z4/peripherals_MKL25Z4.d" -MT"kl25z4/peripherals_MKL25Z4.o" -c -o "kl25z4/peripherals_MKL25Z4.o" "../kl25z4/peripherals_MKL25Z4.c"
../kl25z4/peripherals_MKL25Z4.c:31:35: fatal error: bootloader/bl_context.h: No such file or directory
#include "bootloader/bl_context.h"
 ^
compilation terminated.

make: *** [kl25z4/peripherals_MKL25Z4.o] Error 1
Building file: ../kl25z4/pinmux_utility_common.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -DDEBUG -DNDEBUG -DUSB_STACK_BM -DCPU_MKL25Z128VLK4 -DCPU_IS_ARM_CORTEX_M0P=1 -DFREEDOM -DBL_TARGET_FLASH -I../../../src -I../../../src/startup -I../../../../../src/platform/devices/MKL25Z4 -I../../../../../src/autobaud -I../../../../../src/usb/include -I../../../../../src/usb/osa -I../../../../../src/usb/device -I../../../../../src/usb/device/class -I../../../../../src/bm_usb -I../../../../../src/include -I../../../../../src/platform -I../../../../../src/platform/devices -I../../../../../src/platform/CMSIS/Include -I../../../../../src -I../../../../../src/drivers -I../../../../../src/startup -I../../../../../src/drivers/common -std=gnu99 -flto -fno-inline-small-functions -fno-common -ffreestanding -fno-builtin -fshort-wchar -mapcs -MMD -MP -MF"kl25z4/pinmux_utility_common.d" -MT"kl25z4/pinmux_utility_common.o" -c -o "kl25z4/pinmux_utility_common.o" "../kl25z4/pinmux_utility_common.c"
../kl25z4/pinmux_utility_common.c:34:31: fatal error: bootloader_common.h: No such file or directory
#include "bootloader_common.h"
 ^
compilation terminated.

make: *** [kl25z4/pinmux_utility_common.o] Error 1
make: Target `all' not remade because of errors.

17:37:09 Build Finished (took 1s.224ms)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's worth pointing out that though&amp;nbsp;&lt;EM&gt;almost&lt;/EM&gt; all the files failed to compile, the .s files compiled properly - maybe they hold the answer. &amp;nbsp;They are:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;../src/startup/crt0_gcc.S&lt;/P&gt;&lt;P&gt;../src/memory/src/pattern_fill_gcc.S&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;H1 id="toc-hId--1273368130"&gt;In Closing...&lt;/H1&gt;&lt;P&gt;To reiterate, my question is "How can make a copy of the original KL25Z bootloader and compile it?" &amp;nbsp;I appreciate any help (including all the help given to date!).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338462" rel="noopener noreferrer" target="_blank"&gt;freedom_bootloader_kl25z.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693698#M450</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2020-11-02T13:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create and build bootloader project</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693699#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;your project still contains links to linked files and folders, and therefore will not build if the links are broken. What worked for me best is the approach to copy linked projects as described in&amp;nbsp; &lt;A href="https://mcuoneclipse.com/2017/07/01/transforming-eclipse-linked-projects-into-standalone-projects/"&gt;https://mcuoneclipse.com/2017/07/01/transforming-eclipse-linked-projects-into-standalone-projects/&lt;/A&gt;. That way I get a fully standalone project with some final hand modifications.&lt;/P&gt;&lt;P&gt;I did this already for the FRDM-K22F Board (see &lt;A href="https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/KDS/FRDM-K22F/FRDM-K22F_KBOOT_bootloader"&gt;https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/KDS/FRDM-K22F/FRDM-K22F_KBOOT_bootloader&lt;/A&gt; ), but not for your FRDM-KL25Z board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 08:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693699#M451</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-08-05T08:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create and build bootloader project</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693700#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your recipe got me 80% of the way there -- thank you. &amp;nbsp;("Now all that remains is the other 80%" &lt;IMG alt="Smiley Happy" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="https://community.nxp.com/i/smilies/16x16_smiley-happy.png" title="Smiley Happy" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project now compiles but fails to link. &amp;nbsp;I suspect I don't have some linker map properly set up, but since I've never touched a linker map I'm not sure that's the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you see anything obvious in the output below, I'd be happy to learn. &amp;nbsp;In the meantime, I'll study your K22F bootloader example and see what I can learn from it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;11:38:17 **** Incremental Build of configuration debug for project freedom_bootloader ****

make -k all
Building target: freedom_bootloader.elf
Invoking: Cross ARM C Linker
arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -T ../link/MKL25Z128xxx4_application_0x0000.ld -Xlinker --gc-sections -Wl,-Map,"freedom_bootloader.map" -Xlinker -z&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-Xlinker muldefs &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-flto&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;--specs=nano.specs&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-ffunction-sections&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fdata-sections&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-ffreestanding&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-builtin&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fshort-wchar -Wl,--no-wchar-size-warning&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-mapcs&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-Xlinker -static&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-Xlinker --defsym=__ram_vector_table__=1 -o "freedom_bootloader.elf" -Xlinker --start-group&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/utilities/src/fsl_assert.o ./src/utilities/src/fsl_rtos_abstraction.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/usb/osa/usb_osa_bm.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/usb/device/class/usb_device_class.o ./src/usb/device/class/usb_device_hid.o ./src/usb/device/class/usb_device_msc.o ./src/usb/device/class/usb_device_msc_ufi.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/usb/device/usb_device_ch9.o ./src/usb/device/usb_device_dci.o ./src/usb/device/usb_device_khci.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/usb/bm_composite/composite.o ./src/usb/bm_composite/hid_bootloader.o ./src/usb/bm_composite/msc_disk.o ./src/usb/bm_composite/usb_descriptor.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/startup/crt0_gcc.o ./src/startup/startup.o ./src/startup/startup_MKL25Z4.o ./src/startup/system_MKL25Z4.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/sbloader/src/sbloader.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/property/src/property.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/platform/devices/MKL25Z4/gcc/startup_MKL25Z4.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/platform/devices/MKL25Z4/fsl_clock.o ./src/platform/devices/MKL25Z4/system_MKL25Z4.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/packet/src/serial_packet.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/memory/src/device_memory.o ./src/memory/src/flash_memory.o ./src/memory/src/memory.o ./src/memory/src/normal_memory.o ./src/memory/src/pattern_fill_gcc.o ./src/memory/src/sram_init_cm0plus.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/watchdog/src/fsl_watchdog_cop.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/uart/fsl_uart.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/systick/src/systick.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/spi/fsl_spi.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/smc/smc.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/microseconds/src/microseconds_pit.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/lpsci/fsl_lpsci.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/i2c/fsl_i2c.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/gpio/fsl_gpio.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/flash/fsl_flash.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/drivers/common/fsl_common.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/crc/src/crc16.o ./src/crc/src/crc32.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/bootloader/src/bl_command.o ./src/bootloader/src/bl_context.o ./src/bootloader/src/bl_exception_handler.o ./src/bootloader/src/bl_main.o ./src/bootloader/src/bl_shutdown_cleanup.o ./src/bootloader/src/bl_tree_root.o ./src/bootloader/src/bl_user_entry.o ./src/bootloader/src/i2c_peripheral_interface.o ./src/bootloader/src/spi_peripheral_interface.o ./src/bootloader/src/uart0_peripheral_interface.o ./src/bootloader/src/usb_hid_msc_peripheral_interface.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./src/autobaud/src/autobaud_irq.o&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;./kl25z4/bl_i2c_irq_config_common.o ./kl25z4/clock_config_MKL25Z4.o ./kl25z4/hardware_init_MKL25Z4.o ./kl25z4/memory_map_MKL25Z4.o ./kl25z4/peripherals_MKL25Z4.o ./kl25z4/pinmux_utility_common.o &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-lm -lg -lgcc -lnosys -Xlinker --end-group

/Applications/KDS_v3.app/Contents/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: freedom_bootloader.elf section `.interrupts' will not fit in region `m_interrupts'
/Applications/KDS_v3.app/Contents/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: freedom_bootloader.elf section `.flash_config' will not fit in region `m_flash_config'
/Applications/KDS_v3.app/Contents/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: section .text loaded at [0000000000000410,0000000000011c4f] overlaps section .flash_config loaded at [0000000000000400,000000000000041f]
/Applications/KDS_v3.app/Contents/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: region `m_interrupts' overflowed by 128 bytes
/Applications/KDS_v3.app/Contents/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: region `m_flash_config' overflowed by 16 bytes

collect2: error: ld returned 1 exit status
make: *** [freedom_bootloader.elf] Error 1
make: Target `all' not remade because of errors.

11:38:19 Build Finished (took 1s.939ms)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:59:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693700#M452</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2020-11-02T13:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create and build bootloader project</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693701#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;it looks you are using/linking the interrupt vector table and the the flash configuration structure twice.&lt;/P&gt;&lt;P&gt;Can you check this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 09:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693701#M453</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-08-08T09:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create and build bootloader project</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693702#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe your diagnosis is correct. &amp;nbsp;In my freedom_bootloader source tree, I have the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ./link/MKL25Z128xxx4_application_0x0000.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z128xxx4_flash.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z128xxx4_ram.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z32xxx4_flash.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z32xxx4_ram.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z64xxx4_flash.ld&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ./src/platform/devices/MKL25Z4/gcc/MKL25Z64xxx4_ram.ld&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and its clear that each one defines a memory layout. &amp;nbsp;I'm not clear which I should have in my config (nor what causes any given file to be included), but I'll try to figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 00:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693702#M454</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-08-11T00:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create and build bootloader project</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693703#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved, I think. &amp;nbsp; I moved away the&amp;nbsp;./src/platform/devices/MKL25Z4/gcc directory (and the iar and the arm directories) which contained the 'extra' .ld files. &amp;nbsp;It now compiles and links without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Now I just need to flash it to a FRDM board and use it to load a test program, but those are separate problems).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 02:26:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Cannot-create-and-build-bootloader-project/m-p/693703#M455</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-08-11T02:26:58Z</dc:date>
    </item>
  </channel>
</rss>

