<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>Blog Archives - All Comments</title><link>/nordic/b/archives</link><description>Previous blog and guides that&amp;#39;s replaced by newer versions</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: nRF Connect SDK Tutorial - Part 3  | NCS v1.3.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-3-0</link><pubDate>Thu, 29 Oct 2020 09:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e396a2a-2413-445d-b4cc-bd1d6a721f3d</guid><dc:creator>user94403</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I am not able to use debug window using printk() function, its empty&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1330&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 3 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary</link><pubDate>Tue, 08 Sep 2020 09:32:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b89d15-3dca-4940-a329-417dbcae48f0</guid><dc:creator>user78215</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I think for custom board the following two modifications are not needed any more&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:4892b8dc-4be7-46f4-be38-b3bdeb4a1f9c:type=text&amp;text=include%28%24ENV%7BZEPHYR_BASE%7D%2F..%2Fnrf%2Fcmake%2Fboilerplate.cmake%29]&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:7517bf58-353d-423f-8e47-9dc128570e9e:type=text&amp;text=set%28nonsecure_boards_with_ns_suffix%0D%0A%20%20%20%20%3A%0D%0A%20%20%20%20%3A%0D%0A%20%20%20%20nrf9160_testns%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23Added%20this%0D%0A%20%20%20%20%3A%0D%0A%29]&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;KK&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1298&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 2 | NCS v1.3.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-3-0</link><pubDate>Tue, 01 Sep 2020 16:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3728f371-cef3-4c99-a20d-d499d5d87c05</guid><dc:creator>user2241</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Add the ADC peripheral&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;section needs to be updated when running on the 9160DK board because the code that needs to be copy and pasted for main.c is 5340 specific.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1329&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 1 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/ncs-tutorial---temporary</link><pubDate>Thu, 02 Jul 2020 15:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24c6c8a3-0653-4dc5-8e56-acdb627d1f57</guid><dc:creator>user91631</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;When I followed this instruction on the stage of &amp;quot;Open nRF Connect SDK Project&amp;quot; I had an error:&lt;br /&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:e754a41a-157b-4ac7-b010-c7d863d0715e:type=text&amp;text=CMake%20Error%20at%20%2Fhome%2Froman%2Fnordic%2Fncs%2Fnrf%2Fcmake%2Fboilerplate.cmake%3A12%20%28include%29%3A%0D%0A%20%20include%20could%20not%20find%20load%20file%3A%0D%0A%0D%0A%20%20%20%20%2Fboards%2Fdeprecated.cmake%0D%0ACall%20Stack%20%28most%20recent%20call%20first%29%3A%0D%0A%20%20CMakeLists.txt%3A2%20%28include%29%0D%0A%0D%0A%0D%0Anrf5340pdk_nrf5340_cpuapp.dts.pre.tmp%3A95.42-107.3%3A%20Warning%20%28unique_unit_address_if_enabled%29%3A%20%2Fsoc%2Fperipheral%4050000000%2Fflash-controller%4039000%3A%20duplicate%20unit-address%20%28also%20used%20in%20node%20%2Fsoc%2Fperipheral%4050000000%2Fkmu%4039000%29%0D%0Anrf5340pdk_nrf5340_cpuapp.dts.pre.tmp%3A369.19-375.3%3A%20Warning%20%28unique_unit_address_if_enabled%29%3A%20%2Fsoc%2Fperipheral%4050000000%2Fclock%405000%3A%20duplicate%20unit-address%20%28also%20used%20in%20node%20%2Fsoc%2Fperipheral%4050000000%2Fpower%405000%29%0D%0Anrf5340pdk_nrf5340_cpuapp.dts.pre.tmp%3A616.31-617.5%3A%20Warning%20%28unique_unit_address_if_enabled%29%3A%20%2Freserved-memory%2Fimage%4020000000%3A%20duplicate%20unit-address%20%28also%20used%20in%20node%20%2Freserved-memory%2Fimage_s%4020000000%29%0D%0A%20%20also%20defined%20at%20nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp%3A636.14-638.3%0D%0A%0D%0Aerror%3A%20UART_0_NRF_UARTE%20%28defined%20at%20drivers%2Fserial%2FKconfig.nrfx%3A31%29%20is%20assigned%20in%20a%20configuration%0D%0Afile%2C%20but%20is%20not%20directly%20user-configurable%20%28has%20no%20prompt%29.%20It%20gets%20its%20value%20indirectly%20from%20other%0D%0Asymbols.%20See%20http%3A%2F%2Fdocs.zephyrproject.org%2Flatest%2Freference%2Fkconfig%2FCONFIG_UART_0_NRF_UARTE.html%0D%0Aand%2For%20look%20up%20UART_0_NRF_UARTE%20in%20the%20menuconfig%2Fguiconfig%20interface.%20The%20Application%20Development%0D%0APrimer%2C%20Setting%20Configuration%20Values%2C%20and%20Kconfig%20-%20Tips%20and%20Best%20Practices%20sections%20of%20the%20manual%0D%0Amight%20be%20helpful%20too.%0D%0A%0D%0ACMake%20Error%20at%20%2Fhome%2Froman%2Fnordic%2Fncs%2Fzephyr%2Fcmake%2Fkconfig.cmake%3A217%20%28message%29%3A%0D%0A%20%20command%20failed%20with%20return%20code%3A%201%0D%0ACall%20Stack%20%28most%20recent%20call%20first%29%3A%0D%0A%20%20%2Fhome%2Froman%2Fnordic%2Fncs%2Fzephyr%2Fcmake%2Fapp%2Fboilerplate.cmake%3A506%20%28include%29%0D%0A%20%20CMakeLists.txt%3A3%20%28include%29]&lt;br /&gt;&lt;br /&gt;But when I removed all content in &amp;quot;prj.conf&amp;quot; and in &amp;quot;CMakeLists.txt&amp;quot; file I replaced&lt;br /&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:065ceb0d-1c21-423e-909e-55b7e910d4a5:type=text&amp;text=include%28%24ENV%7BZEPHYR_BASE%7D%2F..%2Fnrf%2Fcmake%2Fboilerplate.cmake%29%0D%0Ainclude%28%24ENV%7BZEPHYR_BASE%7D%2Fcmake%2Fapp%2Fboilerplate.cmake%20NO_POLICY_SCOPE%29]&lt;br /&gt;on&lt;br /&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:7f45c2f1-8b50-4913-aebb-e8c9e81da5a3:type=text&amp;text=find_package%28Zephyr%20HINTS%20%24ENV%7BZEPHYR_BASE%7D%29]&lt;br /&gt;then everything worked properly.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1289&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 2 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-2-1478313418</link><pubDate>Sat, 27 Jun 2020 22:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c13d942-cf8a-4b96-929d-ab762a379a10</guid><dc:creator>user90623</dc:creator><slash:comments>1</slash:comments><description>&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p&gt;Hello, I found this issue when try &amp;quot;west init -l hello_world&amp;quot;, I installed the tools with the toolchain. Some suggestion?&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="edit-form"&gt;&lt;img src="/resized-image/__size/320x240/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-7c13d942-cf8a-4b96-929d-ab762a379a10/pastedimage1593296496230v1.png" alt=" " /&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1297&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 1 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/ncs-tutorial---temporary</link><pubDate>Sat, 09 May 2020 20:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24c6c8a3-0653-4dc5-8e56-acdb627d1f57</guid><dc:creator>user67192</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Great tutorial.&lt;/p&gt;
&lt;p&gt;When attempting to &lt;span&gt;&lt;strong&gt;Build and flash - using SEGGER Embedded Studio &lt;/strong&gt;for nRF52840-pca10056 on macOS we ran into a couple of issues:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1. Unclear whether one should create a Segger .proj file. We assume one should point to directory created earlier in tutorial, however it doesn&amp;#39;t have a .proj file, so we created a new one and added main.c. Unclear if ok to leave `Toolchain Root Directory = $(StudioDir)/gcc/$(GCCTarget)/bin` or need to change this.&lt;/p&gt;
&lt;p&gt;(Note: When opening Segger, it initially pointed to a Hello world file that is located in same dir as the Segger application, however that sub dir doesn&amp;#39;t have a CMakeLists.tx file, so didn&amp;#39;t seem right either.)&lt;/p&gt;
&lt;p&gt;2. After opening`&lt;span style="font-weight:400;"&gt;File &amp;rarr; Open nRF Connect SDK Project...&lt;/span&gt;` , configuring and pressing &amp;lt;ok&amp;gt; the project starts to build, but we got a CMake error. We determined there was an extra space in value for&lt;/p&gt;
&lt;p&gt;Tools-&amp;gt;Options-&amp;gt;nRF Connect -&amp;gt;Additional CMake Options `-D WEST=/usr/local/bin/west`&lt;/p&gt;
&lt;p&gt;(should be `-DWEST=...`&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Once above was fixed, we were able to start building, however the build failed when compiling uart_nrfx_uarte.c. Several MACRO are undefined, including UARTE_CONFIG and&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;DT_NORDIC_NRF_UARTE_UART_0_CURRENT_SPEED. Reported build error is&lt;/p&gt;
&lt;pre&gt;uart_nrfx_uarte.c:1396:9: error: &amp;#39;DT_NORDIC_NRF_UARTE_UART_0_LABEL&amp;#39; undeclared here&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. To address this plunged into the Kconfig settings&lt;br /&gt;Project-&amp;gt;Configure nRF Connect .. which brings up a GUI for setting Kconfig&lt;br /&gt;In top right corner entered UARTE in search box. In the displayed driver options&lt;br /&gt;selected `Modules -&amp;gt; nrfx drivers -&amp;gt;Enable UARTE driver` and `Enable UARTE0 instance`&lt;br /&gt;Hit configure and then rebuild. Even after this, we get same error and can&amp;#39;t see &lt;br /&gt;any obvious Kconfig errors. &lt;br /&gt;Note: Segger editor shows which MACROs and #define that are true,&lt;br /&gt;which is very useful when hunting down Kconfig problems.&lt;br /&gt;&lt;br /&gt;At this point stumped on how to move forward....&lt;/pre&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1289&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 3 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary</link><pubDate>Fri, 08 May 2020 13:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b89d15-3dca-4940-a329-417dbcae48f0</guid><dc:creator>user84466</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Regarding using Ozone as a debugger. We have a multi image build, meaning we cant load zephyr.elf. We have to load merged.hex, which does not include symbol information. Question is how to setup symbol/source information when loading a hex file?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1298&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 3 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-3-temporary</link><pubDate>Fri, 08 May 2020 13:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b89d15-3dca-4940-a329-417dbcae48f0</guid><dc:creator>user84466</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Regarding using Ozone as a debugger. We have a multi image build, meaning we cant load zephyr.elf. We have to load merged.hex, which does not include symbol information. Question is how to setup symbol/source information when loading a hex file?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1298&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 2 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/nrf-connect-sdk-tutorial---part-2-1478313418</link><pubDate>Thu, 07 May 2020 18:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c13d942-cf8a-4b96-929d-ab762a379a10</guid><dc:creator>user25696</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;FYI I used the nRF5340-PDK board for the light_controller solution.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For section 3.5 of the Tutorial Part 2,&amp;nbsp;&lt;/span&gt;&lt;span&gt;I used P2 pin 1 to connect to P0.04 and P1 pin 7 to connect to ground.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rather than using a potentiometer I used a benchtop power supply and found that LED2 was brightest when P0.04 was driven to 0V and it went completely dark when P0.04 was driven to about 1.8V&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1297&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 1 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/ncs-tutorial---temporary</link><pubDate>Mon, 04 May 2020 16:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24c6c8a3-0653-4dc5-8e56-acdb627d1f57</guid><dc:creator>user13946</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;for those using the toolchain manger, you need to run all of your terminal commands using the git-bash.exe termianl in the NCS/toolchain folder.&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1289&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: nRF Connect SDK Tutorial - Part 1 | NCS v1.2.0</title><link>https://test-devzone.nordicsemi.com/nordic/b/archives/posts/ncs-tutorial---temporary</link><pubDate>Wed, 26 Feb 2020 10:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24c6c8a3-0653-4dc5-8e56-acdb627d1f57</guid><dc:creator>user84645</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;For those wondering how to build for Thingy91 (I prefer this little guy since it has awesome sensors on-board):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Include NRF boilerplate to your CMakeLists.txt,&amp;nbsp;include($ENV{ZEPHYR_BASE}/../nrf/cmake/boilerplate.cmake)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;E.g.:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:05477a1d-da6a-46e1-addd-f3040bd6d0fb:type=c_cpp&amp;text=cmake_minimum_required%28VERSION%203.13.1%29%0D%0Ainclude%28%24ENV%7BZEPHYR_BASE%7D%2F..%2Fnrf%2Fcmake%2Fboilerplate.cmake%29%0D%0Ainclude%28%24ENV%7BZEPHYR_BASE%7D%2Fcmake%2Fapp%2Fboilerplate.cmake%20NO_POLICY_SCOPE%29%0D%0Aproject%28NONE%29%0D%0Atarget_sources%28app%20PRIVATE%20src%2Fmain.c%29]&lt;/p&gt;
&lt;p&gt;Then build using cmake directly (not sure how to set board directly with west, unless with environment variables):&lt;/p&gt;
&lt;p&gt;cmake -GNinja -DBOARD=nrf9160_pca20035ns -DBOARD_DIR=%ZEPHYR_BASE%/../nrf/boards/arm/nrf9160_pca20035 -Bbuild&lt;/p&gt;
&lt;p&gt;or if you are using bash/mingw/*nix:&lt;/p&gt;
&lt;p&gt;cmake -GNinja -DBOARD=nrf9160_pca20035ns -DBOARD_DIR=$&lt;span&gt;ZEPHYR_BASE/..&lt;/span&gt;/nrf/boards/arm/nrf9160_pca20035 -Bbuild&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1289&amp;AppID=30&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>