<?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>Lesson 1 Exercise 2 Git Issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104396/lesson-1-exercise-2-git-issues</link><description>I followed all the steps from exercise 1 and 2 (lesson 1) up to step 3.3. When I try to create the application, I get this error instead of any options as shown in the course: 
 
 This is my first time using Visual Studio Code or any Nordic devices ever</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Oct 2023 13:07:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104396/lesson-1-exercise-2-git-issues" /><item><title>RE: Lesson 1 Exercise 2 Git Issues</title><link>https://devzone.nordicsemi.com/thread/450580?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 13:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96776cde-1df6-443a-a967-5b4bf5c5fa0f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry to hear that you encountered so many problems with getting up and running. Git is a prerequisite for downloading the SDK since the SDK and all of its modules are hosted on GitHub. This is why Git is bundled with the toolchain, so you don&amp;#39;t have to install it separately.&lt;/p&gt;
&lt;p&gt;Once the SDK is installed, you are free to use any VCS with your project, see &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrf/developing/adding_code.html#workflow-1-avoid-git-and-west"&gt;Avoid Git and West&amp;quot;&lt;/a&gt;.&lt;/p&gt;
[quote user="Xology"]Now flashing failed due to readback protection on this device. Ok solved that issue. But we&amp;#39;re not done yet; when attempting to build I got an error that &amp;quot;the --family option given with the command does not match the device connected. *sigh* This process really feels like the product wasn&amp;#39;t fully tested prior to release. I usually don&amp;#39;t encounter so many issues getting a development up and running. I will open up another thread for this issue.[/quote]
&lt;p&gt;I&amp;#39;m not sure why you&amp;#39;re receiving this error after readback protection has been disabled. It would be helpful if you could try programming the same hex using the Programmer app in nRF Connect for Desktop (&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-Desktop/Download?lang=en#infotabs"&gt;link&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lesson 1 Exercise 2 Git Issues</title><link>https://devzone.nordicsemi.com/thread/450383?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 16:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8586b5d8-353f-4024-b826-67df925e4e84</guid><dc:creator>Xology</dc:creator><description>&lt;p&gt;Thank you for this good instruction. I&amp;#39;m a new user to Visual Studio Code with NRF. My first impression is that this is quite shitty.&lt;/p&gt;
&lt;p&gt;So far I&amp;#39;ve encountered the issue above. Then it complained that git wasn&amp;#39;t installed at all. It&amp;#39;s not clear why I would need to install git; our company uses a different VCS. I&amp;#39;m trying to just blink an LED on the nrf52840-DK but this is not very user friendly. So I started with the example blinky. Now it won&amp;#39;t build unless I create a build configuration. Ok I figured out how to do that. but it sure takes awhile for some reason.&lt;/p&gt;
&lt;p&gt;Now flashing failed due to readback protection on this device. Ok solved that issue. But we&amp;#39;re not done yet; when attempting to build I got an error that &amp;quot;the --family option given with the command does not match the device connected. *sigh* This process really feels like the product wasn&amp;#39;t fully tested prior to release. I usually don&amp;#39;t encounter so many issues getting a development up and running. I will open up another thread for this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lesson 1 Exercise 2 Git Issues</title><link>https://devzone.nordicsemi.com/thread/448921?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 05:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67a03c3b-f85c-4bc2-991c-928c922484ab</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I did not see your answer before posting mine. Thanks for answering.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lesson 1 Exercise 2 Git Issues</title><link>https://devzone.nordicsemi.com/thread/448920?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 05:35:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80f2e7b1-80f5-4f05-80a3-68e17634edd8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There&amp;#39;s nothing you did wrong. What&amp;#39;s happening is that&amp;nbsp;our VS Code extension attempts to set up a local Git repository for your project to&amp;nbsp;enable version control but fails&amp;nbsp;because Git hasn&amp;#39;t been configured on your PC. This&amp;nbsp;should&amp;nbsp;be an optional step, but currently, it isn&amp;#39;t because the extension fails to complete the project creation when Git reports this error.&amp;nbsp;This will be addressed in the next release.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For now, you will have to register a git profile on your PC. To do this, open you can open a terminal in VS code as shown in the screenshot below, then run the&amp;nbsp;git config --global user.email&amp;nbsp; and&amp;nbsp;git config --global user.name command as instructed in the error message you received.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1696484085949v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lesson 1 Exercise 2 Git Issues</title><link>https://devzone.nordicsemi.com/thread/448919?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 05:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caa94661-45a3-4a4b-b07a-8d49555b43f7</guid><dc:creator>JaTi</dc:creator><description>&lt;p&gt;I assume the lesson and exercises you are talking about are related to the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/"&gt;Nordic Developer Academy&lt;/a&gt;.&lt;br /&gt;Not sure why or how they teach version control in these courses but this issue seems soley related to &lt;a href="https://git-scm.com/"&gt;git&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As the output reads it wants you to identify yourself, so it can mark you as the author of the commit. This is just how git is supposed to work.&lt;br /&gt;I enccourage you to read more about this vcs in the link above, if you are interested. Although i am not aware if it is actually necessary&lt;br /&gt;to learn this tool for completing the courses, since i never did them myself.&lt;/p&gt;
&lt;p&gt;If you just want to continue with the course and can not be bothered to learn another tool at this point in time,&lt;br /&gt;simply follow the instructions displayed an globally configure a git user.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;git config --global user.email &amp;quot;robertz@youremail.com&amp;quot;
git config --global user.name &amp;quot;robertz&amp;quot;

// Then you can perform your commit

git commit -m &amp;quot;Initial commit for blinky&amp;quot;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Git will use these credentials to mark the commits you perform as done by this user.&lt;br /&gt;&lt;br /&gt;Hope this may help you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>