<?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>Suggestions for handling multiple projects in a workspace</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106943/suggestions-for-handling-multiple-projects-in-a-workspace</link><description>Hi all, This question is kind of a continuation of my research using the nRF5340DK external flash as a XIP. I needed to use mcuboot and discovered this wonderful sample provided on NordicPlayground github: QSPI XIP with internal flash application support</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jan 2024 14:30:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106943/suggestions-for-handling-multiple-projects-in-a-workspace" /><item><title>RE: Suggestions for handling multiple projects in a workspace</title><link>https://devzone.nordicsemi.com/thread/463380?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 14:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ac7a221-10ab-463d-8421-dfb69db77cbe</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="lsoria"]Editing the original west.yml file so I can fetch my repos and clone them under the projects/ subdirectory works, but all of them are with the &lt;strong&gt;HEAD detached at refs/heads/manifest-rev&lt;/strong&gt;. So I cannot checkout to any branch (ie development) in order to create new branches and work as I did before, when the repos lived under ncs/ directory.[/quote]
&lt;p&gt;This seems odd. From my experience you should be able to interact with those git repos.&lt;/p&gt;
&lt;p&gt;Which west.yml file exactly did you edit to add your projects?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Suggestions for handling multiple projects in a workspace</title><link>https://devzone.nordicsemi.com/thread/462629?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 08:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1fafeca-7009-4b8c-898f-53df8932438d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Well, I am stuck on my way from vacation to the city where my office is due to a snowstorm, so you will have to wait one more week, I will have a look at this next week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Suggestions for handling multiple projects in a workspace</title><link>https://devzone.nordicsemi.com/thread/461898?ContentTypeID=1</link><pubDate>Thu, 28 Dec 2023 07:38:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c20e6c4-b3d0-4c27-90a8-75a2c21e3a54</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="lsoria"]&lt;br /&gt;Editing the original west.yml file so I can fetch my repos and clone them under the projects/ subdirectory works, but all of them are with the &lt;strong&gt;HEAD detached at refs/heads/manifest-rev&lt;/strong&gt;. So I cannot checkout to any branch (ie development) in order to create new branches and work as I did before, when the repos lived under ncs/ directory.[/quote]
&lt;p&gt;Currently I am working from a rental laptop, so my setup is unfamiliar. When I get back to the office next week, I will try to reproduce what you see here. &lt;br /&gt;Either I see something different than you and can send you a recording of it. Or I see the same and can help you figure out a way around it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Suggestions for handling multiple projects in a workspace</title><link>https://devzone.nordicsemi.com/thread/461874?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 22:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96c9e7f6-9107-4abe-8f09-10f425aa0f0c</guid><dc:creator>lsoria</dc:creator><description>&lt;p&gt;Hi Sigurds, thanks for the response.&lt;br /&gt;&lt;br /&gt;Regarding the typo, I misspelled when writing the post. I meant to say development. However, just to ensure it:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;my-workspace/projects/project1$ git checkout development
error: pathspec &amp;#39;development&amp;#39; did not match any file(s) known to git&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/106943/suggestions-for-handling-multiple-projects-in-a-workspace/461737"]Can you elaborate on this?[/quote]
&lt;p&gt;I mean, what I&amp;#39;d like to have is a workspace directory in which I can use this mcuboot+XIP feature, and also have my repositories where I could develop my applications independently. They need to be inside this workspace so the symbol XIP_SPLIT_IMAGE is recognized (among other features provided by the original github repo).&lt;br /&gt;&lt;br /&gt;Editing the original west.yml file so I can fetch my repos and clone them under the projects/ subdirectory works, but all of them are with the &lt;strong&gt;HEAD detached at refs/heads/manifest-rev&lt;/strong&gt;. So I cannot checkout to any branch (ie development) in order to create new branches and work as I did before, when the repos lived under ncs/ directory.&lt;br /&gt;&lt;br /&gt;I guess that maybe what I can do is to leave the west manifest as is, and clone the repositories manually. I don&amp;#39;t know if I loose some of the west features and strengths by doing this, but it may serve my purpose.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll let you know what happens in that case.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Leandro&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Suggestions for handling multiple projects in a workspace</title><link>https://devzone.nordicsemi.com/thread/461737?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 09:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701930fc-8205-41bc-ba2d-2564fb40ab66</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I&amp;#39;m aware that this is the way west tool handles the repositories, but unfortunately is not what I need.[/quote]
&lt;p&gt;Can you elaborate on this?&lt;/p&gt;
&lt;p&gt;Cause as far as my experience goes on this, west just touches the git repos when you run west commands. Other than that, we are free to do with the git repos as we please. The downside of that has mostly been that my git repos get reset when I run &amp;quot;west update&amp;quot;.&lt;/p&gt;
&lt;p&gt;However, I have not seen the error you see before.&lt;/p&gt;
&lt;p&gt;First, something is off in your pasted log:&lt;/p&gt;
&lt;p&gt;&amp;quot;my-workspace/projects/project1$ git checkout development&lt;br /&gt;error: pathspec &amp;#39;developmen&amp;#39; did not match any file(s) known to git&amp;quot;&lt;/p&gt;
&lt;p&gt;It can not find &amp;quot;devlopemen&amp;quot;, but you typed &amp;quot;developement&amp;quot;. Why are these different?&lt;/p&gt;
&lt;p&gt;Maybe there is an error here?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>