<?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>MCU BootloaderのトピックCan build Debug target but not Release target</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Can-build-Debug-target-but-not-Release-target/m-p/711927#M585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;As per&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/thread/459094" rel="nofollow noopener noreferrer" target="_blank"&gt;this post on building a custom bootloader&lt;/A&gt;, I can compile and run the Debug target for my code. &amp;nbsp;However, switching to a Release target generates many (many) errors. &amp;nbsp;Here are some examples of the errors:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;&lt;P class=""&gt;12:34:48 **** Incremental Build of configuration release for project freedom_bootloader ****&lt;/P&gt;&lt;P class=""&gt;make -k all&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/utilities/src/fsl_assert.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-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"&lt;/P&gt;&lt;P class=""&gt;../src/utilities/src/fsl_assert.c:31:44: fatal error: utilities/fsl_rtos_abstraction.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "utilities/fsl_rtos_abstraction.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;P class=""&gt;compilation terminated.&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/utilities/src/fsl_rtos_abstraction.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;make: *** [src/utilities/src/fsl_assert.o] Error 1&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-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"&lt;/P&gt;&lt;P class=""&gt;../src/utilities/src/fsl_rtos_abstraction.c:31:34: fatal error: utilities/fsl_assert.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "utilities/fsl_assert.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;P class=""&gt;compilation terminated.&lt;/P&gt;&lt;P class=""&gt;make: *** [src/utilities/src/fsl_rtos_abstraction.o] Error 1&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/usb/osa/usb_osa_bm.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-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"&lt;/P&gt;&lt;P class=""&gt;../src/usb/osa/usb_osa_bm.c:31:17: fatal error: usb.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "usb.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;P class=""&gt;compilation terminated.&lt;/P&gt;&lt;P class=""&gt;make: *** [src/usb/osa/usb_osa_bm.o] Error 1&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/usb/device/class/usb_device_class.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-mapcs -MMD -MP -MF"src/usb/device/class/usb_device_class.d" -MT"src/usb/device/class/usb_device_class.o" -c -o "src/usb/device/class/usb_device_class.o" "../src/usb/device/class/usb_device_class.c"&lt;/P&gt;&lt;P class=""&gt;../src/usb/device/class/usb_device_class.c:31:31: fatal error: usb_device_config.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "usb_device_config.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the include path is not set up properly. &amp;nbsp;Is there an obvious place to check on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 19:44:36 GMT</pubDate>
    <dc:creator>robertpoor</dc:creator>
    <dc:date>2017-08-30T19:44:36Z</dc:date>
    <item>
      <title>Can build Debug target but not Release target</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Can-build-Debug-target-but-not-Release-target/m-p/711927#M585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;As per&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/thread/459094" rel="nofollow noopener noreferrer" target="_blank"&gt;this post on building a custom bootloader&lt;/A&gt;, I can compile and run the Debug target for my code. &amp;nbsp;However, switching to a Release target generates many (many) errors. &amp;nbsp;Here are some examples of the errors:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;&lt;P class=""&gt;12:34:48 **** Incremental Build of configuration release for project freedom_bootloader ****&lt;/P&gt;&lt;P class=""&gt;make -k all&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/utilities/src/fsl_assert.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-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"&lt;/P&gt;&lt;P class=""&gt;../src/utilities/src/fsl_assert.c:31:44: fatal error: utilities/fsl_rtos_abstraction.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "utilities/fsl_rtos_abstraction.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;P class=""&gt;compilation terminated.&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/utilities/src/fsl_rtos_abstraction.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;make: *** [src/utilities/src/fsl_assert.o] Error 1&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-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"&lt;/P&gt;&lt;P class=""&gt;../src/utilities/src/fsl_rtos_abstraction.c:31:34: fatal error: utilities/fsl_assert.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "utilities/fsl_assert.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;P class=""&gt;compilation terminated.&lt;/P&gt;&lt;P class=""&gt;make: *** [src/utilities/src/fsl_rtos_abstraction.o] Error 1&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/usb/osa/usb_osa_bm.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-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"&lt;/P&gt;&lt;P class=""&gt;../src/usb/osa/usb_osa_bm.c:31:17: fatal error: usb.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "usb.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;P class=""&gt;compilation terminated.&lt;/P&gt;&lt;P class=""&gt;make: *** [src/usb/osa/usb_osa_bm.o] Error 1&lt;/P&gt;&lt;P class=""&gt;Building file: ../src/usb/device/class/usb_device_class.c&lt;/P&gt;&lt;P class=""&gt;Invoking: Cross ARM C Compiler&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-g -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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-inline-small-functions&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-fno-common&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&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-mapcs -MMD -MP -MF"src/usb/device/class/usb_device_class.d" -MT"src/usb/device/class/usb_device_class.o" -c -o "src/usb/device/class/usb_device_class.o" "../src/usb/device/class/usb_device_class.c"&lt;/P&gt;&lt;P class=""&gt;../src/usb/device/class/usb_device_class.c:31:31: fatal error: usb_device_config.h: No such file or directory&lt;/P&gt;&lt;P class=""&gt;#include "usb_device_config.h"&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/P&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the include path is not set up properly. &amp;nbsp;Is there an obvious place to check on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 19:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Can-build-Debug-target-but-not-Release-target/m-p/711927#M585</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-08-30T19:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can build Debug target but not Release target</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Can-build-Debug-target-but-not-Release-target/m-p/711928#M586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved. &amp;nbsp; I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set up the project, as per &lt;A _jive_internal="true" href="https://community.nxp.com/thread/457248"&gt;guidance from Erich Styger&lt;/A&gt;,&amp;nbsp;I adjusted the Include Paths for the Debug configuration, but not for the Release configuration. &amp;nbsp;See images below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-08-30 at 12.50.25 PM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28342iC3819170FC84E74E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-08-30 at 12.50.25 PM.png" alt="Screen Shot 2017-08-30 at 12.50.25 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-08-30 at 12.50.44 PM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28389iEB40B2A797E9A3ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-08-30 at 12.50.44 PM.png" alt="Screen Shot 2017-08-30 at 12.50.44 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Should be an easy fix...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: You may also need to update Cross ARM C Linker =&amp;gt; General =&amp;gt; Script Files (-T) to match the debug config as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 19:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Can-build-Debug-target-but-not-Release-target/m-p/711928#M586</guid>
      <dc:creator>robertpoor</dc:creator>
      <dc:date>2017-08-30T19:52:14Z</dc:date>
    </item>
  </channel>
</rss>

