<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to back up common source libraries</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27936/how-to-back-up-common-source-libraries</link><description>Every time I change a common source file within Kiel, the source file is changed for every project because (obviously) is a file common to all example projects. 
 Is there a way, without manually copying over the libraries and change in the including</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Dec 2017 11:32:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27936/how-to-back-up-common-source-libraries" /><item><title>RE: How to back up common source libraries</title><link>https://devzone.nordicsemi.com/thread/110247?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 11:32:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:539b6501-aa09-4f1f-ad87-3152a929c559</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;I usually only modify one or two files, and I only do it if there is no other option. If you only need to modify the C file then you can keep the include settings as is, and only replace the C file, like I did &lt;a href="https://github.com/NordicPlayground/nrf52-ble-app-uart-long-range/tree/master/common"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Any particular reason you have to change a lot of files?&lt;br /&gt;
The idea behind the libraries and drivers is that you shouldn&amp;#39;t have to change them, for the most part ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to back up common source libraries</title><link>https://devzone.nordicsemi.com/thread/110246?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 06:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce17477-e5b1-4145-8457-8f2c8f203939</guid><dc:creator>MichaelNordicUser</dc:creator><description>&lt;p&gt;Thanks Torbjørn. For the first approach, mustn&amp;#39;t one change include paths one by one? Seems labor intensive and error prone. What makes it so clean for you? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to back up common source libraries</title><link>https://devzone.nordicsemi.com/thread/110245?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 10:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5791619f-1b37-4841-9865-79d071c981c6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Michael&lt;/p&gt;
&lt;p&gt;I always copy the files into the example project folder in this case. I find it is the cleanest approach, even if it requires some fiddling with your project settings.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t like that approach you could always use Git.&lt;br /&gt;
Commit your SDK to a Git repo, and make a separate branch for each project. Then you can change the SDK files to your hearts content, and the changes will only affect that branch.&lt;/p&gt;
&lt;p&gt;A third approach is to have all the changes enabled by a unique define, so that only projects that set this define get the changes.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>