<?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>Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68725/segger-embedded-studio-cannot-find-include</link><description>Using the nRF Connect SDK from Nordic Semiconductor is a terrible experience. One reason it being unreliable with many broken samples. And another being the Segger Embedded Studio, which takes ages to open a project, requires a reload every time a project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Dec 2020 14:54:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68725/segger-embedded-studio-cannot-find-include" /><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/285131?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 14:54:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:625ebd27-47c1-4626-9bc9-8588f135d3a2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the feedback. I understand what you are saying, and you definitely have some valid points. I would say though that the nRF Connect SDK is still quite young, and we are working hard to improve all aspects of it, including quality and user friendliness.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/285119?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 14:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6779a91a-3d4a-4cf3-8f36-f1d4bf640577</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Hello Einar!&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/68725/segger-embedded-studio-cannot-find-include/284817#284817"]The nRF Connect SDK is a bit different then the nRF5 SDK, and many samples are part of Zephyr and not necessarily tested or integrated with nRF devices. Perhaps this is the problem here?&amp;nbsp;[/quote]
&lt;p&gt;What difference does that make to your clients who buy a large amount of chips and are expected to write software on top of the broken SDK? When Nordic offers an SDK with its hardware it is expected to work correctly. The most important samples that are broken are: connectivity_bridge and GPS. They even come precompiled with the firmware. It is a common use case, where the developer simply programs a ready sample on one of the CPUs and then develops code for the other (nRF9160 + nRF52840).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67372/connectivity_bridge-malfunctions-when-ble-client-disconnects-and-reconnects"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/67372/connectivity_bridge-malfunctions-when-ble-client-disconnects-and-reconnects&lt;/a&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/68716/gps-stops-updating-timestamp-after-a-few-days-of-uptime-indoors/282807#282807"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/68716/gps-stops-updating-timestamp-after-a-few-days-of-uptime-indoors/282807#282807&lt;/a&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/68725/segger-embedded-studio-cannot-find-include/284817#284817"]Yes. To make configurations persistent, you would need to make the change in prj.conf (as you have noted). SES does not do this for you, unfortunately.[/quote]
&lt;p&gt;Do you expect every developer to know this and also know how to do it? Have you tried switching between multiple projects? Every additional task we have to repeat has a negative impact on the productivity. Your team might want to work with Segger and improve this.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/68725/segger-embedded-studio-cannot-find-include/284817#284817"]&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;Once we reach the point of building the project, many undefined symbol errors are reported during the linking phase.&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;If you use a sample project that would indicate that there is a problem with the toolchain. Can you specify which sample you use, from which NCS version, and how you installed the toolchain? If you are on Windows, then using the Toolchain manager which is part of nRF Connect for Desktop is the easiest way to install a functional toolchain.&lt;/p&gt;[/quote]
&lt;p&gt;Say we start from a copy of existing sample. Then add some posix calls or use some functions that are commonly used. We add the proper headers but the project fails to build because of missing symbols. The solution is to find that CONFIG_ flags needs to be defined in order for that symbol to become available. Of course we have no clue what config flags have to be added, and it&amp;#39;s a long research and guess work. As a reference, on our own RTOS - EUROS, we just add the headers and everything just works. It&amp;#39;s not a question on which particular samples or functions are used. Rather a matter of good and bad practices.&lt;/p&gt;
&lt;p&gt;The toolchain is installed from the nRF Connect GUI on both Windows and macOS.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/68725/segger-embedded-studio-cannot-find-include/284817#284817"]Lastly we have got some feedback that the nRF Connect SDK together with Segger Embedded Studio is not always very user friendly. We are noting the feedback and are looking into how to improve it in the future.[/quote]
&lt;p&gt;Alas the Nordic SDK&amp;nbsp;is a very unproductive environment. Try using EUROS:&amp;nbsp;&lt;a href="https://www.euros-embedded.com/"&gt;https://www.euros-embedded.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Another example: I wanted to make a small change to the GPS sample, so that a copy of the NMEA strings is sent to the second UART. Usually this should require three lines: 1. open UART, 2. check if valid, 3. send. The Zephyr API forced me to write 300 lines of code to achieve this simple thing. When the complexity is increased 100 times, I&amp;#39;m not surprised that many samples are broken. After trying to fix the connectiviry_bridge for over a week, I figured that&amp;#39;s unreasonable. Porting and entire RTOS + UART driver took two days. And it&amp;#39;s rock solid.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/284817?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 14:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31dd7b80-0f42-454a-9d7d-cbf516a8d453</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a lot of things here, but I will try to comment what I can.&lt;/p&gt;
[quote user=""]Using the nRF Connect SDK from Nordic Semiconductor is a terrible experience. One reason it being unreliable with many broken samples.[/quote]
&lt;p&gt;The nRF Connect SDK is a bit different then the nRF5 SDK, and many samples are part of Zephyr and not necessarily tested or integrated with nRF devices. Perhaps this is the problem here?&amp;nbsp;&lt;/p&gt;
[quote user=""]forgets the project settings each time a new project is opened[/quote]
&lt;p&gt;Yes. To make configurations persistent, you would need to make the change in prj.conf (as you have noted). SES does not do this for you, unfortunately.&lt;/p&gt;
[quote user=""]Once we reach the point of building the project, many undefined symbol errors are reported during the linking phase.[/quote]
&lt;p&gt;If you use a sample project that would indicate that there is a problem with the toolchain. Can you specify which sample you use, from which NCS version, and how you installed the toolchain? If you are on Windows, then using the Toolchain manager which is part of nRF Connect for Desktop is the easiest way to install a functional toolchain.&lt;/p&gt;
&lt;p&gt;Lastly we have got some feedback that the nRF Connect SDK together with Segger Embedded Studio is not always very user friendly. We are noting the feedback and are looking into how to improve it in the future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/284608?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 16:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58953484-f9f3-4a33-b57d-25536179318f</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;div&gt;&lt;span style="text-decoration:underline;"&gt;Quote from Segger support:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Sorry to say that, but these are not generic Embedded Studio issues, but seem to be related to how the project is set up.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Therefore, please understand that we can only provide limited support to this case.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;However, the reason why Embedded Studio a) cannot find the include files and b) does not recognize that the output is up to date is most probably related to how the build system is set up.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;To a) This may happen when the output is built with relative paths. Since Embedded Studio does not know to which a path is relative, it cannot resolve it. A fix would be to make the compiler/linker use absolute paths.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;To b) This may happen when input files are updated during build and as such have a newer timestamp than the output.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Unfortunately, both cases are heavily related to the project.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Since the Nordic SDK uses an external toolchain we can not provide any guidance on where things could be configured.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;We asked Nordic to provide better support to this case.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;You might want to go back to their forums with the new information.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Johannes Lask&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#333399;"&gt;Product Manager&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/281963?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 08:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fd42162-3ef5-4ce9-a0af-e50c489b75ef</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Hello Ketiljo!&lt;/p&gt;
&lt;p&gt;Since the Segger Embedded Studio is offered as part of the nRF Connect SDK, Nordic Semiconductor is obliged to ensure it operates properly. Segger will put much more efforts if the request comes from a large company such as Nordic Semiconductor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/281960?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 08:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b73998f5-cd43-4a0b-a26f-e5161a912735</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;i didn&amp;#39;t see a question here.&lt;/p&gt;
&lt;p&gt;If you use nRFConnnect to program the device instead of Segger Embeddes Studio, you can re-use the hex-file.&lt;/p&gt;
&lt;p&gt;In any case, you should ask Segger about this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/281791?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 12:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079de50e-a9dc-4592-9e88-bfdc480c9d76</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Why did you close this case without any comment?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio cannot find include</title><link>https://devzone.nordicsemi.com/thread/281699?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 06:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d80398d-0100-43da-868b-b54e69099207</guid><dc:creator>Georgi Valkov</dc:creator><description>&lt;p&gt;Another tedious behaviour in Segger Embedded Studio:&lt;br /&gt;Why does it ask to rebuild the project every time I try to program and debug the board?&lt;br /&gt;I rebuilt the entire project in the beginning, I have not made any changes.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://youtu.be/62KLOy434Zk"&gt;https://youtu.be/62KLOy434Zk&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>