<?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>Error setting path to specific file in Segger embedded studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119187/error-setting-path-to-specific-file-in-segger-embedded-studio</link><description>hi 
 
 We are developing with Segger embedded studio. 
 . 
 If you copy and move the SW development project folder to another PC, the following error occurs. 
 (Only occurs on copied PC) 
 . 
 - error massage : nRF5_SDK_17.1.0\modules\nrfx\drivers\src</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2025 09:37:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119187/error-setting-path-to-specific-file-in-segger-embedded-studio" /><item><title>RE: Error setting path to specific file in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/524531?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 09:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:706d2591-425c-4a91-bfc2-14fd4f9ce059</guid><dc:creator>Edvin</dc:creator><description>[quote user="David_Kim"]Can&amp;#39;t I edit the full path directly in Seggar?[/quote]
&lt;p&gt;No, you need to remove the file from Segger, and add it back manually, which is why I prefer opening the .emProject file in a text editor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why it is not possible, I don&amp;#39;t know. You will have to ask Segger about this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But as I mentioned, if you plan to share the project between multiple computers, I suggest that you find a common folder structure. E.g. create a folder in the examples folder in the SDK:&lt;/p&gt;
&lt;p&gt;SDK\examples\custom, and place your application and custom files there (or at least within the SDK).&lt;/p&gt;
&lt;p&gt;And place the application in there. This way, it would be possible to link to all the SDK files, and custom files without &amp;quot;exiting&amp;quot; the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting path to specific file in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/524458?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 23:29:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a83a0d5f-20af-4998-b347-2650a9918083</guid><dc:creator>David_Kim</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/119187/error-setting-path-to-specific-file-in-segger-embedded-studio/524394"]The quickest way to do this is to open the .emProject file in a text editor, and click CTRL + H (find and replace), and look for a pattern in all the wrong paths, and replace it with where it is located on your PC.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It was easily fixed using the method you suggested.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;Additionally,&lt;/p&gt;
&lt;p&gt;Can&amp;#39;t I edit the full path directly in Seggar?&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:215px;max-width:491px;" alt=" " height="215" src="https://devzone.nordicsemi.com/resized-image/__size/982x430/__key/communityserver-discussions-components-files/4/pastedimage1740439382839v1.png" width="491" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting path to specific file in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/524394?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 14:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f34f8df-39ba-4b74-bbca-10e5e713d49b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have seen this before. Typically when receiving customer applications, and relative paths are not used. In this case, there is a relative path, so you would have to edit the path to each file. The quickest way to do this is to open the .emProject file in a text editor, and click CTRL + H (find and replace), and look for a pattern in all the wrong paths, and replace it with where it is located on your PC.&lt;/p&gt;
&lt;p&gt;To make it easier to transfer the project between computers, I guess you would need a common folder structure. I am not sure exactly how SES decides how much of the path to include in a relative path, so you may need to do some research here, or ask Segger.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting path to specific file in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/524214?ContentTypeID=1</link><pubDate>Sun, 23 Feb 2025 23:40:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7687b66f-7f63-421a-bb1b-aaaa946ed2f4</guid><dc:creator>David_Kim</dc:creator><description>&lt;p&gt;HI, Edvin&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I followed your advice and moved the folder right to D: to shorten the path.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;And when I build, the same error as below occurs.&lt;/p&gt;
&lt;p&gt;However, the file path in the error window is not the path I moved to.&lt;/p&gt;
&lt;p&gt;(Folder on the PC where the original was created before copying)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:93px;max-width:504px;" height="93" src="https://devzone.nordicsemi.com/resized-image/__size/1008x186/__key/communityserver-discussions-components-files/4/pastedimage1740353614304v1.png" width="504" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;I tried opening &amp;#39;nrfx_pars.c&amp;#39; where the error occurred... but the file did not open.&lt;/p&gt;
&lt;p&gt;(This is the PC path before the previous copy.)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:112px;max-width:373px;" height="112" src="https://devzone.nordicsemi.com/resized-image/__size/746x224/__key/communityserver-discussions-components-files/4/pastedimage1740353777138v2.png" width="373" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;If you look at the options for the file, the file path is incorrect and cannot be modified.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:243px;max-width:551px;" height="243" src="https://devzone.nordicsemi.com/resized-image/__size/1102x486/__key/communityserver-discussions-components-files/4/pastedimage1740353942332v3.png" width="551" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, if you look for it, there are many files that cannot be opened as shown above.&lt;/p&gt;
&lt;p&gt;So I would like to know how to fix incorrect paths in bulk.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting path to specific file in Segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/524173?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 22:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9782fc64-b4b5-4d3f-a01d-b217e781c4fe</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I suspect the path is too long in the place that you copied the project into. Try putting it closer to the C:/ folder, so that the overall path to the&amp;nbsp;&lt;span&gt;nrfx_spim.c is not too long. This is a known &amp;quot;issue&amp;quot; in Windows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Personally, I use C:\nordic\sdk\17.1.0\examples\custom&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For my custom application projects.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If that doesn&amp;#39;t help, please let me know the full path to your nrfx_spim.c file, and show me a screenshot&lt;strong&gt; and&lt;/strong&gt; full build logs of how it fails.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>