<?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>BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106110/ble-dfu-with-zephyr-os</link><description>Hello, 
 I&amp;#39;m tring to get OAD DFU working on an nrf52840 using Zephyr OS. Relevant information: 
 
 Host OS: Ubuntu 22.04, kernel 6.5.0 
 Zephyr SDK Version: 0.16.3 
 MCUBoot Version: 2.0.0 
 
 
 The problem is when I build my project, which I modified</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Dec 2023 21:20:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106110/ble-dfu-with-zephyr-os" /><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/459072?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 21:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d13cd6a-2ce3-4615-9832-50d58afc4056</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Try this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/peripheral_5F00_hr_5F00_DFU.7z"&gt;devzone.nordicsemi.com/.../peripheral_5F00_hr_5F00_DFU.7z&lt;/a&gt;, and use the sample&amp;nbsp;pm_static.yml to update the image.&amp;nbsp;&lt;span&gt;See&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/config_and_build/bootloaders_and_dfu/bootloader.html"&gt;Static partition requirement for DFU&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;“Beware that this code/configuration is not fully tested or qualified and should be considered provided “as-is”. Please test it with your application and let me know if you find any issues.”&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/458582?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 18:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cbff793-5d64-4ee2-86dc-fc4047fa76ff</guid><dc:creator>okeeffet</dc:creator><description>&lt;p&gt;Thank you for the updated code. I can now see the board advertising in the nRF Connect app on my android phone. However, when I click the DFU button and select the dfu application zip file that I generated from the blinky example, I see the following in the app log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRF Connect, 2023-12-01
Zephyr Heartrate Sensor (CF:CD:B0:4A:9E:BF)
V	13:51:32.784	[McuMgr] Connecting...
D	13:51:32.786	[McuMgr] gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, LE 1M)
D	13:51:32.810	[McuMgr] [Callback] Connection state changed with status: 0 and new state: 2 (CONNECTED)
I	13:51:32.812	[McuMgr] Connected to CF:CD:B0:4A:9E:BF
D	13:51:32.814	[McuMgr] wait(300)
I	13:51:32.815	[McuMgr] MTU changed to: 498
V	13:51:33.117	[McuMgr] Discovering services...
D	13:51:33.124	[McuMgr] gatt.discoverServices()
I	13:51:33.137	[McuMgr] Services discovered
V	13:51:33.142	[McuMgr] Primary service found
D	13:51:33.147	[McuMgr] gatt.setCharacteristicNotification(da2e7828-fbce-4e01-ae9e-261174997c48, true)
V	13:51:33.153	[McuMgr] Enabling notifications for da2e7828-fbce-4e01-ae9e-261174997c48
D	13:51:33.158	[McuMgr] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
I	13:51:33.254	[McuMgr] Data written to descr. 00002902-0000-1000-8000-00805f9b34fb
V	13:51:33.264	[McuMgr] Waiting for value change...
V	13:51:33.268	[McuMgr] Writing characteristic da2e7828-fbce-4e01-ae9e-261174997c48 (WRITE COMMAND)
D	13:51:33.270	[McuMgr] gatt.writeCharacteristic(da2e7828-fbce-4e01-ae9e-261174997c48, value=0x000000010000FF06A0, WRITE COMMAND)
I	13:51:33.277	[McuMgr] Data written to da2e7828-fbce-4e01-ae9e-261174997c48
I	13:51:33.348	[McuMgr] Notification received from da2e7828-fbce-4e01-ae9e-261174997c48, value: (0x) 01-00-00-06-00-00-FF-06-BF-62-72-63-08-FF
I	13:51:33.355	[McuMgr] Wait for value changed complete
A	13:51:33.361	[McuMgr] Received Header (Op: 1, Flags: 0, Len: 6, Group: 0, Seq: 255, Command: 6) CBOR {&amp;quot;rc&amp;quot;:8}
W	13:51:33.365	[McuMgr] Error: NOT_SUPPORTED (8)
A	13:51:33.372	[McuMgr] Sending (10 bytes) Header (Op: 0, Flags: 0, Len: 2, Group: 1, Seq: 0, Command: 0) CBOR {}
V	13:51:33.375	[McuMgr] Writing characteristic da2e7828-fbce-4e01-ae9e-261174997c48 (WRITE COMMAND)
D	13:51:33.378	[McuMgr] gatt.writeCharacteristic(da2e7828-fbce-4e01-ae9e-261174997c48, value=0x0000000200010000BFFF, WRITE COMMAND)
I	13:51:33.387	[McuMgr] Data written to da2e7828-fbce-4e01-ae9e-261174997c48
I	13:51:33.480	[McuMgr] Notification received from da2e7828-fbce-4e01-ae9e-261174997c48, value: (0x) 01-00-00-06-00-01-00-00-BF-62-72-63-08-FF
A	13:51:33.491	[McuMgr] Received Header (Op: 1, Flags: 0, Len: 6, Group: 1, Seq: 0, Command: 0) CBOR {&amp;quot;rc&amp;quot;:8}
W	13:51:33.496	[McuMgr] Error: NOT_SUPPORTED (8)
V	13:51:33.509	[McuMgr] Disconnecting...
D	13:51:33.513	[McuMgr] gatt.disconnect()
D	13:51:33.519	[McuMgr] [Callback] Connection state changed with status: 0 and new state: 0 (DISCONNECTED)
I	13:51:33.521	[McuMgr] Disconnected
D	13:51:33.522	[McuMgr] gatt.close()
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/458188?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 19:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c948eb47-503e-48ad-9ea5-cc7510ab7bf7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Make sure clean and build if&amp;nbsp;you&lt;span&gt;&amp;nbsp;comment out lines 28 and 29.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can refer to NCS v2.5.0&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.4.99-ncs1/samples/subsys/mgmt/mcumgr/smp_svr"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/v3.4.99-ncs1/samples/subsys/mgmt/mcumgr/smp_svr&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/457974?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 23:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ee7820b-8334-4ea3-9eb0-b441eeb31a13</guid><dc:creator>okeeffet</dc:creator><description>&lt;p&gt;Yes I&amp;#39;m familiar with that post. I get the same error if I comment out lines 28 and 29.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/457889?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 14:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639b06b6-c138-43e2-a59c-79d0935411ab</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Are you including the files as &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/105303/a-compiling-error-regarding-migration-to-the-new-ncs2-5-0"&gt;this&amp;nbsp;similar post&lt;/a&gt;? If so, remove them. They are not required in v2.5.0.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/457721?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 02:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fab17b8c-19b4-4341-8272-8a1017a6caa5</guid><dc:creator>okeeffet</dc:creator><description>&lt;p&gt;Hi, I installed NCS v2.5.0 and rebuilt the same project in the NCS environment. It appears to be the same error. Here is the full build output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ west build -p -b nrf52840dk_nrf52840 dfu-oad/ -d build-dfu-oad -- -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\&amp;quot;bootloader/mcuboot/root-rsa-2048.pem\&amp;quot;                       [117/4130]
-- west build: generating a build system                                                                                                                                                                                                    
Loading Zephyr default modules (Zephyr base).                                                                         
-- Application: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/dfu-oad                                                                                                                                                 
-- CMake version: 3.27.5                                                                                              
-- Found Python3: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/.venv/bin/python3 (found suitable version &amp;quot;3.10.12&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter                                         
-- Cache files will be written to: /home/thomasokeeffe/.cache/zephyr                                                                                                                                                                        
-- Zephyr version: 3.4.99 (/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr)                                                                                                                                      
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)                                                                                                                                                                
-- Board: nrf52840dk_nrf52840                              
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK                                                      
-- Found host-tools: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)                                                           
-- Found toolchain: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)                                                            
-- Found Dtc: /opt/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
-- Generated zephyr.dts: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/zephyr.dts                                                                                                                
-- Generated devicetree_generated.h: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/dts.cmake
Parsing /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/Kconfig                                                                                                                                                  
Loaded configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/dfu-oad/prj.conf&amp;#39;                                                                                                                                 
Merged configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;
Configuration saved to &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/.config&amp;#39;                                                                                                                   
Kconfig header saved to &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version &amp;quot;2.38&amp;quot;) 
-- The C compiler identification is GNU 12.2.0                                                                        
-- The CXX compiler identification is GNU 12.2.0                                                                      
-- The ASM compiler identification is GNU                                                                             
-- Found assembler: /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc                                                                                                                                                          
-- Found Python3: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/.venv/bin/python3 (found version &amp;quot;3.10.12&amp;quot;) found components: Interpreter

=== child image mcuboot -  begin ===                                                                                                                                                                                               [86/4130]
loading initial cache file /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/child_image_preload.cmake
Loading Zephyr default modules (Zephyr base).                                                                         
-- Application: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/bootloader/mcuboot/boot/zephyr                                                                                                                          
-- CMake version: 3.27.5                                   
-- Found Python3: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/.venv/bin/python3 (found suitable version &amp;quot;3.10.12&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /home/thomasokeeffe/.cache/zephyr                                                                                                                                                                        
-- Zephyr version: 3.4.99 (/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr)                                                                                                                                      
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)                                                                                                                                                                
-- Board: nrf52840dk_nrf52840                              
-- Found host-tools: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)                                                           
-- Found toolchain: zephyr 0.16.3 (/opt/zephyr-sdk-0.16.3)                                                            
-- Found Dtc: /opt/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
-- Found devicetree overlay: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/modules/mcuboot/usb.overlay                                                                                                            
-- Generated zephyr.dts: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/zephyr/zephyr.dts                                                                                                        
-- Generated devicetree_generated.h: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/zephyr/dts.cmake
Parsing /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/bootloader/mcuboot/boot/zephyr/Kconfig                                                                                                                          
Loaded configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/bootloader/mcuboot/boot/zephyr/prj.conf&amp;#39;                                                                                                          
Merged configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/bootloader/mcuboot/boot/zephyr/boards/nrf52840dk_nrf52840.conf&amp;#39;
Merged configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/subsys/partition_manager/partition_manager_enabled.conf&amp;#39;
Merged configuration &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;
Configuration saved to &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/zephyr/.config&amp;#39;                                                                                                           
Kconfig header saved to &amp;#39;/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version &amp;quot;2.38&amp;quot;) 
-- The C compiler identification is GNU 12.2.0                                                                        
-- The CXX compiler identification is GNU 12.2.0                                                                      
-- The ASM compiler identification is GNU                                                                             
-- Found assembler: /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc                                                                                                                                                          
CMake Warning at /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/lib/flash_patch/CMakeLists.txt:8 (message):                                                                                                        
                                                           

        ----------------------------------------------------------                                                                                                                                                                          
        --- WARNING: To maintain the integrity of secure boot, ---                                                                                                                                                                          
        --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---                                                                                                                                                                          
        ----------------------------------------------------------                                                                                                                                                                          


MCUBoot bootloader key file: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/bootloader/mcuboot/root-ec-p256.pem                                                                                                        
-- Configuring done (3.1s)                                 
-- Generating done (0.1s)                                  
-- Build files have been written to: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/mcuboot                                                                                                              
=== child image mcuboot -  end ===

CMake Warning at /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/modules/mcuboot/CMakeLists.txt:320 (message):                                                                                             [40/4130]
                                                           

          ---------------------------------------------------------                                                                                                                                                                         
          --- WARNING: Using default MCUBoot key, it should not ---                                                                                                                                                                         
          --- be used for production.                           ---                                                                                                                                                                         
          ---------------------------------------------------------                                                                                                                                                                         
                                                           



CMake Warning at /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/modules/mcuboot/CMakeLists.txt:707 (message):
  CONFIG_MCUBOOT_SIGNATURE_KEY_FILE is set to                                                                         
  &amp;quot;bootloader/mcuboot/root-rsa-2048.pem&amp;quot;.                                                                             

  You are using the NCS Mcuboot signing, which means this option will be                                                                                                                                                                    
  ignored.                                                 

  Image signing in NCS is done via the MCUboot image&amp;#39;s                                                                
  CONFIG_BOOT_SIGNATURE_KEY_FILE option.                                                                              

  Consider setting CONFIG_MCUBOOT_SIGNATURE_KEY_FILE in your application                                                                                                                                                                    
  image back to its default value, the empty string.                                                                  


CMake Warning at /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/cmake/partition_manager.cmake:79 (message):                                                                                                        
                                                           

          ---------------------------------------------------------------------                                                                                                                                                             
          --- WARNING: Using a bootloader without pm_static.yml.            ---                                                                                                                                                             
          --- There are cases where a deployed product can consist of       ---                                                                                                                                                             
          --- multiple images, and only a subset of these images can be     ---                                                                                                                                                             
          --- upgraded through a firmware update mechanism. In such cases,  ---                                                                                                                                                             
          --- the upgradable images must have partitions that are static    ---                                                                                                                                                             
          --- and are matching the partition map used by the bootloader     ---                                                                                                                                                             
          --- programmed onto the device.                                   ---                                                                                                                                                             
          ---------------------------------------------------------------------                                                                                                                                                             
                                                           

Call Stack (most recent call first):                                                                                  
  /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/cmake/modules/kernel.cmake:247 (include)                                                                                                                       
  /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/cmake/modules/zephyr_default.cmake:138 (include)                                                                                                               
  /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)                                                                                     


-- Configuring done (6.9s)                                 
-- Generating done (0.1s)                                  
-- Build files have been written to: /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad                                                                                                                      
-- west build: building application                                                                                   
[1/268] Preparing syscall dependency handling                                                                         

[5/268] Generating include/generated/version.h                                                                        
-- Zephyr version: 3.4.99 (/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr), build: v3.4.99-ncs1                                                                                                                 
[9/268] Performing build step for &amp;#39;mcuboot_subimage&amp;#39;                                                                                                                                                                                        
[1/187] Preparing syscall dependency handling

[4/187] Generating include/generated/version.h                                                                        
-- Zephyr version: 3.4.99 (/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr), build: v3.4.99-ncs1                                                                                                                 
[187/187] Linking C executable zephyr/zephyr.elf                                                                                                                                                                                            
Memory region         Used Size  Region Size  %age Used                                                               
           FLASH:       31870 B        48 KB     64.84%                                                               
             RAM:       17728 B       256 KB      6.76%                                                               
        IDT_LIST:          0 GB         2 KB      0.00%                                                               
[30/268] Building C object CMakeFiles/app.dir/src/main.c.obj                                                          
FAILED: CMakeFiles/app.dir/src/main.c.obj                                                                             
ccache /opt/zephyr-sdk-0.16.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF52840_XXAA -DPICOLIBC_INTEGER_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=1 -D_POSIX_C_SOURCE=200809 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGR
AM_START -D__ZEPHYR__=1 -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/samples/bluetooth -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/drivers/mpsl/clock_control -I/home/thomasok
eeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad/zephyr/include/generated -I/home/thomasokeeffe/Documents/school/drexel/research/CTS
_sensor/ncs/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/soc/arm/nordic_nrf/common/. -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/subsys/mgm
t/mcumgr/util/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/subsys/mgmt/mcumgr/transport/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/subsys/bluetooth -I/hom
e/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/lib/multithreading_lock/. -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_s
ensor/ncs/nrf/subsys/bluetooth/controller/. -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/drivers/flash -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrf/tests/include -I/home/thoma
sokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/modules/hal/cmsis/CMSIS/Core/Include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/modules/cmsis/. -I/home/thomasokeeffe/Documents/school/drexel/res
earch/CTS_sensor/ncs/modules/hal/nordic/nrfx -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/modules/hal/nordic/nrfx/drivers/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/modules/hal
/nordic/nrfx/mdk -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/modules/hal_nordic/nrfx/. -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/modules/debug/segger/SEGGER -I/home/thomasokee
ffe/Documents/school/drexel/research/CTS_sensor/ncs/modules/debug/segger/Config -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/modules/crypto/tinycrypt/lib/include -I/home/thomasokeeffe/Documents/school/drexel/res
earch/CTS_sensor/ncs/modules/lib/zcbor/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/fem/common/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/fem/
nrf21540_gpio/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/fem/simple_gpio/in
clude -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/fem/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/fem/include/protocol -I/home/thomasokeeffe/Documents
/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/include -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/mpsl/include/protocol -I/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxli
b/softdevice_controller/include -isystem /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros /home/thomasokeeffe/Documents/school/drexel/researc
h/CTS_sensor/ncs/build-dfu-oad/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/zephyr-sdk-0.16.3/arm-
zephyr-eabi/arm-zephyr-eabi -imacros /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointe
r-arith -Wexpansion-to-defined -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=/h
ome/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/dfu-oad=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/thomasokeeffe/
Documents/school/drexel/research/CTS_sensor/ncs=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 /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/dfu-oad/src/main.c
In file included from /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/dfu-oad/src/main.c:28:                                                                                                                            
/home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/zephyr/include/zephyr/mgmt/mcumgr/grp/img_mgmt/img_mgmt.h:14:10: fatal error: bootutil/image.h: No such file or directory
   14 | #include &amp;lt;bootutil/image.h&amp;gt;                                                                                   
      |          ^~~~~~~~~~~~~~~~~~                                                                                   
compilation terminated.                                    
[46/268] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj                                                                                                                                                      
ninja: build stopped: subcommand failed.                                                                              
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/thomasokeeffe/Documents/school/drexel/research/CTS_sensor/ncs/build-dfu-oad&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU with Zephyr OS</title><link>https://devzone.nordicsemi.com/thread/457702?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 21:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a5ad691-b33b-4224-8e93-9e8f5ea18d63</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;ul&gt;&lt;li&gt;Zephyr SDK Version: 0.16.3&lt;/li&gt;
&lt;li&gt;MCUBoot Version: 2.0.0&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;Our support is based on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/index.html"&gt;nRF Connect SDK (NCS)&lt;/a&gt;, so I would suggest you use the latest NCS v.2.5.0. Check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/105303/a-compiling-error-regarding-migration-to-the-new-ncs2-5-0"&gt;this&amp;nbsp;similar question&lt;/a&gt; with NCS v2.5.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>