<?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>Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106115/difficulty-creating-a-zephyr-based-nrfconnect-project-within-vscode-that-contains-a-custom-sensor-driver</link><description>I have been trying to create an nRFConnect based project using toolchain 2.5.0 and SDK 2.5.0 (also 2.5.99-dev1) that enables me to create an example application that uses a custom external driver. As a simple example, let&amp;#39;s say I want to take the &amp;quot;Blinky</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Dec 2023 14:09:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106115/difficulty-creating-a-zephyr-based-nrfconnect-project-within-vscode-that-contains-a-custom-sensor-driver" /><item><title>RE: Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/thread/459721?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2023 14:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b96d5812-1112-4c65-81a0-5b68e5b18388</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello Josh,&lt;/p&gt;
&lt;p&gt;Sorry for the delayed response.&lt;/p&gt;
&lt;p&gt;Is there any update at your end?&lt;/p&gt;
&lt;p&gt;I started with the &lt;a href="https://github.com/nrfconnect/ncs-example-application"&gt;Example Application&lt;/a&gt;&amp;nbsp;provided by Nordic. This is same/similar version as of the zephyr example application.&lt;/p&gt;
&lt;p&gt;I followed the steps that are described in the readme. Particularly, I ran the following commands in the command line (west must have been installed already):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west init -m https://github.com/nrfconnect/ncs-example-application --mr main my-workspace
cd my-workspace
west update
cd ncs-example-application
west build -b custom_plank app&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;this would initiate a west repo, download the files from github, do an update, and then build the APP (the application folder containing the source code) for the custom_plank board.&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/pastedimage1702303641809v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Next, I opened the APP folder with the VSCode, and built for the NRF5840 board after adding a suitable overlay, and it compiled well.&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/pastedimage1702303733692v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/thread/457950?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 18:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:107b9381-fa07-479a-822a-bf765f86e5ff</guid><dc:creator>soaringphotos44</dc:creator><description>&lt;p&gt;So for Item #1, all you show above is that you cloned the project. &amp;nbsp;Were you able to build it successfully? &amp;nbsp;If so, how? I&amp;#39;d like to see the steps to take that example project, clone it, open it, configure for nrf52832, and build it. &amp;nbsp;That way we have the full successful chain. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/thread/457949?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 18:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c49fcba3-8f45-41a1-bd85-f906eebbe4c4</guid><dc:creator>soaringphotos44</dc:creator><description>&lt;p&gt;Adding the following overlay did not fix the problem:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/{
    examplesensor0 {
        compatible = &amp;quot;zephyr,examplesensor&amp;quot;;
        input-gpios = &amp;lt;&amp;amp;gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
    };
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/thread/457942?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 17:39:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efcbfc1c-5e66-4803-9a4f-f3949d386648</guid><dc:creator>soaringphotos44</dc:creator><description>&lt;p&gt;It appears that the device &amp;quot;examplesensor0&amp;quot; is not being added to the device tree. Am I missing some kind of Device Tree overlay step?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/thread/457941?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 17:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c19c22-c9e7-4705-874f-3a0d5aefc7e1</guid><dc:creator>soaringphotos44</dc:creator><description>&lt;p&gt;Hi Naeem, &amp;nbsp;unfortunately the &amp;quot;Out of Tree Driver&amp;quot; sample is missing all the DT bindings, etc. &amp;nbsp;It&amp;#39;s not a great example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I clone &amp;quot;my-app&amp;quot; to a custom folder such as: /Users/my-username/nordic I can open the folder in VSCode but when I go to&amp;nbsp;&amp;quot;open an existing application&amp;quot; I receive the following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The directory &amp;quot;/Users/my-username/nordic/my-app&amp;quot; does not contain an application source.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If I open app folder within my-app:&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/pastedimage1701192692396v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The app opens up&lt;/p&gt;
&lt;p&gt;I create a new build configuration: If you use 2.4.2 the failure is different then when using 2.5.0&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/pastedimage1701192772433v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Building with 2.5.0 you get this error:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Building app&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/bin/sh -c west build --build-dir /Users/my_username/nordic/my-app/app/build /Users/my_username/nordic/my-app/app --pristine --board nrf52dk_nrf52832 --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION:&lt;/span&gt;&lt;span&gt;STRING&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;NONE&amp;quot;&lt;/span&gt;&lt;span&gt; -DBOARD_ROOT:&lt;/span&gt;&lt;span&gt;STRING&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;/Users/my_username/nordic/my-app&amp;quot;&lt;/span&gt;&lt;span&gt; -DCONF_FILE:&lt;/span&gt;&lt;span&gt;STRING&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;/Users/my_username/nordic/my-app/app/prj.conf&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;-- west build: generating a build system&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Loading Zephyr default modules (Zephyr base).&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Application: /Users/my_username/nordic/my-app/app&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- CMake version: 3.20.5&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found Python3: /opt/nordic/ncs/toolchains/20d68df7e5/opt/python@3.9/bin/python3.9 (found suitable version &lt;/span&gt;&lt;span&gt;&amp;quot;3.9.6&amp;quot;&lt;/span&gt;&lt;span&gt;, minimum required is &lt;/span&gt;&lt;span&gt;&amp;quot;3.8&amp;quot;&lt;/span&gt;&lt;span&gt;) found components: Interpreter &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- &lt;/span&gt;&lt;span&gt;Cache&lt;/span&gt;&lt;span&gt; files will be written to: /Users/my_username/Library/Caches/zephyr&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Zephyr version: 3.4.99 (/opt/nordic/ncs/v2.5.0/zephyr)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found west (found suitable version &lt;/span&gt;&lt;span&gt;&amp;quot;1.1.0&amp;quot;&lt;/span&gt;&lt;span&gt;, minimum required is &lt;/span&gt;&lt;span&gt;&amp;quot;0.14.0&amp;quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Board: nrf52dk_nrf52832&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found host-tools: zephyr 0.16.1 (/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found toolchain: zephyr 0.16.1 (/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found Dtc: /opt/nordic/ncs/toolchains/20d68df7e5/bin/dtc (found suitable version &lt;/span&gt;&lt;span&gt;&amp;quot;1.6.1&amp;quot;&lt;/span&gt;&lt;span&gt;, minimum required is &lt;/span&gt;&lt;span&gt;&amp;quot;1.4.6&amp;quot;&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found BOARD.dts: /opt/nordic/ncs/v2.5.0/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Generated zephyr.dts: /Users/my_username/nordic/my-app/app/build/zephyr/zephyr.dts&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Generated devicetree_generated.h: /Users/my_username/nordic/my-app/app/build/zephyr/include/generated/devicetree_generated.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Including generated dts.cmake file: /Users/my_username/nordic/my-app/app/build/zephyr/dts.cmake&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Parsing /Users/my_username/nordic/my-app/app/Kconfig&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Loaded configuration &amp;#39;/opt/nordic/ncs/v2.5.0/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Merged configuration &amp;#39;/Users/my_username/nordic/my-app/app/prj.conf&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Configuration saved to &amp;#39;/Users/my_username/nordic/my-app/app/build/zephyr/.config&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kconfig header saved to &amp;#39;/Users/my_username/nordic/my-app/app/build/zephyr/include/generated/autoconf.h&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found GnuLd: /opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version &lt;/span&gt;&lt;span&gt;&amp;quot;2.38&amp;quot;&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- The C compiler identification is GNU 12.2.0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- The CXX compiler identification is GNU 12.2.0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- The ASM compiler identification is GNU&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Found assembler: /opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Configuring done&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Generating done&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Build files have been written to: /Users/my_username/nordic/my-app/app/build&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- west build: building application&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[1/141] Preparing syscall dependency handling&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;[2/141] Generating include/generated/app_version.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[3/141] Generating ../../zephyr/include/generated/ncs_version.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[4/141] Generating misc/generated/syscalls_subdirs.trigger&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[5/141] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[6/141] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[7/141] Generating include/generated/driver-validation.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[8/141] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[9/141] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[10/141] Generating include/generated/offsets.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[11/141] Generating include/generated/version.h&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-- Zephyr version: 3.4.99 (/opt/nordic/ncs/v2.5.0/zephyr), build: 2e2523efe52a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[12/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[13/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[14/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[15/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[16/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[17/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[18/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[19/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[20/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[21/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[22/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[23/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[24/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[25/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[26/141] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[27/141] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[28/141] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[29/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[30/141] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[31/141] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[32/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[33/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[34/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[35/141] Generating linker_zephyr_pre0.cmd&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[36/141] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[37/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[38/141] Linking C static library zephyr/arch/common/libisr_tables.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[39/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[40/141] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[41/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[42/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[43/141] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[44/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[45/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[46/141] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[47/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[48/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[49/141] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[50/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[51/141] Linking C static library zephyr/arch/common/libarch__common.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[52/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/__aeabi_read_tp.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[53/141] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[54/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[55/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[56/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/__/common/tls.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[57/141] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[58/141] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[59/141] Linking C static library zephyr/libzephyr.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[60/141] Building C object zephyr/soc/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[61/141] Building C object zephyr/drivers/console/CMakeFiles/drivers__console.dir/uart_console.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[62/141] Building C object zephyr/lib/libc/picolibc/CMakeFiles/lib__libc__picolibc.dir/libc-hooks.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[63/141] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[64/141] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[65/141] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/abort.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[66/141] Linking C static library zephyr/soc/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[67/141] Linking C static library zephyr/lib/libc/picolibc/liblib__libc__picolibc.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[68/141] Linking C static library zephyr/drivers/console/libdrivers__console.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[69/141] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[70/141] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[71/141] Building C object zephyr/soc/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[72/141] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[73/141] Linking C static library zephyr/soc/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[74/141] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[75/141] Linking C static library zephyr/lib/libc/common/liblib__libc__common.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[76/141] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[77/141] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[78/141] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[79/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/mdk/system_nrf52.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[80/141] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[81/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[82/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[83/141] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[84/141] Linking C static library zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[85/141] Building C object CMakeFiles/app.dir/src/main.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;FAILED: CMakeFiles/app.dir/src/main.c.obj &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;ccache /opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF52832_XXAA -DPICOLIBC_INTEGER_PRINTF_SCANF -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/opt/nordic/ncs/v2.5.0/zephyr/include -Izephyr/include/generated -I/opt/nordic/ncs/v2.5.0/zephyr/soc/arm/nordic_nrf/nrf52 -I/opt/nordic/ncs/v2.5.0/zephyr/soc/arm/nordic_nrf/common/. -I/opt/nordic/ncs/v2.5.0/nrf/include -I/opt/nordic/ncs/v2.5.0/nrf/tests/include -I/opt/nordic/ncs/v2.5.0/modules/hal/cmsis/CMSIS/Core/Include -I/opt/nordic/ncs/v2.5.0/zephyr/modules/cmsis/. -I/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v2.5.0/zephyr/modules/hal_nordic/nrfx/. -I/opt/nordic/ncs/v2.5.0/modules/debug/segger/SEGGER -I/opt/nordic/ncs/v2.5.0/modules/debug/segger/Config -fno-strict-aliasing -Os -imacros /Users/my_username/nordic/my-app/app/build/zephyr/include/generated/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-&lt;/span&gt;&lt;span&gt;defined&lt;/span&gt;&lt;span&gt; -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/my_username/nordic/my-app/app=&lt;/span&gt;&lt;span&gt;CMAKE_SOURCE_DIR&lt;/span&gt;&lt;span&gt; -fmacro-prefix-map=/opt/nordic/ncs/v2.5.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/opt/nordic/ncs/v2.5.0=WEST_TOPDIR -ffunction-sections -fdata-sections --specs=picolibc.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In file included from /opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain/gcc.h:92,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; from /opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain.h:50,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; from /opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/kernel_includes.h:19,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; from /opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/kernel.h:17,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; from /Users/my_username/nordic/my-app/app/src/main.c:6:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;../src/main.c: In function &amp;#39;main&amp;#39;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:85:41: error: &amp;#39;__device_dts_ord_DT_N_NODELABEL_examplesensor0_ORD&amp;#39; undeclared (first use in this function)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 85 | &lt;/span&gt;&lt;span&gt;#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 132 | &lt;/span&gt;&lt;span&gt;#define _DO_CONCAT(x, y) x ## y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 85 | &lt;/span&gt;&lt;span&gt;#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:211:37: note: in expansion of macro &amp;#39;DEVICE_NAME_GET&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 211 | &lt;/span&gt;&lt;span&gt;#define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:228:34: note: in expansion of macro &amp;#39;DEVICE_DT_NAME_GET&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 228 | &lt;/span&gt;&lt;span&gt;#define DEVICE_DT_GET(node_id) (&amp;amp;DEVICE_DT_NAME_GET(node_id))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~~~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/Users/my_username/nordic/my-app/app/src/main.c:20:18: note: in expansion of macro &amp;#39;DEVICE_DT_GET&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 20 | sensor = DEVICE_DT_GET(DT_NODELABEL(examplesensor0));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:85:41: note: each undeclared identifier is reported only once for each function it appears in&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 85 | &lt;/span&gt;&lt;span&gt;#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/toolchain/common.h:132:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 132 | &lt;/span&gt;&lt;span&gt;#define _DO_CONCAT(x, y) x ## y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:85:33: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 85 | &lt;/span&gt;&lt;span&gt;#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:211:37: note: in expansion of macro &amp;#39;DEVICE_NAME_GET&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 211 | &lt;/span&gt;&lt;span&gt;#define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/opt/nordic/ncs/v2.5.0/zephyr/include/zephyr/device.h:228:34: note: in expansion of macro &amp;#39;DEVICE_DT_NAME_GET&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 228 | &lt;/span&gt;&lt;span&gt;#define DEVICE_DT_GET(node_id) (&amp;amp;DEVICE_DT_NAME_GET(node_id))&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~~~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/Users/my_username/nordic/my-app/app/src/main.c:20:18: note: in expansion of macro &amp;#39;DEVICE_DT_GET&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; 20 | sensor = DEVICE_DT_GET(DT_NODELABEL(examplesensor0));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; | ^~~~~~~~~~~~~&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[86/141] Building C object zephyr/drivers/sensor/nrf5/CMakeFiles/drivers__sensor__nrf5.dir/temp_nrf5.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[87/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/helpers/nrfx_gppi_ppi.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[88/141] Linking C static library modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[89/141] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[90/141] Building C object modules/segger/CMakeFiles/modules__segger.dir/opt/nordic/ncs/v2.5.0/modules/debug/segger/SEGGER/SEGGER_RTT.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[91/141] Building C object modules/segger/CMakeFiles/modules__segger.dir/SEGGER_RTT_zephyr.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[92/141] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[93/141] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[94/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[95/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/drivers/src/nrfx_ppi.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[96/141] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[97/141] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[98/141] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/opt/nordic/ncs/v2.5.0/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;ninja: build stopped: subcommand failed.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;FATAL ERROR: &lt;/span&gt;&lt;span&gt;command&lt;/span&gt;&lt;span&gt; exited with status 1: /opt/nordic/ncs/toolchains/20d68df7e5/bin/cmake --build /Users/my_username/nordic/my-app/app/build&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;So it seems I am unable to get the example cloned with&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;git clone &lt;a href="https://github.com/zephyrproject-rtos/example-application"&gt;github.com/.../example-application&lt;/a&gt; my-app&amp;quot; to build, when using nrf52832 DK.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Difficulty creating a Zephyr-based nRFConnect project within VSCode that contains a custom sensor driver</title><link>https://devzone.nordicsemi.com/thread/457925?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 15:26:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5701e942-d6b3-4ca1-978a-e36f9ea5464a</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello Josh,&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
&lt;p&gt;1) I created a folder named &amp;quot;case_customOTD&amp;quot; in a local folder (C:/ZTEMP)&lt;/p&gt;
&lt;p&gt;then I opened this folder with the VS Code (you can select SDK version from the VS Code extension icon on the left)&lt;/p&gt;
&lt;p&gt;I just opened a &amp;quot;nrf Connect&amp;quot; terminal in the VS Code, and typed the same git clone command that you have provided&lt;/p&gt;
&lt;p&gt;It worked flawlessly and after that the repo is cloned in the folder&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/pastedimage1701185124762v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(I am on Windows OS)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) Zephyr Out of Tree Driver sample is present in NCS 2.4.2.&lt;/p&gt;
&lt;p&gt;I started with the VSCode, and selected NCS 2.4.2 as the SDK and the toolchain 2.4.2&lt;/p&gt;
&lt;p&gt;I created a new application from samples and chose &amp;quot;Out of Tree Driver&amp;quot; sample from zephyr.&lt;/p&gt;
&lt;p&gt;After creation of the application, I changed the SDK and toolchain version to 2.5.0&lt;/p&gt;
&lt;p&gt;I built the application, and it is building just fine.&amp;nbsp;&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/pastedimage1701184884459v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;/BR, Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>