<?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 Re: How would you handle KSDK in a product as far as version control is concerned? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376718#M862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave &amp;amp; Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, we are trying to build a library where we can store the KSDK as well as build a software library for the company to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are thinking of having a NAS drive that can be shared among our software developers and in this drive have the library mentioned&lt;/P&gt;&lt;P&gt;above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, we are experiencing the same issues mentioned by Dave.&amp;nbsp; If I develop a module and set PATHs to a specific project, then when&lt;/P&gt;&lt;P&gt;someone from our team wants to use it, its a mess!&amp;nbsp; I have to guide them through linking PATHs, giving them folders.....etc....&amp;nbsp; and of course&lt;/P&gt;&lt;P&gt;there is something that is always forgotten in the process, burning hours of troubleshooting instead of developing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Do you see the NAS drive solution a good one or what do you recommend instead?&amp;nbsp; If your using a NAS drive (any recommendations)?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Is there a video or document (in Kinetis SDK) that demonstrate how to handle version control?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this was written a while ago, but I hope it can be re-instated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Neil Porven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 21:44:54 GMT</pubDate>
    <dc:creator>neilporven</dc:creator>
    <dc:date>2016-02-04T21:44:54Z</dc:date>
    <item>
      <title>How would you handle KSDK in a product as far as version control is concerned?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376715#M859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My intention all along has been to keep KSDK in a separate folder in my SVN repository.&amp;nbsp; The idea is to build the libraries needed (K64F, K22F, etc) once, and then link to the already compiled binaries in each of my firmware projects.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my current mode of operation, I am actually creating test projects in "standalone" mode, which I believe just means that the KSDK files needed are copied to the local project's folder structure.&amp;nbsp; The obvious advantages here are that it avoids the chances "folder reference hell" that I was going through for a little while when I was trying to figure out how to work around the bugs in KDS when trying to start by importing existing projects and copying them into my development workspace.&amp;nbsp; I don't have to worry about finding all of the folder locations for each header file and manually adding each to my C/C++ toolchain's Includes section.&amp;nbsp; It also means that I can maintain different KSDK settings for each project, if desired.&amp;nbsp; Changes are obviously tracked by SVN.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One disadvantage is that certain changes might trigger a lengthy rebuild, which isn't such a big deal.&amp;nbsp; Another, possibly bigger problem is that since the KSDK source files are local to the project, it enables / encourages others to tinker with the KSDK itself, which I'd rather leave as unmodified as possible.&amp;nbsp; And the biggest problem has to do with scalability and the KSDK releases themselves.&amp;nbsp; What I like about keeping KSDK in a separate, buildable working set is that when the KSDK is updated (for example, the upcoming update to 1.2 in Q2), I just have to update the folder, rebuild the libraries, and then all of my other projects will automatically receive the bug fixes.&amp;nbsp; In the "standalone" case, I believe I'd be forced to manually copy the required files over, which doesn't scale well as the number of firmware projects increases.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what are everyone's thoughts here?&amp;nbsp; I don't think there's a right answer, and it probably depends on everyone's own situation, but I'd love to hear how you plan to handle KSDK versioning in your projects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 15:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376715#M859</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-03T15:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How would you handle KSDK in a product as far as version control is concerned?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376716#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dave:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not handling KSDK with version control, but I wanted to share with you my insight about your question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; When KSDK is updated, you get a separate KSDK folder, so I guess the easiest way would be to remove the previous version folder/subfolders from your repository and add the new ones, apart from pointing your projects to the new library binaries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; With Processor Expert in the "Standalone" mode you would not have to copy files over from a new KSDK version. Instead you just update the Environment Variable when installing KSDK and Processor Expert will give you the option to upgrade the KSDK components (&lt;STRONG&gt;fsl_xxx)&lt;/STRONG&gt; to the latest version when importing the project. With this you only re-generate code and Processor Expert will replace the local KSDK files with the new ones. Processor Expert development team is actively working towards easing migration from previous versions of KSDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 01:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376716#M860</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-04-10T01:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How would you handle KSDK in a product as far as version control is concerned?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376717#M861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge, I understand your points, and that upgrading from the current KSDK to future versions is supported by KDS/PEx.&amp;nbsp; It does seem like standalone projects are a viable option as the components can be easily upgraded.&amp;nbsp; However, having the KSDK libraries precompiled is still really nice from a speed standpoint.&amp;nbsp; In addition, when there is one location for the KSDK source, bug fixes independent from FSL's work can be committed and immediately deployed to all firmware projects.&amp;nbsp; I also don't want to encourage future developers here to make changes in a standalone project, because those improvements might not make it to the other devices.&amp;nbsp; Having the KSDK under version control would help out there a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, I also don't really expect to be making many changes to the KSDK, and instead would probably wait for the scheduled releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But should I create standalone projects now and then want to use KSDK source under version control, I should be able to just delete the SDK folder from the standalone projects and then add the linked folders in KSDK_PATH, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 13:26:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376717#M861</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-10T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: How would you handle KSDK in a product as far as version control is concerned?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376718#M862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave &amp;amp; Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, we are trying to build a library where we can store the KSDK as well as build a software library for the company to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are thinking of having a NAS drive that can be shared among our software developers and in this drive have the library mentioned&lt;/P&gt;&lt;P&gt;above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, we are experiencing the same issues mentioned by Dave.&amp;nbsp; If I develop a module and set PATHs to a specific project, then when&lt;/P&gt;&lt;P&gt;someone from our team wants to use it, its a mess!&amp;nbsp; I have to guide them through linking PATHs, giving them folders.....etc....&amp;nbsp; and of course&lt;/P&gt;&lt;P&gt;there is something that is always forgotten in the process, burning hours of troubleshooting instead of developing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Do you see the NAS drive solution a good one or what do you recommend instead?&amp;nbsp; If your using a NAS drive (any recommendations)?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Is there a video or document (in Kinetis SDK) that demonstrate how to handle version control?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this was written a while ago, but I hope it can be re-instated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Neil Porven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:44:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376718#M862</guid>
      <dc:creator>neilporven</dc:creator>
      <dc:date>2016-02-04T21:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: How would you handle KSDK in a product as far as version control is concerned?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376719#M863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil, I think what you're doing could work.&amp;nbsp; But first, I'll describe what I'm doing, which works fine for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have KSDK 1.2 in an SVN repository.&amp;nbsp; All developers pull from this repo onto their local machines.&amp;nbsp; Their machines need to have the KSDK_PATH environment variable defined, and this points to whichever folder they have chosen for checkout.&amp;nbsp; I modified all of my projects to use LINKED mode instead of STANDALONE.&amp;nbsp; I believe this is defined in the .PE file, and I have another post here in the community that explains how I went about changing from standalone to linked mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything else (shared folders) are in the SVN repo as well, and the various firmware applications use relative paths so we don't have issues with different developer machines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, you could use the NAS and have your KSDK_PATH point to it.&amp;nbsp; That said, I wouldn't recommend doing anything outside of some kind of source control, because developers will be able to change things willy-nilly, and then you could be in for a world of hurt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 22:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-would-you-handle-KSDK-in-a-product-as-far-as-version-control/m-p/376719#M863</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-02-10T22:02:27Z</dc:date>
    </item>
  </channel>
</rss>

