<?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 tip on how to build Kinetis SDK in Linux in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/tip-on-how-to-build-Kinetis-SDK-in-Linux/m-p/297877#M17</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The new Kinetis SDK 1.0 Beta supports building and debugging on Linux systems.&amp;nbsp; I just got it to build on mine.&amp;nbsp; Just required a very simple modification to a single file to tell it where my gcc compiler is located.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; I am using Ubuntu 12.04 LTS with arm gcc 4.7.4 installed&amp;nbsp; to /usr/arm-none-eabi/&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the KSDK folder /mk/, edit the file &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;common.mk file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;ensure this section is un-commented, and change the path to the appropriate path where arm-none-eabi is installed on your machine.&amp;nbsp; For me it is /usr/&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;GCC_TOOLCHAIN_DIR := /usr&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CC_VERSION := 4.7.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now cd into the directory of the app you want to build&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;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mac@mac-VirtualBox:$&lt;/SPAN&gt; cd ../apps/hello_world/gcc/frdmk64f120m/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and type make&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;mac@mac-VirtualBox:$ make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling apps/hello_world/src/hello_world.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling boards/frdmk64f120m/gpio_pins.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling boards/frdmk64f120m/hardware_init.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling boards/frdmk64f120m/pin_mux.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Assembling platform/startup/MK64F12/gcc/startup_MK64F12.S&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling platform/startup/MK64F12/system_MK64F12.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling platform/startup/startup.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Linking hello_world&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Output ELF:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; ./output/Flash_Release/hello_world.elf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Output binary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; ./output/Flash_Release/hello_world.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See info on setting up gcc &amp;amp; gdb toolchain&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-objectid="317201" data-objecttype="1" href="https://community.nxp.com/thread/317201"&gt;gcc compiling + gdb debugging on Kinetis on a Linux host - Kinetis L Examples available&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 19:53:44 GMT</pubDate>
    <dc:creator>macl</dc:creator>
    <dc:date>2014-05-14T19:53:44Z</dc:date>
    <item>
      <title>tip on how to build Kinetis SDK in Linux</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/tip-on-how-to-build-Kinetis-SDK-in-Linux/m-p/297877#M17</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The new Kinetis SDK 1.0 Beta supports building and debugging on Linux systems.&amp;nbsp; I just got it to build on mine.&amp;nbsp; Just required a very simple modification to a single file to tell it where my gcc compiler is located.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; I am using Ubuntu 12.04 LTS with arm gcc 4.7.4 installed&amp;nbsp; to /usr/arm-none-eabi/&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the KSDK folder /mk/, edit the file &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;common.mk file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;ensure this section is un-commented, and change the path to the appropriate path where arm-none-eabi is installed on your machine.&amp;nbsp; For me it is /usr/&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;GCC_TOOLCHAIN_DIR := /usr&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CC_VERSION := 4.7.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now cd into the directory of the app you want to build&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;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mac@mac-VirtualBox:$&lt;/SPAN&gt; cd ../apps/hello_world/gcc/frdmk64f120m/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and type make&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;mac@mac-VirtualBox:$ make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling apps/hello_world/src/hello_world.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling boards/frdmk64f120m/gpio_pins.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling boards/frdmk64f120m/hardware_init.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling boards/frdmk64f120m/pin_mux.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Assembling platform/startup/MK64F12/gcc/startup_MK64F12.S&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling platform/startup/MK64F12/system_MK64F12.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Compiling platform/startup/startup.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Linking hello_world&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Output ELF:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; ./output/Flash_Release/hello_world.elf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; Output binary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; ./output/Flash_Release/hello_world.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See info on setting up gcc &amp;amp; gdb toolchain&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-objectid="317201" data-objecttype="1" href="https://community.nxp.com/thread/317201"&gt;gcc compiling + gdb debugging on Kinetis on a Linux host - Kinetis L Examples available&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 19:53:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/tip-on-how-to-build-Kinetis-SDK-in-Linux/m-p/297877#M17</guid>
      <dc:creator>macl</dc:creator>
      <dc:date>2014-05-14T19:53:44Z</dc:date>
    </item>
  </channel>
</rss>

