<?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>MCUXpresso SDKのトピックRe: no startup files with new C++ lpc54114 sdk project</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/no-startup-files-with-new-C-lpc54114-sdk-project/m-p/685191#M217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi klausrschambeck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the SDK 2.2.1 package for the LPCXpresso54114 board does not come with a cpp startup file, that is why the project is generated without it. I have already reported this, as a workaround you can add the attached file to your cpp project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the lpcopen project, you can create it without the need to remove the SDK package, just make sure that you select the LPC54114xxx MCU from the "Preinstalled MCUs" list instead of the "SDK MCUs" list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16639i0DC4BE03FD88FD70/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 20:00:00 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2017-08-09T20:00:00Z</dc:date>
    <item>
      <title>no startup files with new C++ lpc54114 sdk project</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/no-startup-files-with-new-C-lpc54114-sdk-project/m-p/685190#M216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for test purpose i imported the "C" hello world sdk demo app for the lpc54114 sdk 2.2.1 and everything seems to work ... it prints "hello world and somehow also echoes input strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since this is a "C" project and i need a "C++" framework i was really not into converting it into "C++" because of all the clumsy C-compiler and C-linker settings transfer into the C++ equivalents and a bunch more ... did it successful with the lpcopen uart sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, i tried to create a brand new mcuxpresso sdk based project and only changed the project type from "C" compiler setting to "C++" and included all drivers, otherwise i left the defaults ... it created ... it compiles to a size of, see below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;text data bss dec hex filename&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;200 0 8220 8420 20e4 lpc54114_sdk_main.axf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;furthermore the startup directory is empty and no&amp;nbsp;startup_lpc5411x.c &amp;nbsp;/ cpp file can be found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am i doing something wrong ... &amp;nbsp;i thought i followed&amp;nbsp;the following tutorial as much as possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/video/mcuxpresso-ide-creating-new-sdk-project:MCUXPRESSO-IDE-CREATING-SDK" title="http://www.nxp.com/video/mcuxpresso-ide-creating-new-sdk-project:MCUXPRESSO-IDE-CREATING-SDK"&gt;MCUXpresso IDE - Creating New SDK Project|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can this be solved ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what did i do wrong ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and cheers efiLabs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;meanwhile i tried it also with the latest mcuxpresso 10.0.2 ... same thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more weird thing, despite an empty startup directory ... i compared the hello world example directory tree to the one from the new C++ project and noticed the following ... the new C++ project has no board folder and this missing board folder content is now inside the source folder ... also the board, clock-config and pin_mux files differ between the hello world example and the create new C++ project ... maybe this helps, maybe not&lt;/P&gt;&lt;P&gt;in the meantime i upgraded the hello world "C" example to "C++" and it still works, so i can somehow continue my sdk evaluation&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it would be nice if the new C++ project would produce a working framework based upon the new sdk feature&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i also noticed is the following : upon installing an sdk it doesn't seem possible to create an lpcopen project anymore ... unless you remove the sdk zip file form the "SDKPackages" folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any answer to this help cry would be highest appreciated :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building target: lpc54114_sdk_main.axf&lt;BR /&gt;Invoking: MCU C++ Linker&lt;BR /&gt;arm-none-eabi-c++ -nostdlib -L"/usr/local/e_drive/Baja/code-arm/cortex_54114/lpc54114_sdk_main/libs" -Xlinker -Map="lpc54114_sdk_main.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -T lpc54114_sdk_main_Debug.ld -o "lpc54114_sdk_main.axf" ./utilities/fsl_debug_console.o ./source/board.o ./source/clock_config.o ./source/lpc54114_sdk_main.o ./source/pin_mux.o ./drivers/fsl_adc.o ./drivers/fsl_clock.o ./drivers/fsl_common.o ./drivers/fsl_crc.o ./drivers/fsl_ctimer.o ./drivers/fsl_dma.o ./drivers/fsl_dmic.o ./drivers/fsl_dmic_dma.o ./drivers/fsl_flashiap.o ./drivers/fsl_flexcomm.o ./drivers/fsl_fmeas.o ./drivers/fsl_gint.o ./drivers/fsl_gpio.o ./drivers/fsl_i2c.o ./drivers/fsl_i2c_dma.o ./drivers/fsl_i2s.o ./drivers/fsl_i2s_dma.o ./drivers/fsl_inputmux.o ./drivers/fsl_mrt.o ./drivers/fsl_pint.o ./drivers/fsl_power.o ./drivers/fsl_reset.o ./drivers/fsl_rtc.o ./drivers/fsl_sctimer.o ./drivers/fsl_spi.o ./drivers/fsl_spi_dma.o ./drivers/fsl_usart.o ./drivers/fsl_usart_dma.o ./drivers/fsl_utick.o ./drivers/fsl_wwdt.o ./CMSIS/system_LPC54114_cm4.o -lfsl_power_cm4_hard&lt;BR /&gt;Memory region Used Size Region Size %age Used&lt;BR /&gt; PROGRAM_FLASH: 200 B 256 KB 0.08%&lt;BR /&gt; SRAM1: 8220 B 64 KB 12.54%&lt;BR /&gt; SRAM0: 0 GB 64 KB 0.00%&lt;BR /&gt; SRAMX: 0 GB 32 KB 0.00%&lt;BR /&gt; SRAM2: 0 GB 32 KB 0.00%&lt;BR /&gt;/usr/mcuxpresso/mcuxpressoide-10.0.0_344/ide/tools/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol ResetISR; defaulting to 00000000&lt;BR /&gt;Finished building target: lpc54114_sdk_main.axf&lt;BR /&gt; &lt;BR /&gt;make --no-print-directory post-build&lt;BR /&gt;Performing post-build steps&lt;BR /&gt;arm-none-eabi-size "lpc54114_sdk_main.axf"; # arm-none-eabi-objcopy -v -O binary "lpc54114_sdk_main.axf" "lpc54114_sdk_main.bin" ; # checksum -p LPC54114J256 -d "lpc54114_sdk_main.bin";&lt;BR /&gt; text data bss dec hex filename&lt;BR /&gt; 200 0 8220 8420 20e4 lpc54114_sdk_main.axf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 00:56:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/no-startup-files-with-new-C-lpc54114-sdk-project/m-p/685190#M216</guid>
      <dc:creator>klausrschambeck</dc:creator>
      <dc:date>2017-07-27T00:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: no startup files with new C++ lpc54114 sdk project</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/no-startup-files-with-new-C-lpc54114-sdk-project/m-p/685191#M217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi klausrschambeck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the SDK 2.2.1 package for the LPCXpresso54114 board does not come with a cpp startup file, that is why the project is generated without it. I have already reported this, as a workaround you can add the attached file to your cpp project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the lpcopen project, you can create it without the need to remove the SDK package, just make sure that you select the LPC54114xxx MCU from the "Preinstalled MCUs" list instead of the "SDK MCUs" list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16639i0DC4BE03FD88FD70/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Carlos Mendoza&lt;BR /&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/no-startup-files-with-new-C-lpc54114-sdk-project/m-p/685191#M217</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2017-08-09T20:00:00Z</dc:date>
    </item>
  </channel>
</rss>

