<?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 cloning MQX BSP for kinetis in CW10 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179322#M2575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to follow AN4287 about cloning the MQX bsp, but it is written for coldfire and there seems to be some slight differences when doing it for kinetis, mostly related to modifying the project settings in CW.&amp;nbsp; I tried to make my best guess as to when I should do, but it failed miserably.&amp;nbsp; Has anyone documented this process for kinetis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 03:43:28 GMT</pubDate>
    <dc:creator>bigredhdl</dc:creator>
    <dc:date>2011-11-04T03:43:28Z</dc:date>
    <item>
      <title>cloning MQX BSP for kinetis in CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179322#M2575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to follow AN4287 about cloning the MQX bsp, but it is written for coldfire and there seems to be some slight differences when doing it for kinetis, mostly related to modifying the project settings in CW.&amp;nbsp; I tried to make my best guess as to when I should do, but it failed miserably.&amp;nbsp; Has anyone documented this process for kinetis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 03:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179322#M2575</guid>
      <dc:creator>bigredhdl</dc:creator>
      <dc:date>2011-11-04T03:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: cloning MQX BSP for kinetis in CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179323#M2576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a list of most places where the kinetis seems to differ from AN4287:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 3.2 step 1 says “Go to [MQX INSTALLATION]\mqx\build\bsp.”, But figure 24 shows [MQX INSTALLATION]\mqx\&lt;U&gt;source&lt;/U&gt;\bsp. I’m assuming the figure is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 3.4 step 8 shows a line “for %%F in (..\..\..\CUSTOM_BOARD_config\twrmcf52259\*.h) do copy /Y /B ..\..\..\mqx&lt;/P&gt;&lt;P&gt;\source\include\dontchg.h + %%F ..\%%~nF%%~xF” that I don’t see.&amp;nbsp; Also there are some other differences in the files.&amp;nbsp; I’m assuming that if I change all directiries that point to twrk60n512 to CUSTOM_BOARD_twrk60n512 and change twrk60n512.h to CUSTOM_BOARD_twrk60n512.h that I will be okay.&amp;nbsp; Also I was cloning a processor expert BSP and sometimes the .bat file references the non-PE folder and other times it references the PE folder so do I only change the PE folder references?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 3.5 step 10 – there is no boot.c file in …\mqx\source\bsp\twrk60n512\cw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 3.7 step 4 – this panel is different for ARM than for coldfire.&amp;nbsp; There is now “User Path” or “User Recursive Path”.&amp;nbsp; There is a “Include Search Paths” window, should I change all three entries in this window?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 3.7 step 8 – On my screen there is also stuff in the Pre-Build steps field&lt;/P&gt;&lt;P&gt;"${ProjDirPath}\..\..\bat\bsp_twrk60n512.bat" "${MQX_ROOT_DIR}\lib\twrk60n512.cw10\bsp" bsp_twrk60n512_d.a”&lt;/P&gt;&lt;P&gt;Should this be changed to&lt;/P&gt;&lt;P&gt;"${ProjDirPath}\..\..\bat\CUSTOM_BOARD_bsp_twrk60n512.bat" "${MQX_ROOT_DIR}\lib\CUSTOM_BOARD_twrk60n512.cw10\bsp" CUSTOM_BOARD_bsp_twrk60n512_d.a” ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the instructions read "${ProjDirPath}\..\..\bat\bsp_CUSTOM_BOARD_mcf52259.bat" "${MQX_PATH}\lib\CUSTOM_BOARD_mcf52259.cw10\mqx"&lt;/P&gt;&lt;P&gt;But figure 41 shows "${ProjDirPath}\..\..\bat\bsp_CUSTOM_BOARD_mcf52259.bat" "${MQX_PATH}\lib\CUSTOM_BOARD_mcf52259.cw10\&lt;U&gt;bsp&lt;/U&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 3.9 – Why do I change the BSP location, but not the PSP location?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also step 8 refers to an MQX Libraries folder that I do not have, but I do see a reference to “Additional Libraris” in the ARM Linker Input settings, do I need to change these?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the ARM Compiler Input settings have the following entries:&lt;/P&gt;&lt;P&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10/bsp"&lt;/P&gt;&lt;P&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10/psp"&lt;/P&gt;&lt;P&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10"&lt;/P&gt;&lt;P&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10/bsp/Generated_Code"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which ones do I change?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 22:26:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179323#M2576</guid>
      <dc:creator>bigredhdl</dc:creator>
      <dc:date>2011-11-04T22:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: cloning MQX BSP for kinetis in CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179324#M2577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I expect that you can understand me, my english isn't so good.... :smileywink:&lt;/P&gt;&lt;P&gt;I do for my custom k60 board, I bleieve you can do for yours...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Section 3.2 step 1 says “Go to [MQX INSTALLATION]\mqx\build\bsp.”, But figure 24 shows [MQX INSTALLATION]\mqx\&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff; text-decoration: underline;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;\bsp. I’m assuming the figure is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You should copy both directories, the one in build\ and the one in source\.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Section 3.4 step 8 shows a line “for %%F in (..\..\..\CUSTOM_BOARD_config\twrmcf52259\*.h) do copy /Y /B ..\..\..\mqx&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;\source\include\dontchg.h + %%F ..\%%~nF%%~xF” that I don’t see.&amp;nbsp; Also there are some other differences in the files.&amp;nbsp; I’m assuming that if I change all directiries that point to twrk60n512 to CUSTOM_BOARD_twrk60n512 and change twrk60n512.h to CUSTOM_BOARD_twrk60n512.h that I will be okay.&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;Yes, you should rename every place where you found &amp;lt;original_twrkit&amp;gt; to your &amp;lt;customboard_kinetis&amp;gt; paths.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Section 3.7 step 4 – this panel is different for ARM than for coldfire.&amp;nbsp; There is now “User Path” or “User Recursive Path”.&amp;nbsp; There is a “Include Search Paths” window, should I change all three entries in this window?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style=": ; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here you must go to section "build variables" and select "show system variables", and rename those variables which are pointing to another path. (ProjDirLocation for example)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Section 3.7 step 8 – On my screen there is also stuff in the Pre-Build steps field&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"${ProjDirPath}\..\..\bat\bsp_twrk60n512.bat" "${MQX_ROOT_DIR}\lib\twrk60n512.cw10\bsp" bsp_twrk60n512_d.a”&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Should this be changed to&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"${ProjDirPath}\..\..\bat\CUSTOM_BOARD_bsp_twrk60n512.bat" "${MQX_ROOT_DIR}\lib\CUSTOM_BOARD_twrk60n512.cw10\bsp" CUSTOM_BOARD_bsp_twrk60n512_d.a” ?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;Yes, because these were be the "executable" files.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Also, the instructions read "${ProjDirPath}\..\..\bat\bsp_CUSTOM_BOARD_mcf52259.bat" "${MQX_PATH}\lib\CUSTOM_BOARD_mcf52259.cw10\mqx"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;But figure 41 shows "${ProjDirPath}\..\..\bat\bsp_CUSTOM_BOARD_mcf52259.bat" "${MQX_PATH}\lib\CUSTOM_BOARD_mcf52259.cw10\&lt;SPAN style="text-decoration: underline;"&gt;bsp&lt;/SPAN&gt;"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;Only rename that in your codewarrior...&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Section 3.9 – Why do I change the BSP location, but not the PSP location? &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Also step 8 refers to an MQX Libraries folder that I do not have, but I do see a reference to “Additional Libraris” in the ARM Linker Input settings, do I need to change these? &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Also, the ARM Compiler Input settings have the following entries:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10/bsp"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10/psp"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"${MQX_ROOT_DIR}/lib/twrk60n512.cw10/bsp/Generated_Code"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;You must change the environment paths in C/C++ General -&amp;gt;&amp;nbsp; "pahts and symbols"; every variable there you must rename for that which indicates the path in your board.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;When you change the variables there, they must update the list in compiler section...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;enjoy! =)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;kind regards.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 23:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/cloning-MQX-BSP-for-kinetis-in-CW10/m-p/179324#M2577</guid>
      <dc:creator>gsanchez</dc:creator>
      <dc:date>2012-10-10T23:23:43Z</dc:date>
    </item>
  </channel>
</rss>

