<?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>Kinetis Design Studio中的主题 Re: Migration from KDS2 to KDS3, link problem</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398792#M2610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,I have the same question,&lt;/P&gt;&lt;P&gt;but when I &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;removed -nostartfiles -nodefaultlibs -nostdlib follow you &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;it don't outout the *.elf file only an a.out&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;and I can't download it to my board&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;could you help me??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Building target: mytask_k64.elf'&lt;/P&gt;&lt;P&gt;'Invoking: Cross ARM C++ Linker'&lt;/P&gt;&lt;P&gt;arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections&amp;nbsp; -g3 -T E:\Freescale\KSDK_1.2.0\platform\devices\MK64F12\linker\gcc\MK64FN1M0xxx12_flash.ld -Xlinker --gc-sections -L"E:\Freescale\KSDK_1.2.0\lib\ksdk_mqx_lib\kds\K64F12\debug" -L"E:\Freescale\KSDK_1.2.0\lib\ksdk_platform_lib\kds\K64F12\debug -L"E:\Freescale\KSDK_1.2.0\rtos\mqx\lib\frdmk64f.kds\debug\nshell" -L"E:\Freescale\KSDK_1.2.0\middleware\filesystem\mfs\lib\frdmk64f.kds\debug\mfs" -L"E:\Freescale\KSDK_1.2.0\middleware\tcpip\rtcs\lib\frdmk64f.kds\debug\rtcs" -L"E:\Freescale\KSDK_1.2.0\rtos\mqx\lib\frdmk64f.kds\debug\mqx_stdlib" -L"E:\Freescale\KSDK_1.2.0\rtos\mqx\lib\frdmk64f.kds\debug\mqx" -Wl,-Map,"mytask_k64.map" -Xlinker --cref --specs=nano.specs -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker --undefined=__isr_vector -Xlinker --defsym=__stack_size__=0x400 -Xlinker --defsym=__heap_size__=0x200 -o "mytask_k64.elf"&amp;nbsp; ./Sources/main.o&amp;nbsp; ./KSDK_Files/board.o ./KSDK_Files/gpio_pins.o ./KSDK_Files/pin_mux.o&amp;nbsp; ./Debug_Console/fsl_debug_console.o ./Debug_Console/fsl_misc_utilities.o ./Debug_Console/print_scan.o&amp;nbsp; ./BSP_Files/init_bsp.o ./BSP_Files/mqx_main.o&amp;nbsp; ./main.o&amp;nbsp; E:/Freescale/KSDK_1.2.0/lib/ksdk_mqx_lib/kds/K64F12/debug/libksdk_platform_mqx.a E:/Freescale/KSDK_1.2.0/middleware/tcpip/rtcs/lib/frdmk64f.kds/debug/rtcs/lib_rtcs.a E:/Freescale/KSDK_1.2.0/lib/ksdk_platform_lib/kds/K64F12/debug/libksdk_platform.a E:/Freescale/KSDK_1.2.0/middleware/filesystem/mfs/lib/frdmk64f.kds/debug/mfs/lib_mfs.a E:/Freescale/KSDK_1.2.0/rtos/mqx/lib/frdmk64f.kds/debug/nshell/lib_nshell.a E:/Freescale/KSDK_1.2.0/rtos/mqx/lib/frdmk64f.kds/debug/mqx_stdlib/lib_mqx_stdlib.a E:/Freescale/KSDK_1.2.0/rtos/mqx/lib/frdmk64f.kds/debug/mqx/lib_mqx.a -lksdk_platform_mqx -l_mqx_stdlib -l_mqx -lgcc -lc -lsupc++ -lm -lnosys&lt;/P&gt;&lt;P&gt;e:/freescale/kds_3.0.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe:&lt;STRONG&gt; warning: cannot find entry symbol Reset_Handler; defaulting to 00000410&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;'Finished building target: mytask_k64.elf'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Sep 2015 10:37:06 GMT</pubDate>
    <dc:creator>wyflsxy</dc:creator>
    <dc:date>2015-09-06T10:37:06Z</dc:date>
    <item>
      <title>Migration from KDS2 to KDS3, link problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398788#M2606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to compile a KDS2 project with KDS3. The project is with K64F, KDSK110, Processeur Expert and MQX RTCS, under Windows7, I followed this post &lt;A _jive_internal="true" data-containerid="11213" data-containertype="14" data-objectid="103698" data-objecttype="102" href="https://community.nxp.com/docs/DOC-103698"&gt;Kinetis Design Studio: Migrating KDS V2.0.0 Projects to GNU Tools for ARM Embedded (Launchpad, KDS V3.0.0)&lt;/A&gt; very usefull.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I got some problem to solve the error below, it seems to be a problem with Semihosting, not sure,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;make -j4 all &lt;/P&gt;&lt;P&gt;Building target: project_maf.elf&lt;/P&gt;&lt;P&gt;Invoking: Cross ARM C++ Linker&lt;/P&gt;&lt;P&gt;arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections&amp;nbsp; -g3 -T "L:/KDS3.0.0/ws_IDD4CLETHBt/project_maf/Project_Settings/Linker_Files/ProcessorExpert.ld" -Xlinker --gc-sections -L"L:/KDS3.0.0/ws_IDD4CLETHBt/project_maf/Project_Settings/Linker_Files" -Wl,-Map,"project_maf.map" -nostartfiles -nodefaultlibs -nostdlib -Xlinker -z -Xlinker muldefs -Xlinker -static&amp;nbsp; -specs=rdimon.specs -o "project_maf.elf"&amp;nbsp; ./flash/CopyToRam.o ./flash/DEFlashPartition.o [...]&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-signalr.o): In function `_kill_r':&lt;/P&gt;&lt;P&gt;signalr.c:(.text._kill_r+0xe): undefined reference to `_kill'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-signalr.o): In function `_getpid_r':&lt;/P&gt;&lt;P&gt;signalr.c:(.text._getpid_r+0x0): undefined reference to `_getpid'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-writer.o): In function `_write_r':&lt;/P&gt;&lt;P&gt;writer.c:(.text._write_r+0x10): undefined reference to `_write'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-closer.o): In function `_close_r':&lt;/P&gt;&lt;P&gt;closer.c:(.text._close_r+0xc): undefined reference to `_close'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-fstatr.o): In function `_fstat_r':&lt;/P&gt;&lt;P&gt;fstatr.c:(.text._fstat_r+0xe): undefined reference to `_fstat'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-isattyr.o): In function `_isatty_r':&lt;/P&gt;&lt;P&gt;isattyr.c:(.text._isatty_r+0xc): undefined reference to `_isatty'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-lseekr.o): In function `_lseek_r':&lt;/P&gt;&lt;P&gt;lseekr.c:(.text._lseek_r+0x10): undefined reference to `_lseek'&lt;/P&gt;&lt;P&gt;C:/Freescale/KDS_3.0.0/eclipse//../toolchain/arm-none-eabi/lib/armv7e-m/fpu/libc.a(lib_a-readr.o): In function `_read_r':&lt;/P&gt;&lt;P&gt;readr.c:(.text._read_r+0x10): undefined reference to `_read'&lt;/P&gt;&lt;P&gt;collect2.exe: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;makefile:98: recipe for target 'project_maf.elf' failed&lt;/P&gt;&lt;P&gt;make: *** [project_maf.elf] Error 1&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to add &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;-specs=rdimon.specs&lt;/STRONG&gt; and&lt;STRONG&gt; &lt;SPAN style="font-family: courier new,courier;"&gt;-specs=nosys.specs&lt;/SPAN&gt;, &lt;/STRONG&gt;I got same error messages.&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 style="font-family: courier new,courier;"&gt;Do you have any idea?&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 style="font-family: courier new,courier;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 06:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398788#M2606</guid>
      <dc:creator>dafodil</dc:creator>
      <dc:date>2015-05-27T06:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from KDS2 to KDS3, link problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398789#M2607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernard,&lt;/P&gt;&lt;P&gt;I think this in the linker options is your problem:&lt;/P&gt;&lt;P&gt;-nostartfiles -nodefaultlibs -nostdlib -Xlinker -z -Xlinker muldefs -Xlinker -static&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this, you say that the linker should not use the default libraries and standard libraries: I suggest you try this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32508i6CBE135EA5608F1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure why you have the additional -Xinker options, are they needed by MQX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 11:18:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398789#M2607</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-05-27T11:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from KDS2 to KDS3, link problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398790#M2608</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;Yes, you are good.&lt;/P&gt;&lt;P&gt;I removed -nostartfiles -nodefaultlibs -nostdlib&lt;/P&gt;&lt;P&gt;and add &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;-specs=rdimon.specs&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;I got no errors, cool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Bernard&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 07:20:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398790#M2608</guid>
      <dc:creator>dafodil</dc:creator>
      <dc:date>2015-05-28T07:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from KDS2 to KDS3, link problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398791#M2609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Erich Styger kirjoitti:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this in the linker options is your problem:&lt;/P&gt;&lt;P&gt;-nostartfiles -nodefaultlibs -nostdlib -Xlinker -z -Xlinker muldefs -Xlinker -static&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit; line-height: 1.5;"&gt;Not sure why you have the additional -Xinker options, are they needed by MQX?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I also experienced this after installing KDS3.0 alongside KDS2.0&lt;/P&gt;&lt;P&gt;After trying KDS3.0, all my projects in KDS2.0 workspace got those odd options, and failed to compile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the checkboxes you highlighted were not checked, but the -nostartfiles etc options were added directly to the text field on the Miscellaneous tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 07:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398791#M2609</guid>
      <dc:creator>markkurönö</dc:creator>
      <dc:date>2015-05-28T07:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from KDS2 to KDS3, link problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398792#M2610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,I have the same question,&lt;/P&gt;&lt;P&gt;but when I &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;removed -nostartfiles -nodefaultlibs -nostdlib follow you &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;it don't outout the *.elf file only an a.out&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;and I can't download it to my board&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;could you help me??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Building target: mytask_k64.elf'&lt;/P&gt;&lt;P&gt;'Invoking: Cross ARM C++ Linker'&lt;/P&gt;&lt;P&gt;arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections&amp;nbsp; -g3 -T E:\Freescale\KSDK_1.2.0\platform\devices\MK64F12\linker\gcc\MK64FN1M0xxx12_flash.ld -Xlinker --gc-sections -L"E:\Freescale\KSDK_1.2.0\lib\ksdk_mqx_lib\kds\K64F12\debug" -L"E:\Freescale\KSDK_1.2.0\lib\ksdk_platform_lib\kds\K64F12\debug -L"E:\Freescale\KSDK_1.2.0\rtos\mqx\lib\frdmk64f.kds\debug\nshell" -L"E:\Freescale\KSDK_1.2.0\middleware\filesystem\mfs\lib\frdmk64f.kds\debug\mfs" -L"E:\Freescale\KSDK_1.2.0\middleware\tcpip\rtcs\lib\frdmk64f.kds\debug\rtcs" -L"E:\Freescale\KSDK_1.2.0\rtos\mqx\lib\frdmk64f.kds\debug\mqx_stdlib" -L"E:\Freescale\KSDK_1.2.0\rtos\mqx\lib\frdmk64f.kds\debug\mqx" -Wl,-Map,"mytask_k64.map" -Xlinker --cref --specs=nano.specs -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker --undefined=__isr_vector -Xlinker --defsym=__stack_size__=0x400 -Xlinker --defsym=__heap_size__=0x200 -o "mytask_k64.elf"&amp;nbsp; ./Sources/main.o&amp;nbsp; ./KSDK_Files/board.o ./KSDK_Files/gpio_pins.o ./KSDK_Files/pin_mux.o&amp;nbsp; ./Debug_Console/fsl_debug_console.o ./Debug_Console/fsl_misc_utilities.o ./Debug_Console/print_scan.o&amp;nbsp; ./BSP_Files/init_bsp.o ./BSP_Files/mqx_main.o&amp;nbsp; ./main.o&amp;nbsp; E:/Freescale/KSDK_1.2.0/lib/ksdk_mqx_lib/kds/K64F12/debug/libksdk_platform_mqx.a E:/Freescale/KSDK_1.2.0/middleware/tcpip/rtcs/lib/frdmk64f.kds/debug/rtcs/lib_rtcs.a E:/Freescale/KSDK_1.2.0/lib/ksdk_platform_lib/kds/K64F12/debug/libksdk_platform.a E:/Freescale/KSDK_1.2.0/middleware/filesystem/mfs/lib/frdmk64f.kds/debug/mfs/lib_mfs.a E:/Freescale/KSDK_1.2.0/rtos/mqx/lib/frdmk64f.kds/debug/nshell/lib_nshell.a E:/Freescale/KSDK_1.2.0/rtos/mqx/lib/frdmk64f.kds/debug/mqx_stdlib/lib_mqx_stdlib.a E:/Freescale/KSDK_1.2.0/rtos/mqx/lib/frdmk64f.kds/debug/mqx/lib_mqx.a -lksdk_platform_mqx -l_mqx_stdlib -l_mqx -lgcc -lc -lsupc++ -lm -lnosys&lt;/P&gt;&lt;P&gt;e:/freescale/kds_3.0.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe:&lt;STRONG&gt; warning: cannot find entry symbol Reset_Handler; defaulting to 00000410&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;'Finished building target: mytask_k64.elf'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Sep 2015 10:37:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Migration-from-KDS2-to-KDS3-link-problem/m-p/398792#M2610</guid>
      <dc:creator>wyflsxy</dc:creator>
      <dc:date>2015-09-06T10:37:06Z</dc:date>
    </item>
  </channel>
</rss>

