MCUBoot usb with openthread sample

I have a custom board with a BMD345-A-R module and working with ncs v2.2.0. It has an USB port to comunicate with a RaspberryPi. The board works perfectly cause I have tried several examples:

Serial MCUBoot -> I can manage firmware updates with mcumgr via USB.

openthread -> I configure the project RCP mode and I can connect with ot-ctl (from my RaspberryPi) to my custom board (RCP).

I have to add this "CONFIG_BOARD_ENABLE_DCDC=n" to my prj.conf and mcuboot.conf. Resuming, I have created an openthread project and added the code necessary to enable MCUBoot like the tutorial explain. 

My problem is openthread is working fine but I cant communicate with mcumgr. I try:

mcumgr --conntype serial --connstring "/dev/ttyACM0,baud=115200" echo hello

But has no response.

I have add the next configuration files to openthread project:

overlay-rcp.conf

overlay-usb-nrf-br.conf

usb.overlay

I tried adding "overlay-cdc.conf" too like SMP_Server indicate to build it, but it is the same result, Openthread works but mcumgr not.

I tried the SMP_Server sample with the next build command:

west build  -p  -b nrf52840dk_nrf52840    zephyr/samples/subsys/mgmt/mcumgr/smp_svr    --    -DOVERLAY_CONFIG='overlay-cdc.conf;custom_config.conf'    -DDTC_OVERLAY_FILE=usb.overlay

And it works too. Mcumgr communicates ok. custom_config.conf has "CONFIG_BOARD_ENABLE_DCDC=n" and I added it to the mcuboot.conf in child_image folder too.

I attach the project, maybe you can try it on a nrf52840DK board.0272.coprocessor_custom.zip

Parents
  • Hi,

    I removed the build folder in the sample you provided and rebuilt it with "west build -b nrf52840dk_nrf52840" , and ran the commands in the image below

    This result can be seen both with "CONFIG_BOARD_ENABLE_DCDC=n" and with the config removed from config files. 

    Its worth mentioning I have also disabled the Mass Storage feature on the Interface MCU with J-Link commander with the commands:

    - MSDDisable
    - SetHWFC Force
    - exit

    As seen here

    Are you certain that you've not changed anything else or if you're using the com-port for something else? If you've connected the DK to for instance a RTT viewer, then the device is busy and you will not be able to use it to echo anything.

    Kind regards,
    Andreas

  • Yes, but I need it working with USB port... J3 from nrf52840dk is the port I need working with openthread RCP and mcumgr.

    I have tried several configurations with the next .conf to try it works over J3 usb connector:

    overlay-usb-nrf-br.conf

    usb.overlay

    overlay-cdc.conf

    But I cant get it working. 

    Summarizing I have tested the example openthread coprocessor with the next build command:

    west build -p -b nrf52840dk_nrf52840 -- -DDTC_OVERLAY_FILE=usb.overlay -DOVERLAY_CONFIG='overlay-usb-nrf-br.conf;overlay-cdc.conf;overlay-rcp.conf'

    And it works over J3 usb connector. Now I want to add mcumgr, so I add what is explained here. Adding this to prj.conf:

    # Enable mcumgr.
    CONFIG_MCUMGR=y
    
    # Enable most core commands.
    CONFIG_MCUMGR_CMD_IMG_MGMT=y
    CONFIG_MCUMGR_CMD_OS_MGMT=y
    
    # Ensure an MCUboot-compatible binary is generated.
    CONFIG_BOOTLOADER_MCUBOOT=y
    
    # Enable the serial mcumgr transport.
    CONFIG_MCUMGR_SMP_UART=y
    
    # Disable UART Console and enable the RTT console
    CONFIG_UART_CONSOLE=n
    CONFIG_RTT_CONSOLE=y
    CONFIG_USE_SEGGER_RTT=y
    
    # Some command handlers require a large stack.
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096

    And this into the main:

    #include "os_mgmt/os_mgmt.h"
    #include "img_mgmt/img_mgmt.h"

    os_mgmt_register_group();
    img_mgmt_register_group();

    But it doesnt work. Just works the openthread via J3 usb connector. 

    So I thought that maybe I should add:

     -DOVERLAY_CONFIG=overlay-cdc.conf \
    -DDTC_OVERLAY_FILE=usb.overlay

    Cause SMP_Server sample is explained here. I have builded that example with the next build command:

    west build \
       -b nrf52840dk_nrf52840 \
       samples/subsys/mgmt/mcumgr/smp_svr \
       -- \
       -DOVERLAY_CONFIG=overlay-cdc.conf \
       -DDTC_OVERLAY_FILE=usb.overlay

    And I can use mcumgr via J3 usb connector. So I dont know how to mix openthread and mcumgr acces via J3 usb connector.

  • Hi,

    JuanAlm said:

    Yes, but I need it working with USB port... J3 from nrf52840dk is the port I need working with openthread RCP and mcumgr.

    I have tried several configurations with the next .conf to try it works over J3 usb connector:

    overlay-usb-nrf-br.conf

    usb.overlay

    overlay-cdc.conf

    But I cant get it working. 

    The USB CDC_ACM version of the smp server sample should work, but I had a look at the requirement of using both the OpenThread RCP and mcumgr over serial usb simultaneously and the reason for why the echo command gives no response is because the RCP uses the serial communication making it unavailable for mcumgr. In other words a similar reason as I mentioned in my previous answer where the the communication medium is busy.

    I discussed this with a colleague of mine and they recommend to use serial recovery instead.

    Kind regards,
    Andreas

  • Yes, I discovered that if I modify the nrf52840dk_nrf52840.overlay with this:

    / {
    	chosen {
    		zephyr,uart-mcumgr = &cdc_acm_uart0;
    	};
    };
    
    zephyr_udc0: &usbd {
    	compatible = "nordic,nrf-usbd";
    	status = "okay";
    };
    
    &zephyr_udc0 {
    	cdc_acm_uart0: cdc_acm_uart0 {
    		compatible = "zephyr,cdc-acm-uart";
    	};
    };

    I can enable mcumgr to work via J3 usb connector. I tried it with blinky sample and it works. So I tried to apply this to openthread sample but I get an error building. I can imagine that it is because openthread and mcumgr are trying to use the same uart0.

    So my question is:

    1º) Can I set uart0 for openthread and uart1 for mcumgr, both working via USB at the same time?

    2º) How should I modify nrf52840dk_nrf52840.overlay for it?

    I need that mcumgr works buttonless, so I think that serial recovery is not an option.

  • Hi,

    JuanAlm said:
    Yes, I discovered that if I modify the nrf52840dk_nrf52840.overlay with this:

    I saw your solution to your other case from yesterday, so I'm glad you got that to work!

    On another note, I see you've created another case asking the same question as q1 here. Could you elaborate a bit about why you create so many cases with very similar topics? It is usually a good policy to keep the cases to "one topic per case", but the cases you've created the past week seems all to be on the same topic. In this case you should strongly consider to keep your questions within the same case to make it easier to follow your development.

    Which brings me to my first question. As I haven't followed your cases due to the number of cases created on your project, what are your goal other than "a custom board with a BMD345-A-R module and working with ncs v2.2.0. It has an USB port to comunicate with a RaspberryPi"? Are you creating your own RCP device/dongle that you want to use to initiate firmware updates to other devices in your Openthread network? Are you trying to add DFU support to your Openthread devices? 

    JuanAlm said:
    1º) Can I set uart0 for openthread and uart1 for mcumgr, both working via USB at the same time?

    Two distinct UARTs can be used, but I don't think there are enough pins to the USB connector to have both working through the USB simultaneously. But nonetheless, you should be able to swap which UART you're using based on which mode your device are in. MCUboot/firmware updates are not running at the same time as the application firmware is running, so if you find a way to pause the RCP when you want to initiate firmware update you should get closer to (what I believe is) your goal.

    JuanAlm said:
    I need that mcumgr works buttonless, so I think that serial recovery is not an option.

    Serial recovery does have a wait functionality, so you could implement a buttonless app with serial recovery. This sample should illustrate how to do this: https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery/mcuboot_serial_recovery_cdc_acm_wait

    Let me know if this is also outside the scope of your application, so I can see if I find some other options for you.

    Kind regards,
    Andreas

  • On another note, I see you've created another case asking the same question as q1 here

    Sorry, I thought that would be worth for the community to have a ticket with a clean description about the problem and the solution. No more unnecessary tickets, sorry again!

    Are you creating your own RCP device/dongle that you want to use to initiate firmware updates to other devices in your Openthread network? Are you trying to add DFU support to your Openthread devices? 

    I'm creating my own RCP dongle that I want to use for openthread communications. On the other hand, I want to enable the possibility to update the dongle via USB. The only port that has this custom dongle is an USB port, so openthread (the openthread demon "ot-ctl" running in a RaspberryPi connected to my dongle via the USB port) has to share the USB connector with mcumgr.

    Two distinct UARTs can be used, but I don't think there are enough pins to the USB connector to have both working through the USB simultaneously. But nonetheless, you should be able to swap which UART you're using based on which mode your device are in. MCUboot/firmware updates are not running at the same time as the application firmware is running, so if you find a way to pause the RCP when you want to initiate firmware update you should get closer to (what I believe is) your goal.

    So the point would be set the same UART for openthread and mcumgr and enable 1 service when I disable the other one? Is it possible set the same uart for both services in the .dts file? Or you tell me that I should enable 2 UARTs (one for each service) and enable/disable the UARTs? Or maybe what you are trying to tell me is not using mcumgr and reset the dongle, entering in bootloader mode?

    Serial recovery does have a wait functionality, so you could implement a buttonless app with serial recovery. This sample should illustrate how to do this: https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery/mcuboot_serial_recovery_cdc_acm_wait

    This might works but I can't imagine a way to reset the dongle butonless... It's powered by USB, is there a function from zephyr to restart the USB (switch off the current and switch on)?

  • JuanAlm said:
    Sorry, I thought that would be worth for the community to have a ticket with a clean description about the problem and the solution. No more unnecessary tickets, sorry again!

    I agree to the sentiment about having tickets with clean descriptions about the problem and solution, so no need to apologize, but a balance between creating new cases and continuing in one case is desired! Thank you for both thinking of the community and taking this into consideration.

    JuanAlm said:
    I'm creating my own RCP dongle that I want to use for openthread communications. On the other hand, I want to enable the possibility to update the dongle via USB. The only port that has this custom dongle is an USB port, so openthread (the openthread demon "ot-ctl" running in a RaspberryPi connected to my dongle via the USB port) has to share the USB connector with mcumgr.

    Thank you for filling in the details

    JuanAlm said:
    So the point would be set the same UART for openthread and mcumgr and enable 1 service when I disable the other one? Is it possible set the same uart for both services in the .dts file? Or you tell me that I should enable 2 UARTs (one for each service) and enable/disable the UARTs? Or maybe what you are trying to tell me is not using mcumgr and reset the dongle, entering in bootloader mode?

    I see I was a bit unclear in my previous reply. I will try to expand on this in the coming section.

    JuanAlm said:
    Or you tell me that I should enable 2 UARTs (one for each service) and enable/disable the UARTs?

    If you intend to not use serial recovery, you will have to use 2 UARTs, one for each service. As far as I understand the issue is that you can't use two UARTs over one J3 USB (correct me if you believe I am wrong) due to pin limitations. This leads to you having to implement some kind of logic that chooses which UART that should be allowed to use the J3 at a given time, alternatively you run one through J2 and the interface MCU.

    JuanAlm said:
    This might works but I can't imagine a way to reset the dongle butonless... 

    I discussed this with a colleague and this is how they imagine the sequence to look

    You have two devices, the host + dongle where we start with the dongle in RCP mode

    Dongle: RCP Mode

    Host: sends reset command over RCP protocol

    Dongle: Resets

    Dongle: Enter wait Wait for Serial Recovery mode, 5 sec

    Host: Change to DFU Mode

    Host: Send mcumgr command

    Dongle: See mcumgr command -> Change to Serial recovery

    Host: Send update to dongle using mcumgr

    Dongle: Receive update

    Host: Send reset command to dongle over mcumgr

    Dongle: Reset into new firmware

    Dongle: Wait for Serial Recovery mode, 5 sec

    Dongle: No command received, enter RCP mode

    Dongle: RCP mode

    Host: Change to RCP mode

    Let me know if this clarifies anything and feel free to ask more questions if anything is unclear

    Kind regards,
    Andreas

Reply
  • JuanAlm said:
    Sorry, I thought that would be worth for the community to have a ticket with a clean description about the problem and the solution. No more unnecessary tickets, sorry again!

    I agree to the sentiment about having tickets with clean descriptions about the problem and solution, so no need to apologize, but a balance between creating new cases and continuing in one case is desired! Thank you for both thinking of the community and taking this into consideration.

    JuanAlm said:
    I'm creating my own RCP dongle that I want to use for openthread communications. On the other hand, I want to enable the possibility to update the dongle via USB. The only port that has this custom dongle is an USB port, so openthread (the openthread demon "ot-ctl" running in a RaspberryPi connected to my dongle via the USB port) has to share the USB connector with mcumgr.

    Thank you for filling in the details

    JuanAlm said:
    So the point would be set the same UART for openthread and mcumgr and enable 1 service when I disable the other one? Is it possible set the same uart for both services in the .dts file? Or you tell me that I should enable 2 UARTs (one for each service) and enable/disable the UARTs? Or maybe what you are trying to tell me is not using mcumgr and reset the dongle, entering in bootloader mode?

    I see I was a bit unclear in my previous reply. I will try to expand on this in the coming section.

    JuanAlm said:
    Or you tell me that I should enable 2 UARTs (one for each service) and enable/disable the UARTs?

    If you intend to not use serial recovery, you will have to use 2 UARTs, one for each service. As far as I understand the issue is that you can't use two UARTs over one J3 USB (correct me if you believe I am wrong) due to pin limitations. This leads to you having to implement some kind of logic that chooses which UART that should be allowed to use the J3 at a given time, alternatively you run one through J2 and the interface MCU.

    JuanAlm said:
    This might works but I can't imagine a way to reset the dongle butonless... 

    I discussed this with a colleague and this is how they imagine the sequence to look

    You have two devices, the host + dongle where we start with the dongle in RCP mode

    Dongle: RCP Mode

    Host: sends reset command over RCP protocol

    Dongle: Resets

    Dongle: Enter wait Wait for Serial Recovery mode, 5 sec

    Host: Change to DFU Mode

    Host: Send mcumgr command

    Dongle: See mcumgr command -> Change to Serial recovery

    Host: Send update to dongle using mcumgr

    Dongle: Receive update

    Host: Send reset command to dongle over mcumgr

    Dongle: Reset into new firmware

    Dongle: Wait for Serial Recovery mode, 5 sec

    Dongle: No command received, enter RCP mode

    Dongle: RCP mode

    Host: Change to RCP mode

    Let me know if this clarifies anything and feel free to ask more questions if anything is unclear

    Kind regards,
    Andreas

Children
  • The sequence is clear.

    How can I reset the dongle? Is there a function from zephyr? Is enough with sys_reboot() ? Maybe I have to wire the GPIO to the reset pin?

    Host: sends reset command over RCP protocol

    Do you mean about sending a custom command with spinel protocol? Should I use this?

    developer.nordicsemi.com/.../ug_thread_vendor_hooks.html

    Serial recovery does have a wait functionality, so you could implement a buttonless app with serial recovery. This sample should illustrate how to do this: https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery/mcuboot_serial_recovery_cdc_acm_wait

    I have problems trying to run this. I builded and flashed on my nrf52840DK board and doesn't appear USB port over J3 connector when I connect to my RaspberryPi. I noticed that there isn't a "nrf52840dk_nrf52840.overlay" where USB cdc_acm is enabled. So I added this with the next code:

    / {
    	chosen {
    		zephyr,uart-mcumgr = &cdc_acm_uart0;
    	};
    };
    
    zephyr_udc0: &usbd {
    	compatible = "nordic,nrf-usbd";
    	status = "okay";
    };
    
    &zephyr_udc0 {
    	cdc_acm_uart0: cdc_acm_uart0 {
    		compatible = "zephyr,cdc-acm-uart";
    	};
    };
     

    But anyway the sample is not working. Any idea?

    The log when I build is the following:

    west build -b nrf52840dk_nrf52840
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait
    -- Using NCS Toolchain 2.2.0 for building. (/home/scada/ncs/toolchains/v2.2.0/cmake)
    -- Found Python3: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/python3 (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: /home/scada/.cache/zephyr
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf52840dk_nrf52840
    -- Found host-tools: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found Dtc: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
    -- Generated zephyr.dts: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/zephyr/dts.cmake
    Parsing /home/scada/ncs/v2.2.0/zephyr/Kconfig
    Loaded configuration '/home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'
    Merged configuration '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/prj.conf'
    Configuration saved to '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/zephyr/.config'
    Kconfig header saved to '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Found Python3: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/python3 (found version "3.8.2") found components: Interpreter 
    
    === child image mcuboot -  begin ===
    loading initial cache file /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr
    -- Using NCS Toolchain 2.2.0 for building. (/home/scada/ncs/toolchains/v2.2.0/cmake)
    -- Found Python3: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/python3 (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: /home/scada/.cache/zephyr
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf52840dk_nrf52840
    -- Found host-tools: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found Dtc: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: /home/scada/ncs/v2.2.0/nrf/modules/mcuboot/usb.overlay
    -- Found devicetree overlay: /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/zephyr/dts.cmake
    Parsing /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '/home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'
    Merged configuration '/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration '/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/boards/nrf52840dk_nrf52840.conf'
    Merged configuration '/home/scada/ncs/v2.2.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/child_image/mcuboot.conf'
    Merged configuration '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/zephyr/.config'
    Kconfig header saved to '/home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot/zephyr/include/generated/autoconf.h'
    
    warning: BOOT_SERIAL_WAIT_FOR_DFU (defined at
    /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/Kconfig.serial_recovery:156) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: BOOT_SERIAL_UART (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOT_SERIAL_WAIT_FOR_DFU and/or look up
    BOOT_SERIAL_WAIT_FOR_DFU in the menuconfig/guiconfig interface. The Application Development Primer,
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT (defined at
    /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/Kconfig.serial_recovery:164) was assigned the
    value '15000' but got the value ''. Check these unsatisfied dependencies: BOOT_SERIAL_WAIT_FOR_DFU
    (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT
    and/or look up BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT in the menuconfig/guiconfig interface. The
    Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices
    sections of the manual might be helpful too.
    
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
      CONFIG_USB_DEVICE_VID has default value 0x2FE3.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
      CONFIG_USB_DEVICE_PID has default value 0x100.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/nrf/lib/flash_patch/CMakeLists.txt:8 (message):
      
    
            ----------------------------------------------------------
            --- WARNING: To maintain the integrity of secure boot, ---
            --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
            ----------------------------------------------------------
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/CMakeLists.txt:824 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: /home/scada/ncs/v2.2.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at /home/scada/ncs/v2.2.0/nrf/modules/mcuboot/CMakeLists.txt:286 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    -- Found partition manager static configuration: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/pm_static.yml
    Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/scada/Documents/mcuboot_serial_recovery_cdc_acm_wait/build
    -- west build: building application
    [1/187] Preparing syscall dependency handling
    
    [2/187] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr), build: v3.2.99-ncs1
    [7/187] Performing build step for 'mcuboot_subimage'
    [1/216] Preparing syscall dependency handling
    
    [2/216] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr), build: v3.2.99-ncs1
    [206/216] Linking C executable zephyr/zephyr_pre0.elf
    
    [210/216] Linking C executable zephyr/zephyr_pre1.elf
    
    [216/216] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       59896 B        64 KB     91.39%
                 RAM:       31296 B       256 KB     11.94%
            IDT_LIST:          0 GB         2 KB      0.00%
    [166/187] Linking C executable zephyr/zephyr_pre0.elf
    
    [170/187] Linking C executable zephyr/zephyr_pre1.elf
    
    [176/187] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       22756 B     982528 B      2.32%
                 RAM:        7616 B       256 KB      2.91%
            IDT_LIST:          0 GB         2 KB      0.00%
    [179/187] Generating ../../zephyr/app_update.bin
    sign the payload
    [180/187] Generating ../../zephyr/app_signed.hex
    sign the payload
    [182/187] Generating ../../zephyr/app_test_update.hex
    sign the payload
    [187/187] Generating zephyr/merged.hex
    

    I see that the builder is merging mcuboot.conf with the next code:

    CONFIG_SIZE_OPTIMIZATIONS=y
    CONFIG_SINGLE_APPLICATION_SLOT=y
    
    # Enable MCUboot Serial Recovery
    CONFIG_MCUBOOT_SERIAL=y
    CONFIG_UART_CONSOLE=n
    
    # Point Serial Recovery to CDC_ACM
    CONFIG_BOOT_SERIAL_CDC_ACM=y
    
    CONFIG_MCUBOOT_INDICATION_LED=y
    
    # Enable wait for DFU functionality
    CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
    CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=15000

    But if I look at .config or autoconf.h I cant see configs from mcuboot.conf.

    - autoconf.h:

    #define CONFIG_PM_PARTITION_SIZE_MCUBOOT_SCRATCH 0x1e000
    #define CONFIG_PM_PARTITION_SIZE_MCUBOOT_PAD 0x200
    #define CONFIG_PM_PARTITION_SIZE_MCUBOOT 0xc000
    #define CONFIG_BOOT_USE_NRF_CC310_BL 1
    #define CONFIG_MCUBOOT_NRF_CLEANUP_PERIPHERAL 1
    #define CONFIG_BOOT_SIGNATURE_KEY_FILE "root-ec-p256.pem"
    #define CONFIG_BOOT_ERASE_PROGRESSIVELY 1
    #define CONFIG_MCUBOOT 1
    #define CONFIG_BOOT_USE_CC310 1
    #define CONFIG_NRFXLIB_CRYPTO 1
    #define CONFIG_NRF_CC310_BL 1
    #define CONFIG_SINGLE_APPLICATION_SLOT 1
    #define CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256 1
    #define CONFIG_BOOT_ECDSA_CC310 1
    #define CONFIG_MBEDTLS_CFG_FILE "mcuboot-mbedtls-cfg.h"
    #define CONFIG_BOOT_VALIDATE_SLOT0 1
    #define CONFIG_BOOT_PREFER_SWAP_MOVE 1
    #define CONFIG_BOOT_MAX_IMG_SECTORS 128
    #define CONFIG_BOOT_FIH_PROFILE_OFF 1
    #define CONFIG_BOOT_USB_DFU_NO 1
    #define CONFIG_ZEPHYR_TRY_MASS_ERASE 1
    #define CONFIG_MCUBOOT_LOG_LEVEL_INF 1
    #define CONFIG_MCUBOOT_LOG_LEVEL 3
    #define CONFIG_MCUBOOT_LOG_THREAD_STACK_SIZE 768
    #define CONFIG_MCUBOOT_INDICATION_LED 1
    #define CONFIG_MCUBOOT_SERIAL 1
    #define CONFIG_BOOT_SERIAL_CDC_ACM 1
    #define CONFIG_BOOT_SERIAL_UNALIGNED_BUFFER_SIZE 64
    #define CONFIG_BOOT_MAX_LINE_INPUT_LEN 512
    #define CONFIG_BOOT_SERIAL_MAX_RECEIVE_SIZE 1024
    #define CONFIG_BOOT_SERIAL_DETECT_PORT "GPIO_0"
    #define CONFIG_BOOT_SERIAL_DETECT_PIN 11
    #define CONFIG_BOOT_SERIAL_DETECT_PIN_VAL 0
    #define CONFIG_BOOT_SERIAL_DETECT_DELAY 0
    #define CONFIG_UPDATEABLE_IMAGE_NUMBER 1
    #define CONFIG_BOOT_WATCHDOG_FEED 1
    #define CONFIG_MCUBOOT_DEVICE_SETTINGS 1
    #define CONFIG_MULTITHREADING 1
    #define CONFIG_USB_DEVICE_PRODUCT "MCUBOOT"
    #define CONFIG_GPIO 1
    #define CONFIG_GPIO_INIT_PRIORITY 40
    #define CONFIG_UART_INTERRUPT_DRIVEN 1
    #define CONFIG_BOARD "nrf52840dk_nrf52840"
    #define CONFIG_SOC "nRF52840_QIAA"
    #define CONFIG_SOC_SERIES "nrf52"
    #define CONFIG_NUM_IRQS 48
    #define CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 32768
    #define CONFIG_CLOCK_CONTROL_INIT_PRIORITY 30
    #define CONFIG_FLASH_SIZE 1024
    #define CONFIG_FLASH_BASE_ADDRESS 0x0
    #define CONFIG_ICACHE_LINE_SIZE 32
    #define CONFIG_DCACHE_LINE_SIZE 32
    #define CONFIG_PINCTRL 1
    #define CONFIG_HEAP_MEM_POOL_SIZE 0
    #define CONFIG_ROM_START_OFFSET 0x0
    #define CONFIG_CLOCK_CONTROL 1
    #define CONFIG_SOC_HAS_TIMING_FUNCTIONS 1
    #define CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT 1
    #define CONFIG_LOG_DOMAIN_NAME ""
    #define CONFIG_NRF_RTC_TIMER 1
    #define CONFIG_SYS_CLOCK_TICKS_PER_SEC 32768
    #define CONFIG_BUILD_OUTPUT_HEX 1
    #define CONFIG_SERIAL_INIT_PRIORITY 55
    #define CONFIG_FPU 1
    #define CONFIG_SERIAL 1
    #define CONFIG_MAIN_STACK_SIZE 10240
    #define CONFIG_MP_MAX_NUM_CPUS 1
    #define CONFIG_PLATFORM_SPECIFIC_INIT 1
    #define CONFIG_HAS_DTS 1
    #define CONFIG_DT_HAS_ARDUINO_UNO_ADC_ENABLED 1
    #define CONFIG_DT_HAS_ARDUINO_HEADER_R3_ENABLED 1
    #define CONFIG_DT_HAS_ARM_ARMV7M_ITM_ENABLED 1
    #define CONFIG_DT_HAS_ARM_CORTEX_M4F_ENABLED 1
    #define CONFIG_DT_HAS_ARM_CRYPTOCELL_310_ENABLED 1
    #define CONFIG_DT_HAS_ARM_V7M_NVIC_ENABLED 1
    #define CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED 1
    #define CONFIG_DT_HAS_GPIO_KEYS_ENABLED 1
    #define CONFIG_DT_HAS_GPIO_LEDS_ENABLED 1
    #define CONFIG_DT_HAS_MMIO_SRAM_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_ACL_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_CC310_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_CCM_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_CLOCK_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_ECB_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_EGU_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_FICR_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_GPIO_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_GPIOTE_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_IEEE802154_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_MWU_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_PINCTRL_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_POWER_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_PPI_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_PWM_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_QSPI_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_RADIO_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_RNG_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_RTC_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_SAADC_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_SPI_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_SPIM_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_SWI_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_TEMP_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_TIMER_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_TWI_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_UARTE_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_UICR_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_USBD_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF_WDT_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED 1
    #define CONFIG_DT_HAS_NORDIC_QSPI_NOR_ENABLED 1
    #define CONFIG_DT_HAS_PWM_LEDS_ENABLED 1
    #define CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED 1
    #define CONFIG_DT_HAS_ZEPHYR_BT_HCI_ENTROPY_ENABLED 1
    #define CONFIG_DT_HAS_ZEPHYR_CDC_ACM_UART_ENABLED 1
    #define CONFIG_NUM_METAIRQ_PRIORITIES 0
    #define CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE 1024
    #define CONFIG_WARN_EXPERIMENTAL 1
    #define CONFIG_PRIVILEGED_STACK_SIZE 1024
    #define CONFIG_INIT_ARCH_HW_AT_BOOT 1
    #define CONFIG_LINKER_LAST_SECTION_ID 1
    #define CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE 4096
    #define CONFIG_LOG_DEFAULT_LEVEL 0
    #define CONFIG_NCS_MCUBOOT_IN_BUILD 1
    #define CONFIG_PM_PARTITION_SIZE_PROVISION 0x1000
    #define CONFIG_PM_PARTITION_SIZE_B0_IMAGE 0x8000
    #define CONFIG_SB_VALIDATION_INFO_MAGIC 0x86518483
    #define CONFIG_SB_VALIDATION_POINTER_MAGIC 0x6919b47e
    #define CONFIG_SB_VALIDATION_INFO_CRYPTO_ID 1
    #define CONFIG_SB_VALIDATION_INFO_VERSION 2
    #define CONFIG_SB_VALIDATION_METADATA_OFFSET 0
    #define CONFIG_SB_VALIDATE_FW_SIGNATURE 1
    #define CONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME 1
    #define CONFIG_NRF_CLOUD_CLIENT_ID "my-client-id"
    #define CONFIG_NRF_CLOUD_LOG_LEVEL_INF 1
    #define CONFIG_NRF_CLOUD_LOG_LEVEL 3
    #define CONFIG_MPSL_FEM_LOG_LEVEL_INF 1
    #define CONFIG_MPSL_FEM_LOG_LEVEL 3
    #define CONFIG_MPSL_THREAD_COOP_PRIO 8
    #define CONFIG_MPSL_WORK_STACK_SIZE 1024
    #define CONFIG_MPSL_TIMESLOT_SESSION_COUNT 0
    #define CONFIG_MPSL_LOG_LEVEL_INF 1
    #define CONFIG_MPSL_LOG_LEVEL 3
    #define CONFIG_PARTITION_MANAGER_ENABLED 1
    #define CONFIG_FLASH_MAP_CUSTOM 1
    #define CONFIG_SRAM_SIZE 256
    #define CONFIG_SRAM_BASE_ADDRESS 0x20000000
    #define CONFIG_PM_EXTERNAL_FLASH_BASE 0x0
    #define CONFIG_PM_SRAM_BASE 0x20000000
    #define CONFIG_PM_SRAM_SIZE 0x40000
    #define CONFIG_MGMT_FMFU_LOG_LEVEL_INF 1
    #define CONFIG_MGMT_FMFU_LOG_LEVEL 3
    #define CONFIG_FLASH_PATCH_WARN 1
    #define CONFIG_NRF_ACL_FLASH_REGION_SIZE 0x1000
    #define CONFIG_FPROTECT_BLOCK_SIZE 0x1000
    #define CONFIG_FPROTECT 1
    #define CONFIG_RESET_ON_FATAL_ERROR 1
    #define CONFIG_FATAL_ERROR_LOG_LEVEL_INF 1
    #define CONFIG_FATAL_ERROR_LOG_LEVEL 3
    #define CONFIG_HW_UNIQUE_KEY_PARTITION_SIZE 0x1000
    #define CONFIG_HW_CC3XX 1
    #define CONFIG_NRFX_GPIOTE_NUM_OF_EVT_HANDLERS 1
    #define CONFIG_ZTEST_MULTICORE_DEFAULT_SETTINGS 1
    #define CONFIG_ZEPHYR_NRF_MODULE 1
    #define CONFIG_ZEPHYR_HOSTAP_MODULE 1
    #define CONFIG_SIGN_IMAGES 1
    #define CONFIG_DT_FLASH_WRITE_BLOCK_SIZE 4
    #define CONFIG_MCUBOOT_USB_SUPPORT 1
    #define CONFIG_ZEPHYR_MCUBOOT_MODULE 1
    #define CONFIG_ZEPHYR_MBEDTLS_MODULE 1
    #define CONFIG_MBEDTLS_BUILTIN 1
    #define CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE 1
    #define CONFIG_ZEPHYR_CJSON_MODULE 1
    #define CONFIG_ZEPHYR_AZURE_SDK_FOR_C_MODULE 1
    #define CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE 1
    #define CONFIG_ZEPHYR_CIRRUS_LOGIC_MODULE 1
    #define CONFIG_ZEPHYR_OPENTHREAD_MODULE 1
    #define CONFIG_ZEPHYR_CANOPENNODE_MODULE 1
    #define CONFIG_ZEPHYR_CHRE_MODULE 1
    #define CONFIG_ZEPHYR_HAL_NORDIC_MODULE 1
    #define CONFIG_HAS_NORDIC_DRIVERS 1
    #define CONFIG_HAS_NRFX 1
    #define CONFIG_NRFX_CLOCK 1
    #define CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED 1
    #define CONFIG_NRFX_GPIOTE 1
    #define CONFIG_NRFX_NVMC 1
    #define CONFIG_NRFX_POWER 1
    #define CONFIG_NRFX_PPI 1
    #define CONFIG_NRFX_USBD 1
    #define CONFIG_NRFX_WDT 1
    #define CONFIG_NRFX_WDT0 1
    #define CONFIG_ZEPHYR_LIBLC3_MODULE 1
    #define CONFIG_ZEPHYR_LITTLEFS_MODULE 1
    #define CONFIG_ZEPHYR_LORAMAC_NODE_MODULE 1
    #define CONFIG_ZEPHYR_LVGL_MODULE 1
    #define CONFIG_ZEPHYR_LZ4_MODULE 1
    #define CONFIG_ZEPHYR_NANOPB_MODULE 1
    #define CONFIG_ZEPHYR_PICOLIBC_MODULE 1
    #define CONFIG_ZEPHYR_TRACERECORDER_MODULE 1
    #define CONFIG_ZEPHYR_UOSCORE_UEDHOC_MODULE 1
    #define CONFIG_ZEPHYR_ZCBOR_MODULE 1
    #define CONFIG_ZEPHYR_ZSCILIB_MODULE 1
    #define CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE 0x4e8
    #define CONFIG_CRYPTOCELL_CC310_USABLE 1
    #define CONFIG_CRYPTOCELL_USABLE 1
    #define CONFIG_NRF_CC3XX_PLATFORM 1
    #define CONFIG_CC3XX_MUTEX_LOCK 1
    #define CONFIG_NRF_802154_SOURCE_NRFXLIB 1
    #define CONFIG_LC3_ENC_CHAN_MAX 1
    #define CONFIG_LC3_DEC_CHAN_MAX 1
    #define CONFIG_LC3_ENC_SAMPLE_RATE_8KHZ_SUPPORT 1
    #define CONFIG_LC3_ENC_SAMPLE_RATE_16KHZ_SUPPORT 1
    #define CONFIG_LC3_ENC_SAMPLE_RATE_24KHZ_SUPPORT 1
    #define CONFIG_LC3_ENC_SAMPLE_RATE_32KHZ_SUPPORT 1
    #define CONFIG_LC3_ENC_SAMPLE_RATE_441KHZ_SUPPORT 1
    #define CONFIG_LC3_ENC_SAMPLE_RATE_48KHZ_SUPPORT 1
    #define CONFIG_LC3_DEC_SAMPLE_RATE_8KHZ_SUPPORT 1
    #define CONFIG_LC3_DEC_SAMPLE_RATE_16KHZ_SUPPORT 1
    #define CONFIG_LC3_DEC_SAMPLE_RATE_24KHZ_SUPPORT 1
    #define CONFIG_LC3_DEC_SAMPLE_RATE_32KHZ_SUPPORT 1
    #define CONFIG_LC3_DEC_SAMPLE_RATE_441KHZ_SUPPORT 1
    #define CONFIG_LC3_DEC_SAMPLE_RATE_48KHZ_SUPPORT 1
    #define CONFIG_ZEPHYR_NRFXLIB_MODULE 1
    #define CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE 1
    #define CONFIG_HAS_CMSIS_CORE 1
    #define CONFIG_HAS_CMSIS_CORE_M 1
    #define CONFIG_MCUBOOT_BOOTUTIL_LIB 1
    #define CONFIG_BOARD_REVISION ""
    #define CONFIG_BOARD_NRF52840DK_NRF52840 1
    #define CONFIG_BOARD_ENABLE_DCDC 1
    #define CONFIG_BOARD_ENABLE_DCDC_HV 1
    #define CONFIG_SOC_SERIES_NRF52X 1
    #define CONFIG_CPU_HAS_ARM_MPU 1
    #define CONFIG_HAS_SWO 1
    #define CONFIG_SOC_FAMILY "nordic_nrf"
    #define CONFIG_SOC_FAMILY_NRF 1
    #define CONFIG_HAS_HW_NRF_ACL 1
    #define CONFIG_HAS_HW_NRF_CC310 1
    #define CONFIG_HAS_HW_NRF_CCM 1
    #define CONFIG_HAS_HW_NRF_CCM_LFLEN_8BIT 1
    #define CONFIG_HAS_HW_NRF_CLOCK 1
    #define CONFIG_HAS_HW_NRF_ECB 1
    #define CONFIG_HAS_HW_NRF_EGU0 1
    #define CONFIG_HAS_HW_NRF_EGU1 1
    #define CONFIG_HAS_HW_NRF_EGU2 1
    #define CONFIG_HAS_HW_NRF_EGU3 1
    #define CONFIG_HAS_HW_NRF_EGU4 1
    #define CONFIG_HAS_HW_NRF_EGU5 1
    #define CONFIG_HAS_HW_NRF_GPIO0 1
    #define CONFIG_HAS_HW_NRF_GPIO1 1
    #define CONFIG_HAS_HW_NRF_GPIOTE 1
    #define CONFIG_HAS_HW_NRF_MWU 1
    #define CONFIG_HAS_HW_NRF_NVMC_PE 1
    #define CONFIG_HAS_HW_NRF_POWER 1
    #define CONFIG_HAS_HW_NRF_PPI 1
    #define CONFIG_HAS_HW_NRF_PWM0 1
    #define CONFIG_HAS_HW_NRF_QSPI 1
    #define CONFIG_HAS_HW_NRF_RADIO_BLE_2M 1
    #define CONFIG_HAS_HW_NRF_RADIO_BLE_CODED 1
    #define CONFIG_HAS_HW_NRF_RADIO_IEEE802154 1
    #define CONFIG_HAS_HW_NRF_RADIO_TX_PWR_HIGH 1
    #define CONFIG_HAS_HW_NRF_RNG 1
    #define CONFIG_HAS_HW_NRF_RTC0 1
    #define CONFIG_HAS_HW_NRF_RTC1 1
    #define CONFIG_HAS_HW_NRF_RTC2 1
    #define CONFIG_HAS_HW_NRF_SAADC 1
    #define CONFIG_HAS_HW_NRF_SPI1 1
    #define CONFIG_HAS_HW_NRF_SPIM3 1
    #define CONFIG_HAS_HW_NRF_SWI0 1
    #define CONFIG_HAS_HW_NRF_SWI1 1
    #define CONFIG_HAS_HW_NRF_SWI2 1
    #define CONFIG_HAS_HW_NRF_SWI3 1
    #define CONFIG_HAS_HW_NRF_SWI4 1
    #define CONFIG_HAS_HW_NRF_SWI5 1
    #define CONFIG_HAS_HW_NRF_TEMP 1
    #define CONFIG_HAS_HW_NRF_TIMER0 1
    #define CONFIG_HAS_HW_NRF_TIMER1 1
    #define CONFIG_HAS_HW_NRF_TIMER2 1
    #define CONFIG_HAS_HW_NRF_TIMER3 1
    #define CONFIG_HAS_HW_NRF_TIMER4 1
    #define CONFIG_HAS_HW_NRF_TWI0 1
    #define CONFIG_HAS_HW_NRF_UARTE0 1
    #define CONFIG_HAS_HW_NRF_UARTE1 1
    #define CONFIG_HAS_HW_NRF_USBD 1
    #define CONFIG_HAS_HW_NRF_WDT0 1
    #define CONFIG_NRF_HW_RTC1_RESERVED 1
    #define CONFIG_SOC_NRF52840 1
    #define CONFIG_SOC_NRF52840_QIAA 1
    #define CONFIG_SOC_DCDC_NRF52X 1
    #define CONFIG_SOC_DCDC_NRF52X_HV 1
    #define CONFIG_GPIO_AS_PINRESET 1
    #define CONFIG_NRF_ENABLE_ICACHE 1
    #define CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT 0
    #define CONFIG_NRF_SOC_SECURE_SUPPORTED 1
    #define CONFIG_NRF_APPROTECT_USE_UICR 1
    #define CONFIG_SOC_LOG_LEVEL_INF 1
    #define CONFIG_SOC_LOG_LEVEL 3
    #define CONFIG_SOC_COMPATIBLE_NRF 1
    #define CONFIG_SOC_COMPATIBLE_NRF52X 1
    #define CONFIG_ARCH "arm"
    #define CONFIG_CPU_CORTEX 1
    #define CONFIG_CPU_CORTEX_M 1
    #define CONFIG_ISA_THUMB2 1
    #define CONFIG_ASSEMBLER_ISA_THUMB2 1
    #define CONFIG_COMPILER_ISA_THUMB2 1
    #define CONFIG_STACK_ALIGN_DOUBLE_WORD 1
    #define CONFIG_FAULT_DUMP 2
    #define CONFIG_ARM_STACK_PROTECTION 1
    #define CONFIG_ARM_STORE_EXC_RETURN 1
    #define CONFIG_FP_HARDABI 1
    #define CONFIG_FP16 1
    #define CONFIG_FP16_IEEE 1
    #define CONFIG_CPU_CORTEX_M4 1
    #define CONFIG_CPU_CORTEX_M_HAS_SYSTICK 1
    #define CONFIG_CPU_CORTEX_M_HAS_DWT 1
    #define CONFIG_CPU_CORTEX_M_HAS_BASEPRI 1
    #define CONFIG_CPU_CORTEX_M_HAS_VTOR 1
    #define CONFIG_CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS 1
    #define CONFIG_ARMV7_M_ARMV8_M_MAINLINE 1
    #define CONFIG_ARMV7_M_ARMV8_M_FP 1
    #define CONFIG_GEN_ISR_TABLES 1
    #define CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE 1
    #define CONFIG_GEN_IRQ_VECTOR_TABLE 1
    #define CONFIG_ARM_MPU 1
    #define CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE 32
    #define CONFIG_MPU_STACK_GUARD 1
    #define CONFIG_MPU_STACK_GUARD_MIN_SIZE_FLOAT 128
    #define CONFIG_MPU_ALLOW_FLASH_WRITE 1
    #define CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE 32
    #define CONFIG_ARM 1
    #define CONFIG_ARCH_IS_SET 1
    #define CONFIG_ARCH_LOG_LEVEL_INF 1
    #define CONFIG_ARCH_LOG_LEVEL 3
    #define CONFIG_LITTLE_ENDIAN 1
    #define CONFIG_HW_STACK_PROTECTION 1
    #define CONFIG_KOBJECT_TEXT_AREA 256
    #define CONFIG_KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT 100
    #define CONFIG_KOBJECT_RODATA_AREA_EXTRA_BYTES 16
    #define CONFIG_GEN_PRIV_STACKS 1
    #define CONFIG_ARCH_IRQ_VECTOR_TABLE_ALIGN 4
    #define CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS 1
    #define CONFIG_GEN_SW_ISR_TABLE 1
    #define CONFIG_ARCH_SW_ISR_TABLE_ALIGN 4
    #define CONFIG_GEN_IRQ_START_VECTOR 0
    #define CONFIG_ARCH_HAS_SINGLE_THREAD_SUPPORT 1
    #define CONFIG_ARCH_HAS_TIMING_FUNCTIONS 1
    #define CONFIG_ARCH_HAS_STACK_PROTECTION 1
    #define CONFIG_ARCH_HAS_USERSPACE 1
    #define CONFIG_ARCH_HAS_EXECUTABLE_PAGE_BIT 1
    #define CONFIG_ARCH_HAS_RAMFUNC_SUPPORT 1
    #define CONFIG_ARCH_HAS_NESTED_EXCEPTION_DETECTION 1
    #define CONFIG_ARCH_SUPPORTS_COREDUMP 1
    #define CONFIG_ARCH_SUPPORTS_ARCH_HW_INIT 1
    #define CONFIG_ARCH_HAS_EXTRA_EXCEPTION_INFO 1
    #define CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE 1
    #define CONFIG_ARCH_HAS_SUSPEND_TO_RAM 1
    #define CONFIG_ARCH_HAS_THREAD_ABORT 1
    #define CONFIG_ARCH_HAS_CODE_DATA_RELOCATION 1
    #define CONFIG_CPU_HAS_FPU 1
    #define CONFIG_CPU_HAS_MPU 1
    #define CONFIG_MPU 1
    #define CONFIG_MPU_LOG_LEVEL_INF 1
    #define CONFIG_MPU_LOG_LEVEL 3
    #define CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT 1
    #define CONFIG_SRAM_REGION_PERMISSIONS 1
    #define CONFIG_FPU_SHARING 1
    #define CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS 1
    #define CONFIG_KERNEL_LOG_LEVEL_INF 1
    #define CONFIG_KERNEL_LOG_LEVEL 3
    #define CONFIG_NUM_COOP_PRIORITIES 16
    #define CONFIG_NUM_PREEMPT_PRIORITIES 15
    #define CONFIG_MAIN_THREAD_PRIORITY 0
    #define CONFIG_COOP_ENABLED 1
    #define CONFIG_PREEMPT_ENABLED 1
    #define CONFIG_PRIORITY_CEILING -127
    #define CONFIG_IDLE_STACK_SIZE 320
    #define CONFIG_ISR_STACK_SIZE 2048
    #define CONFIG_THREAD_STACK_INFO 1
    #define CONFIG_ERRNO 1
    #define CONFIG_SCHED_DUMB 1
    #define CONFIG_WAITQ_DUMB 1
    #define CONFIG_BOOT_BANNER 1
    #define CONFIG_BOOT_DELAY 0
    #define CONFIG_SYSTEM_WORKQUEUE_PRIORITY -1
    #define CONFIG_ATOMIC_OPERATIONS_BUILTIN 1
    #define CONFIG_TIMESLICING 1
    #define CONFIG_TIMESLICE_SIZE 0
    #define CONFIG_TIMESLICE_PRIORITY 0
    #define CONFIG_NUM_MBOX_ASYNC_MSGS 10
    #define CONFIG_KERNEL_MEM_POOL 1
    #define CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN 1
    #define CONFIG_SWAP_NONATOMIC 1
    #define CONFIG_SYS_CLOCK_EXISTS 1
    #define CONFIG_TIMEOUT_64BIT 1
    #define CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS 365
    #define CONFIG_XIP 1
    #define CONFIG_KERNEL_INIT_PRIORITY_OBJECTS 30
    #define CONFIG_KERNEL_INIT_PRIORITY_DEFAULT 40
    #define CONFIG_KERNEL_INIT_PRIORITY_DEVICE 50
    #define CONFIG_APPLICATION_INIT_PRIORITY 90
    #define CONFIG_MP_NUM_CPUS 1
    #define CONFIG_TICKLESS_KERNEL 1
    #define CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE 1
    #define CONFIG_CONSOLE 1
    #define CONFIG_CONSOLE_INPUT_MAX_LINE_LEN 128
    #define CONFIG_CONSOLE_INIT_PRIORITY 40
    #define CONFIG_UART_CONSOLE_LOG_LEVEL_INF 1
    #define CONFIG_UART_CONSOLE_LOG_LEVEL 3
    #define CONFIG_HAS_SEGGER_RTT 1
    #define CONFIG_USE_SEGGER_RTT 1
    #define CONFIG_SEGGER_RTT_MAX_NUM_UP_BUFFERS 3
    #define CONFIG_SEGGER_RTT_MAX_NUM_DOWN_BUFFERS 3
    #define CONFIG_SEGGER_RTT_BUFFER_SIZE_UP 1024
    #define CONFIG_SEGGER_RTT_BUFFER_SIZE_DOWN 16
    #define CONFIG_SEGGER_RTT_PRINTF_BUFFER_SIZE 64
    #define CONFIG_SEGGER_RTT_MODE_NO_BLOCK_SKIP 1
    #define CONFIG_SEGGER_RTT_MODE 0
    #define CONFIG_SEGGER_RTT_SECTION_NONE 1
    #define CONFIG_ETH_INIT_PRIORITY 80
    #define CONFIG_SERIAL_HAS_DRIVER 1
    #define CONFIG_SERIAL_SUPPORT_ASYNC 1
    #define CONFIG_SERIAL_SUPPORT_INTERRUPT 1
    #define CONFIG_UART_LOG_LEVEL_INF 1
    #define CONFIG_UART_LOG_LEVEL 3
    #define CONFIG_UART_USE_RUNTIME_CONFIGURE 1
    #define CONFIG_UART_NRFX 1
    #define CONFIG_UART_0_NRF_UARTE 1
    #define CONFIG_UART_0_ENHANCED_POLL_OUT 1
    #define CONFIG_UART_0_INTERRUPT_DRIVEN 1
    #define CONFIG_UART_0_NRF_TX_BUFFER_SIZE 32
    #define CONFIG_UART_1_NRF_UARTE 1
    #define CONFIG_UART_1_INTERRUPT_DRIVEN 1
    #define CONFIG_UART_1_ENHANCED_POLL_OUT 1
    #define CONFIG_UART_1_NRF_TX_BUFFER_SIZE 32
    #define CONFIG_UART_ENHANCED_POLL_OUT 1
    #define CONFIG_NRF_UARTE_PERIPHERAL 1
    #define CONFIG_INTC_INIT_PRIORITY 40
    #define CONFIG_INTC_LOG_LEVEL_INF 1
    #define CONFIG_INTC_LOG_LEVEL 3
    #define CONFIG_SYSTEM_CLOCK_INIT_PRIORITY 0
    #define CONFIG_TICKLESS_CAPABLE 1
    #define CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY 1
    #define CONFIG_GPIO_LOG_LEVEL_INF 1
    #define CONFIG_GPIO_LOG_LEVEL 3
    #define CONFIG_GPIO_NRFX 1
    #define CONFIG_FXL6408_LOG_LEVEL_INF 1
    #define CONFIG_FXL6408_LOG_LEVEL 3
    #define CONFIG_CLOCK_CONTROL_LOG_LEVEL_INF 1
    #define CONFIG_CLOCK_CONTROL_LOG_LEVEL 3
    #define CONFIG_CLOCK_CONTROL_NRF 1
    #define CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL 1
    #define CONFIG_CLOCK_CONTROL_NRF_K32SRC_50PPM 1
    #define CONFIG_CLOCK_CONTROL_NRF_ACCURACY 50
    #define CONFIG_FLASH_HAS_DRIVER_ENABLED 1
    #define CONFIG_FLASH_HAS_PAGE_LAYOUT 1
    #define CONFIG_FLASH 1
    #define CONFIG_FLASH_LOG_LEVEL_INF 1
    #define CONFIG_FLASH_LOG_LEVEL 3
    #define CONFIG_FLASH_PAGE_LAYOUT 1
    #define CONFIG_FLASH_INIT_PRIORITY 50
    #define CONFIG_SOC_FLASH_NRF 1
    #define CONFIG_SOC_FLASH_NRF_RADIO_SYNC_NONE 1
    #define CONFIG_USB_DEVICE_DRIVER 1
    #define CONFIG_USB_DEVICE_REMOTE_WAKEUP 1
    #define CONFIG_USB_NRFX 1
    #define CONFIG_USB_NRFX_EVT_QUEUE_SIZE 32
    #define CONFIG_USB_NRFX_WORK_QUEUE_STACK_SIZE 1024
    #define CONFIG_USB_NRFX_ATTACHED_EVENT_DELAY 0
    #define CONFIG_USB_DRIVER_LOG_LEVEL_INF 1
    #define CONFIG_USB_DRIVER_LOG_LEVEL 3
    #define CONFIG_HWINFO 1
    #define CONFIG_HWINFO_LOG_LEVEL_INF 1
    #define CONFIG_HWINFO_LOG_LEVEL 3
    #define CONFIG_HWINFO_NRF 1
    #define CONFIG_PINCTRL_LOG_LEVEL_INF 1
    #define CONFIG_PINCTRL_LOG_LEVEL 3
    #define CONFIG_PINCTRL_STORE_REG 1
    #define CONFIG_PINCTRL_NRF 1
    #define CONFIG_USBC_LOG_LEVEL_INF 1
    #define CONFIG_USBC_LOG_LEVEL 3
    #define CONFIG_SUPPORT_MINIMAL_LIBC 1
    #define CONFIG_PICOLIBC_SUPPORTED 1
    #define CONFIG_MINIMAL_LIBC 1
    #define CONFIG_HAS_NEWLIB_LIBC_NANO 1
    #define CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS 1
    #define CONFIG_MINIMAL_LIBC_MALLOC 1
    #define CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE 0
    #define CONFIG_MINIMAL_LIBC_CALLOC 1
    #define CONFIG_MINIMAL_LIBC_REALLOCARRAY 1
    #define CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE 1
    #define CONFIG_MINIMAL_LIBC_TIME 1
    #define CONFIG_NEED_LIBC_MEM_PARTITION 1
    #define CONFIG_RING_BUFFER 1
    #define CONFIG_NOTIFY 1
    #define CONFIG_BASE64 1
    #define CONFIG_ONOFF 1
    #define CONFIG_REBOOT 1
    #define CONFIG_CBPRINTF_NANO 1
    #define CONFIG_CBPRINTF_FULL_INTEGRAL 1
    #define CONFIG_CBPRINTF_LIBC_SUBSTS 1
    #define CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_INF 1
    #define CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL 3
    #define CONFIG_SYS_HEAP_ALLOC_LOOPS 3
    #define CONFIG_SYS_HEAP_SMALL_ONLY 1
    #define CONFIG_POSIX_MAX_FDS 4
    #define CONFIG_MAX_TIMER_COUNT 5
    #define CONFIG_PRINTK 1
    #define CONFIG_EARLY_CONSOLE 1
    #define CONFIG_ASSERT_VERBOSE 1
    #define CONFIG_LOG 1
    #define CONFIG_LOG_MODE_MINIMAL 1
    #define CONFIG_LOG_OVERRIDE_LEVEL 0
    #define CONFIG_LOG_MAX_LEVEL 4
    #define CONFIG_LOG_USE_VLA 1
    #define CONFIG_USB_DEVICE_STACK 1
    #define CONFIG_USB_DEVICE_LOG_LEVEL_INF 1
    #define CONFIG_USB_DEVICE_LOG_LEVEL 3
    #define CONFIG_USB_PID_CDC_ACM_SAMPLE 0x0001
    #define CONFIG_USB_PID_CDC_ACM_COMPOSITE_SAMPLE 0x0002
    #define CONFIG_USB_PID_HID_CDC_SAMPLE 0x0003
    #define CONFIG_USB_PID_CONSOLE_SAMPLE 0x0004
    #define CONFIG_USB_PID_DFU_SAMPLE 0x0005
    #define CONFIG_USB_PID_HID_SAMPLE 0x0006
    #define CONFIG_USB_PID_HID_MOUSE_SAMPLE 0x0007
    #define CONFIG_USB_PID_MASS_SAMPLE 0x0008
    #define CONFIG_USB_PID_TESTUSB_SAMPLE 0x0009
    #define CONFIG_USB_PID_WEBUSB_SAMPLE 0x000A
    #define CONFIG_USB_PID_BLE_HCI_SAMPLE 0x000B
    #define CONFIG_USB_PID_BLE_HCI_H4_SAMPLE 0x000C
    #define CONFIG_USB_PID_WPANUSB_SAMPLE 0x000D
    #define CONFIG_USB_DEVICE_VID 0x2FE3
    #define CONFIG_USB_DEVICE_PID 0x0100
    #define CONFIG_USB_DEVICE_MANUFACTURER "ZEPHYR"
    #define CONFIG_USB_DEVICE_SN "0123456789ABCDEF"
    #define CONFIG_USB_MAX_NUM_TRANSFERS 4
    #define CONFIG_USB_REQUEST_BUFFER_SIZE 128
    #define CONFIG_USB_MAX_ALT_SETTING 8
    #define CONFIG_USB_NUMOF_EP_WRITE_RETRIES 3
    #define CONFIG_USB_SELF_POWERED 1
    #define CONFIG_USB_MAX_POWER 50
    #define CONFIG_USB_WORKQUEUE 1
    #define CONFIG_USB_WORKQUEUE_STACK_SIZE 1024
    #define CONFIG_USB_WORKQUEUE_PRIORITY -1
    #define CONFIG_USB_CDC_ACM 1
    #define CONFIG_USB_CDC_ACM_RINGBUF_SIZE 1024
    #define CONFIG_CDC_ACM_INTERRUPT_EP_MPS 16
    #define CONFIG_CDC_ACM_BULK_EP_MPS 64
    #define CONFIG_CDC_ACM_IAD 1
    #define CONFIG_USB_CDC_ACM_LOG_LEVEL_INF 1
    #define CONFIG_USB_CDC_ACM_LOG_LEVEL 3
    #define CONFIG_FLASH_MAP 1
    #define CONFIG_TOOLCHAIN_ZEPHYR_0_15 1
    #define CONFIG_TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE 1
    #define CONFIG_LINKER_ORPHAN_SECTION_WARN 1
    #define CONFIG_HAS_FLASH_LOAD_OFFSET 1
    #define CONFIG_USE_DT_CODE_PARTITION 1
    #define CONFIG_FLASH_LOAD_OFFSET 0x0
    #define CONFIG_FLASH_LOAD_SIZE 0xc000
    #define CONFIG_LD_LINKER_SCRIPT_SUPPORTED 1
    #define CONFIG_LD_LINKER_TEMPLATE 1
    #define CONFIG_KERNEL_ENTRY "__start"
    #define CONFIG_LINKER_SORT_BY_ALIGNMENT 1
    #define CONFIG_SRAM_OFFSET 0x0
    #define CONFIG_LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT 1
    #define CONFIG_LINKER_LAST_SECTION_ID_PATTERN 0xE015E015
    #define CONFIG_SIZE_OPTIMIZATIONS 1
    #define CONFIG_COMPILER_COLOR_DIAGNOSTICS 1
    #define CONFIG_FORTIFY_SOURCE_NONE 1
    #define CONFIG_COMPILER_OPT ""
    #define CONFIG_RUNTIME_ERROR_CHECKS 1
    #define CONFIG_KERNEL_BIN_NAME "zephyr"
    #define CONFIG_OUTPUT_STAT 1
    #define CONFIG_OUTPUT_DISASSEMBLY 1
    #define CONFIG_OUTPUT_PRINT_MEMORY_USAGE 1
    #define CONFIG_BUILD_OUTPUT_BIN 1
    #define CONFIG_BUILD_OUTPUT_META 1
    #define CONFIG_WARN_DEPRECATED 1
    #define CONFIG_ENFORCE_ZEPHYR_STDINT 1
    #define CONFIG_COMPAT_INCLUDES 1

    - .config:

    #
    # MCUboot-specific configuration options
    #
    # CONFIG_BOOT_USE_MIN_PARTITION_SIZE is not set
    CONFIG_PM_PARTITION_SIZE_MCUBOOT_SCRATCH=0x1e000
    CONFIG_PM_PARTITION_SIZE_MCUBOOT_PAD=0x200
    CONFIG_PM_PARTITION_SIZE_MCUBOOT=0xc000
    CONFIG_BOOT_USE_NRF_CC310_BL=y
    CONFIG_MCUBOOT_NRF_CLEANUP_PERIPHERAL=y
    CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"
    # CONFIG_BOOT_NRF_EXTERNAL_CRYPTO is not set
    CONFIG_BOOT_ERASE_PROGRESSIVELY=y
    # CONFIG_BOOT_IMAGE_ACCESS_HOOKS is not set
    CONFIG_MCUBOOT=y
    CONFIG_BOOT_USE_CC310=y
    CONFIG_NRFXLIB_CRYPTO=y
    CONFIG_NRF_CC310_BL=y
    
    #
    # MCUBoot settings
    #
    CONFIG_SINGLE_APPLICATION_SLOT=y
    # CONFIG_BOOT_SIGNATURE_TYPE_NONE is not set
    # CONFIG_BOOT_SIGNATURE_TYPE_RSA is not set
    CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
    # CONFIG_BOOT_ECDSA_TINYCRYPT is not set
    CONFIG_BOOT_ECDSA_CC310=y
    # CONFIG_BOOT_SIGNATURE_TYPE_ED25519 is not set
    # CONFIG_MCUBOOT_CLEANUP_ARM_CORE is not set
    CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
    # CONFIG_BOOT_HW_KEY is not set
    CONFIG_BOOT_VALIDATE_SLOT0=y
    CONFIG_BOOT_PREFER_SWAP_MOVE=y
    CONFIG_BOOT_MAX_IMG_SECTORS=128
    # CONFIG_MEASURED_BOOT is not set
    # CONFIG_BOOT_SHARE_DATA is not set
    CONFIG_BOOT_FIH_PROFILE_OFF=y
    # CONFIG_BOOT_FIH_PROFILE_LOW is not set
    # CONFIG_BOOT_FIH_PROFILE_MEDIUM is not set
    # CONFIG_BOOT_FIH_PROFILE_HIGH is not set
    CONFIG_BOOT_USB_DFU_NO=y
    # CONFIG_BOOT_USB_DFU_WAIT is not set
    # CONFIG_BOOT_USB_DFU_GPIO is not set
    CONFIG_ZEPHYR_TRY_MASS_ERASE=y
    # CONFIG_BOOT_USE_BENCH is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_OFF is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_ERR is not set
    # CONFIG_MCUBOOT_LOG_LEVEL_WRN is not set
    CONFIG_MCUBOOT_LOG_LEVEL_INF=y
    # CONFIG_MCUBOOT_LOG_LEVEL_DBG is not set
    CONFIG_MCUBOOT_LOG_LEVEL=3
    CONFIG_MCUBOOT_LOG_THREAD_STACK_SIZE=768
    CONFIG_MCUBOOT_INDICATION_LED=y
    CONFIG_MCUBOOT_SERIAL=y
    # CONFIG_BOOT_SERIAL_UART is not set
    CONFIG_BOOT_SERIAL_CDC_ACM=y
    # CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD is not set
    CONFIG_BOOT_SERIAL_UNALIGNED_BUFFER_SIZE=64
    CONFIG_BOOT_MAX_LINE_INPUT_LEN=512
    CONFIG_BOOT_SERIAL_MAX_RECEIVE_SIZE=1024
    CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0"
    CONFIG_BOOT_SERIAL_DETECT_PIN=11
    CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0
    CONFIG_BOOT_SERIAL_DETECT_DELAY=0
    # CONFIG_BOOT_MGMT_ECHO is not set
    # CONFIG_ENABLE_MGMT_PERUSER is not set
    # CONFIG_BOOT_SERIAL_ENCRYPT_EC256 is not set
    # CONFIG_BOOT_INTR_VEC_RELOC is not set
    CONFIG_UPDATEABLE_IMAGE_NUMBER=1
    CONFIG_BOOT_WATCHDOG_FEED=y
    # CONFIG_MCUBOOT_ACTION_HOOKS is not set
    # end of MCUBoot settings
    
    CONFIG_MCUBOOT_DEVICE_SETTINGS=y
    
    #
    # Zephyr configuration options
    #
    CONFIG_MULTITHREADING=y
    CONFIG_USB_DEVICE_PRODUCT="MCUBOOT"
    CONFIG_GPIO=y
    # CONFIG_KSCAN is not set
    # CONFIG_WIFI is not set
    # CONFIG_SPI is not set
    CONFIG_GPIO_INIT_PRIORITY=40
    # CONFIG_MODEM is not set
    CONFIG_UART_INTERRUPT_DRIVEN=y
    # CONFIG_I2C is not set
    # CONFIG_SENSOR is not set
    CONFIG_BOARD="nrf52840dk_nrf52840"
    CONFIG_SOC="nRF52840_QIAA"
    CONFIG_SOC_SERIES="nrf52"
    CONFIG_NUM_IRQS=48
    CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32768
    CONFIG_CLOCK_CONTROL_INIT_PRIORITY=30
    CONFIG_FLASH_SIZE=1024
    CONFIG_FLASH_BASE_ADDRESS=0x0
    CONFIG_ICACHE_LINE_SIZE=32
    CONFIG_DCACHE_LINE_SIZE=32
    CONFIG_PINCTRL=y
    # CONFIG_WATCHDOG is not set
    CONFIG_HEAP_MEM_POOL_SIZE=0
    CONFIG_ROM_START_OFFSET=0
    # CONFIG_RESET is not set
    CONFIG_CLOCK_CONTROL=y
    CONFIG_SOC_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_CUSTOM_BUSY_WAIT=y
    # CONFIG_PM is not set
    # CONFIG_PM_DEVICE is not set
    CONFIG_LOG_DOMAIN_NAME=""
    CONFIG_NRF_RTC_TIMER=y
    CONFIG_SYS_CLOCK_TICKS_PER_SEC=32768
    CONFIG_BUILD_OUTPUT_HEX=y
    CONFIG_SERIAL_INIT_PRIORITY=55
    CONFIG_FPU=y
    # CONFIG_CODE_DATA_RELOCATION is not set
    # CONFIG_MBEDTLS is not set
    # CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS is not set
    # CONFIG_TINYCRYPT is not set
    CONFIG_SERIAL=y
    CONFIG_MAIN_STACK_SIZE=10240
    # CONFIG_SRAM_VECTOR_TABLE is not set
    CONFIG_MP_MAX_NUM_CPUS=1
    CONFIG_PLATFORM_SPECIFIC_INIT=y
    CONFIG_HAS_DTS=y
    
    #
    # Devicetree Info
    #
    CONFIG_DT_HAS_ARDUINO_UNO_ADC_ENABLED=y
    CONFIG_DT_HAS_ARDUINO_HEADER_R3_ENABLED=y
    CONFIG_DT_HAS_ARM_ARMV7M_ITM_ENABLED=y
    CONFIG_DT_HAS_ARM_CORTEX_M4F_ENABLED=y
    CONFIG_DT_HAS_ARM_CRYPTOCELL_310_ENABLED=y
    CONFIG_DT_HAS_ARM_V7M_NVIC_ENABLED=y
    CONFIG_DT_HAS_FIXED_PARTITIONS_ENABLED=y
    CONFIG_DT_HAS_GPIO_KEYS_ENABLED=y
    CONFIG_DT_HAS_GPIO_LEDS_ENABLED=y
    CONFIG_DT_HAS_MMIO_SRAM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_ACL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CC310_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CCM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_CLOCK_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_ECB_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_EGU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_FICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIO_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_GPIOTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_IEEE802154_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_MWU_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PINCTRL_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_POWER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_PWM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_QSPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RADIO_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RNG_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_RTC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SAADC_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SPIM_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_SWI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TEMP_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TIMER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_TWI_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UARTE_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_UICR_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_USBD_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF_WDT_ENABLED=y
    CONFIG_DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED=y
    CONFIG_DT_HAS_NORDIC_QSPI_NOR_ENABLED=y
    CONFIG_DT_HAS_PWM_LEDS_ENABLED=y
    CONFIG_DT_HAS_SOC_NV_FLASH_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_BT_HCI_ENTROPY_ENABLED=y
    CONFIG_DT_HAS_ZEPHYR_CDC_ACM_UART_ENABLED=y
    # end of Devicetree Info
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (/home/scada/ncs/v2.2.0/nrf)
    #
    CONFIG_NUM_METAIRQ_PRIORITIES=0
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
    # CONFIG_INIT_STACKS is not set
    
    #
    # Nordic nRF Connect
    #
    CONFIG_WARN_EXPERIMENTAL=y
    CONFIG_PRIVILEGED_STACK_SIZE=1024
    # CONFIG_ENTROPY_GENERATOR is not set
    CONFIG_INIT_ARCH_HW_AT_BOOT=y
    CONFIG_LINKER_LAST_SECTION_ID=y
    # CONFIG_NORDIC_QSPI_NOR is not set
    CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
    # CONFIG_NCS_SAMPLES_DEFAULTS is not set
    CONFIG_LOG_DEFAULT_LEVEL=0
    
    #
    # Image build variants
    #
    CONFIG_NCS_MCUBOOT_IN_BUILD=y
    # end of Image build variants
    
    #
    # Bootloader
    #
    # CONFIG_BUILD_S1_VARIANT is not set
    # CONFIG_SECURE_BOOT is not set
    CONFIG_PM_PARTITION_SIZE_PROVISION=0x1000
    # CONFIG_B0_MIN_PARTITION_SIZE is not set
    CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x8000
    # CONFIG_SECURE_BOOT_CRYPTO is not set
    
    #
    # Secure Boot firmware validation
    #
    CONFIG_SB_VALIDATION_INFO_MAGIC=0x86518483
    CONFIG_SB_VALIDATION_POINTER_MAGIC=0x6919b47e
    CONFIG_SB_VALIDATION_INFO_CRYPTO_ID=1
    CONFIG_SB_VALIDATION_INFO_VERSION=2
    CONFIG_SB_VALIDATION_METADATA_OFFSET=0
    CONFIG_SB_VALIDATE_FW_SIGNATURE=y
    # end of Secure Boot firmware validation
    # end of Bootloader
    
    #
    # Bluetooth Low Energy
    #
    
    #
    # BLE over nRF RPC
    #
    # end of BLE over nRF RPC
    # end of Bluetooth Low Energy
    
    #
    # DFU
    #
    # CONFIG_DFU_MULTI_IMAGE is not set
    # CONFIG_DFU_TARGET is not set
    # end of DFU
    
    # CONFIG_ESB is not set
    # CONFIG_EMDS is not set
    
    #
    # Peripheral CPU DFU (PCD)
    #
    # CONFIG_PCD is not set
    # CONFIG_PCD_APP is not set
    # CONFIG_PCD_NET is not set
    # end of Peripheral CPU DFU (PCD)
    
    #
    # Networking
    #
    
    #
    # Application protocols
    #
    
    #
    # nRF Cloud
    #
    
    #
    # Client ID (nRF Cloud Device ID)
    #
    CONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME=y
    CONFIG_NRF_CLOUD_CLIENT_ID="my-client-id"
    # end of Client ID (nRF Cloud Device ID)
    
    # CONFIG_NRF_CLOUD_MQTT is not set
    # CONFIG_NRF_CLOUD_FOTA is not set
    # CONFIG_NRF_CLOUD_FOTA_FULL_MODEM_UPDATE is not set
    # CONFIG_NRF_CLOUD_REST is not set
    # CONFIG_NRF_CLOUD_GATEWAY is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_OFF is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_ERR is not set
    # CONFIG_NRF_CLOUD_LOG_LEVEL_WRN is not set
    CONFIG_NRF_CLOUD_LOG_LEVEL_INF=y
    # CONFIG_NRF_CLOUD_LOG_LEVEL_DBG is not set
    CONFIG_NRF_CLOUD_LOG_LEVEL=3
    # end of nRF Cloud
    
    # CONFIG_REST_CLIENT is not set
    # CONFIG_DOWNLOAD_CLIENT is not set
    # CONFIG_AWS_IOT is not set
    # CONFIG_AWS_JOBS is not set
    # CONFIG_AZURE_IOT_HUB is not set
    
    #
    # Self-Registration (Zi ZHu Ce)
    #
    # end of Self-Registration (Zi ZHu Ce)
    
    # CONFIG_ICAL_PARSER is not set
    # CONFIG_FTP_CLIENT is not set
    # CONFIG_LWM2M_CLIENT_UTILS is not set
    # CONFIG_WIFI_CREDENTIALS is not set
    # end of Application protocols
    # end of Networking
    
    #
    # NFC
    #
    # CONFIG_NFC_NDEF is not set
    # CONFIG_NFC_NDEF_PARSER is not set
    # CONFIG_NFC_NDEF_PAYLOAD_TYPE_COMMON is not set
    # CONFIG_NFC_T2T_PARSER is not set
    # CONFIG_NFC_T4T_NDEF_FILE is not set
    # CONFIG_NFC_T4T_ISODEP is not set
    # CONFIG_NFC_T4T_APDU is not set
    # CONFIG_NFC_T4T_CC_FILE is not set
    # CONFIG_NFC_T4T_HL_PROCEDURE is not set
    # CONFIG_NFC_PLATFORM is not set
    # CONFIG_NFC_TNEP_TAG is not set
    # CONFIG_NFC_TNEP_POLLER is not set
    # CONFIG_NFC_TNEP_CH is not set
    # end of NFC
    
    # CONFIG_APP_EVENT_MANAGER is not set
    # CONFIG_NRF_PROFILER is not set
    
    #
    # SPM
    #
    # CONFIG_SPM is not set
    # CONFIG_IS_SPM is not set
    # end of SPM
    
    # CONFIG_FW_INFO is not set
    
    #
    # Debug
    #
    # CONFIG_PPI_TRACE is not set
    # CONFIG_CPU_LOAD is not set
    # end of Debug
    
    # CONFIG_MPSL_FEM_DEVICE_CONFIG_254 is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_OFF is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_ERR is not set
    # CONFIG_MPSL_FEM_LOG_LEVEL_WRN is not set
    CONFIG_MPSL_FEM_LOG_LEVEL_INF=y
    # CONFIG_MPSL_FEM_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_FEM_LOG_LEVEL=3
    CONFIG_MPSL_THREAD_COOP_PRIO=8
    CONFIG_MPSL_WORK_STACK_SIZE=1024
    CONFIG_MPSL_TIMESLOT_SESSION_COUNT=0
    # CONFIG_MPSL_ASSERT_HANDLER is not set
    # CONFIG_MPSL_LOG_LEVEL_OFF is not set
    # CONFIG_MPSL_LOG_LEVEL_ERR is not set
    # CONFIG_MPSL_LOG_LEVEL_WRN is not set
    CONFIG_MPSL_LOG_LEVEL_INF=y
    # CONFIG_MPSL_LOG_LEVEL_DBG is not set
    CONFIG_MPSL_LOG_LEVEL=3
    
    #
    # Partition Manager
    #
    CONFIG_PARTITION_MANAGER_ENABLED=y
    CONFIG_FLASH_MAP_CUSTOM=y
    CONFIG_SRAM_SIZE=256
    CONFIG_SRAM_BASE_ADDRESS=0x20000000
    
    #
    # Zephyr subsystem configurations
    #
    # end of Zephyr subsystem configurations
    
    #
    # NCS subsystem configurations
    #
    # CONFIG_PM_SINGLE_IMAGE is not set
    CONFIG_PM_EXTERNAL_FLASH_BASE=0
    # CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY is not set
    # CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK is not set
    CONFIG_PM_SRAM_BASE=0x20000000
    CONFIG_PM_SRAM_SIZE=0x40000
    # end of Partition Manager
    
    #
    # nRF RPC (Remote Procedure Call) library
    #
    # end of nRF RPC (Remote Procedure Call) library
    
    # CONFIG_ZIGBEE is not set
    
    #
    # Full Modem Firmware Update Management(FMFU)
    #
    # CONFIG_MGMT_FMFU_LOG_LEVEL_OFF is not set
    # CONFIG_MGMT_FMFU_LOG_LEVEL_ERR is not set
    # CONFIG_MGMT_FMFU_LOG_LEVEL_WRN is not set
    CONFIG_MGMT_FMFU_LOG_LEVEL_INF=y
    # CONFIG_MGMT_FMFU_LOG_LEVEL_DBG is not set
    CONFIG_MGMT_FMFU_LOG_LEVEL=3
    # end of Full Modem Firmware Update Management(FMFU)
    
    # CONFIG_CAF is not set
    
    #
    # Nordic IEEE 802.15.4
    #
    # end of Nordic IEEE 802.15.4
    
    # CONFIG_DM_MODULE is not set
    
    #
    # Libraries
    #
    
    #
    # Binary libraries
    #
    # end of Binary libraries
    
    # CONFIG_ADP536X is not set
    # CONFIG_AT_MONITOR is not set
    # CONFIG_DISABLE_FLASH_PATCH is not set
    CONFIG_FLASH_PATCH_WARN=y
    # CONFIG_LTE_LINK_CONTROL is not set
    CONFIG_NRF_ACL_FLASH_REGION_SIZE=0x1000
    CONFIG_FPROTECT_BLOCK_SIZE=0x1000
    CONFIG_FPROTECT=y
    # CONFIG_FPROTECT_APP is not set
    # CONFIG_AT_CUSTOM_CMD is not set
    # CONFIG_DK_LIBRARY is not set
    # CONFIG_MODEM_INFO is not set
    CONFIG_RESET_ON_FATAL_ERROR=y
    # CONFIG_FATAL_ERROR_LOG_LEVEL_OFF is not set
    # CONFIG_FATAL_ERROR_LOG_LEVEL_ERR is not set
    # CONFIG_FATAL_ERROR_LOG_LEVEL_WRN is not set
    CONFIG_FATAL_ERROR_LOG_LEVEL_INF=y
    # CONFIG_FATAL_ERROR_LOG_LEVEL_DBG is not set
    CONFIG_FATAL_ERROR_LOG_LEVEL=3
    # CONFIG_SMS is not set
    # CONFIG_SUPL_CLIENT_LIB is not set
    # CONFIG_DATE_TIME is not set
    # CONFIG_HW_ID_LIBRARY is not set
    # CONFIG_RAM_POWER_DOWN_LIBRARY is not set
    # CONFIG_WAVE_GEN_LIB is not set
    # CONFIG_HW_UNIQUE_KEY_LOAD is not set
    CONFIG_HW_UNIQUE_KEY_PARTITION_SIZE=0x1000
    # CONFIG_MODEM_JWT is not set
    # CONFIG_QOS is not set
    # CONFIG_SFLOAT is not set
    # end of Libraries
    
    #
    # Device Drivers
    #
    # CONFIG_BT_DRIVER_QUIRK_NO_AUTO_DLE is not set
    CONFIG_HW_CC3XX=y
    # CONFIG_ETH_RTT is not set
    # CONFIG_NRF_SW_LPUART is not set
    CONFIG_NRFX_GPIOTE_NUM_OF_EVT_HANDLERS=1
    # end of Device Drivers
    
    #
    # External libraries
    #
    # end of External libraries
    
    #
    # Test
    #
    CONFIG_ZTEST_MULTICORE_DEFAULT_SETTINGS=y
    # CONFIG_UNITY is not set
    
    #
    # Mocks
    #
    # CONFIG_MOCK_NRF_MODEM_AT is not set
    # end of Mocks
    # end of Test
    # end of Nordic nRF Connect
    
    CONFIG_ZEPHYR_NRF_MODULE=y
    # end of nrf (/home/scada/ncs/v2.2.0/nrf)
    
    #
    # hostap (/home/scada/ncs/v2.2.0/modules/lib/hostap)
    #
    CONFIG_ZEPHYR_HOSTAP_MODULE=y
    # end of hostap (/home/scada/ncs/v2.2.0/modules/lib/hostap)
    
    #
    # mcuboot (/home/scada/ncs/v2.2.0/bootloader/mcuboot)
    #
    
    #
    # MCUboot
    #
    CONFIG_SIGN_IMAGES=y
    CONFIG_DT_FLASH_WRITE_BLOCK_SIZE=4
    CONFIG_MCUBOOT_USB_SUPPORT=y
    # end of MCUboot
    
    CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    # end of mcuboot (/home/scada/ncs/v2.2.0/bootloader/mcuboot)
    
    #
    # mbedtls (/home/scada/ncs/v2.2.0/modules/crypto/mbedtls)
    #
    CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    CONFIG_MBEDTLS_BUILTIN=y
    # CONFIG_MBEDTLS_LIBRARY is not set
    # end of mbedtls (/home/scada/ncs/v2.2.0/modules/crypto/mbedtls)
    
    #
    # trusted-firmware-m (/home/scada/ncs/v2.2.0/modules/tee/tf-m/trusted-firmware-m)
    #
    CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    # end of trusted-firmware-m (/home/scada/ncs/v2.2.0/modules/tee/tf-m/trusted-firmware-m)
    
    #
    # cjson (/home/scada/ncs/v2.2.0/modules/lib/cjson)
    #
    CONFIG_ZEPHYR_CJSON_MODULE=y
    # end of cjson (/home/scada/ncs/v2.2.0/modules/lib/cjson)
    
    #
    # azure-sdk-for-c (/home/scada/ncs/v2.2.0/modules/lib/azure-sdk-for-c)
    #
    # CONFIG_AZURE_SDK is not set
    CONFIG_ZEPHYR_AZURE_SDK_FOR_C_MODULE=y
    # end of azure-sdk-for-c (/home/scada/ncs/v2.2.0/modules/lib/azure-sdk-for-c)
    
    #
    # memfault-firmware-sdk (/home/scada/ncs/v2.2.0/modules/lib/memfault-firmware-sdk)
    #
    # CONFIG_MEMFAULT is not set
    CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    # end of memfault-firmware-sdk (/home/scada/ncs/v2.2.0/modules/lib/memfault-firmware-sdk)
    
    #
    # cirrus-logic (/home/scada/ncs/v2.2.0/modules/hal/cirrus-logic)
    #
    # CONFIG_HW_CODEC_CIRRUS_LOGIC is not set
    CONFIG_ZEPHYR_CIRRUS_LOGIC_MODULE=y
    # end of cirrus-logic (/home/scada/ncs/v2.2.0/modules/hal/cirrus-logic)
    
    #
    # openthread (/home/scada/ncs/v2.2.0/modules/lib/openthread)
    #
    # CONFIG_OPENTHREAD is not set
    CONFIG_ZEPHYR_OPENTHREAD_MODULE=y
    # end of openthread (/home/scada/ncs/v2.2.0/modules/lib/openthread)
    
    #
    # canopennode (/home/scada/ncs/v2.2.0/modules/lib/canopennode)
    #
    CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    # end of canopennode (/home/scada/ncs/v2.2.0/modules/lib/canopennode)
    
    #
    # chre (/home/scada/ncs/v2.2.0/modules/lib/chre)
    #
    CONFIG_ZEPHYR_CHRE_MODULE=y
    # CONFIG_CHRE is not set
    # end of chre (/home/scada/ncs/v2.2.0/modules/lib/chre)
    
    #
    # hal_nordic (/home/scada/ncs/v2.2.0/modules/hal/nordic)
    #
    CONFIG_ZEPHYR_HAL_NORDIC_MODULE=y
    CONFIG_HAS_NORDIC_DRIVERS=y
    
    #
    # Nordic drivers
    #
    # CONFIG_NRF_802154_SOURCE_HAL_NORDIC is not set
    # CONFIG_NRF_802154_RADIO_DRIVER is not set
    # CONFIG_NRF_802154_SER_RADIO is not set
    # end of Nordic drivers
    
    CONFIG_HAS_NRFX=y
    
    #
    # nrfx drivers
    #
    CONFIG_NRFX_CLOCK=y
    CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y
    # CONFIG_NRFX_COMP is not set
    # CONFIG_NRFX_EGU0 is not set
    # CONFIG_NRFX_EGU1 is not set
    # CONFIG_NRFX_EGU2 is not set
    # CONFIG_NRFX_EGU3 is not set
    # CONFIG_NRFX_EGU4 is not set
    # CONFIG_NRFX_EGU5 is not set
    CONFIG_NRFX_GPIOTE=y
    # CONFIG_NRFX_I2S is not set
    # CONFIG_NRFX_NFCT is not set
    CONFIG_NRFX_NVMC=y
    # CONFIG_NRFX_PDM is not set
    CONFIG_NRFX_POWER=y
    CONFIG_NRFX_PPI=y
    # CONFIG_NRFX_PWM0 is not set
    # CONFIG_NRFX_PWM1 is not set
    # CONFIG_NRFX_PWM2 is not set
    # CONFIG_NRFX_PWM3 is not set
    # CONFIG_NRFX_QDEC is not set
    # CONFIG_NRFX_QSPI is not set
    # CONFIG_NRFX_RNG is not set
    # CONFIG_NRFX_RTC0 is not set
    # CONFIG_NRFX_RTC1 is not set
    # CONFIG_NRFX_RTC2 is not set
    # CONFIG_NRFX_SAADC is not set
    # CONFIG_NRFX_SPI0 is not set
    # CONFIG_NRFX_SPI1 is not set
    # CONFIG_NRFX_SPI2 is not set
    # CONFIG_NRFX_SPIM3 is not set
    # CONFIG_NRFX_SYSTICK is not set
    # CONFIG_NRFX_TEMP is not set
    # CONFIG_NRFX_TIMER0 is not set
    # CONFIG_NRFX_TIMER1 is not set
    # CONFIG_NRFX_TIMER2 is not set
    # CONFIG_NRFX_TIMER3 is not set
    # CONFIG_NRFX_TIMER4 is not set
    # CONFIG_NRFX_TWI0 is not set
    # CONFIG_NRFX_TWI1 is not set
    # CONFIG_NRFX_UARTE0 is not set
    # CONFIG_NRFX_UARTE1 is not set
    CONFIG_NRFX_USBD=y
    CONFIG_NRFX_WDT=y
    CONFIG_NRFX_WDT0=y
    
    #
    # Peripheral Resource Sharing module
    #
    # CONFIG_NRFX_PRS_BOX_0 is not set
    # CONFIG_NRFX_PRS_BOX_1 is not set
    # CONFIG_NRFX_PRS_BOX_2 is not set
    # CONFIG_NRFX_PRS_BOX_3 is not set
    # CONFIG_NRFX_PRS_BOX_4 is not set
    # end of Peripheral Resource Sharing module
    # end of nrfx drivers
    # end of hal_nordic (/home/scada/ncs/v2.2.0/modules/hal/nordic)
    
    #
    # liblc3 (/home/scada/ncs/v2.2.0/modules/lib/liblc3)
    #
    # CONFIG_LIBLC3 is not set
    CONFIG_ZEPHYR_LIBLC3_MODULE=y
    # end of liblc3 (/home/scada/ncs/v2.2.0/modules/lib/liblc3)
    
    #
    # littlefs (/home/scada/ncs/v2.2.0/modules/fs/littlefs)
    #
    CONFIG_ZEPHYR_LITTLEFS_MODULE=y
    # end of littlefs (/home/scada/ncs/v2.2.0/modules/fs/littlefs)
    
    #
    # loramac-node (/home/scada/ncs/v2.2.0/modules/lib/loramac-node)
    #
    CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    # CONFIG_HAS_SEMTECH_RADIO_DRIVERS is not set
    # end of loramac-node (/home/scada/ncs/v2.2.0/modules/lib/loramac-node)
    
    #
    # lvgl (/home/scada/ncs/v2.2.0/modules/lib/gui/lvgl)
    #
    CONFIG_ZEPHYR_LVGL_MODULE=y
    # end of lvgl (/home/scada/ncs/v2.2.0/modules/lib/gui/lvgl)
    
    #
    # lz4 (/home/scada/ncs/v2.2.0/modules/lib/lz4)
    #
    CONFIG_ZEPHYR_LZ4_MODULE=y
    # CONFIG_LZ4 is not set
    # end of lz4 (/home/scada/ncs/v2.2.0/modules/lib/lz4)
    
    #
    # nanopb (/home/scada/ncs/v2.2.0/modules/lib/nanopb)
    #
    CONFIG_ZEPHYR_NANOPB_MODULE=y
    # CONFIG_NANOPB is not set
    # end of nanopb (/home/scada/ncs/v2.2.0/modules/lib/nanopb)
    
    #
    # picolibc (/home/scada/ncs/v2.2.0/modules/lib/picolibc)
    #
    # CONFIG_PICOLIBC_MODULE is not set
    CONFIG_ZEPHYR_PICOLIBC_MODULE=y
    # end of picolibc (/home/scada/ncs/v2.2.0/modules/lib/picolibc)
    
    #
    # TraceRecorder (/home/scada/ncs/v2.2.0/modules/debug/TraceRecorder)
    #
    CONFIG_ZEPHYR_TRACERECORDER_MODULE=y
    # end of TraceRecorder (/home/scada/ncs/v2.2.0/modules/debug/TraceRecorder)
    
    #
    # uoscore-uedhoc (/home/scada/ncs/v2.2.0/modules/lib/uoscore-uedhoc)
    #
    CONFIG_ZEPHYR_UOSCORE_UEDHOC_MODULE=y
    # end of uoscore-uedhoc (/home/scada/ncs/v2.2.0/modules/lib/uoscore-uedhoc)
    
    #
    # zcbor (/home/scada/ncs/v2.2.0/modules/lib/zcbor)
    #
    CONFIG_ZEPHYR_ZCBOR_MODULE=y
    # CONFIG_ZCBOR is not set
    # end of zcbor (/home/scada/ncs/v2.2.0/modules/lib/zcbor)
    
    #
    # zscilib (/home/scada/ncs/v2.2.0/modules/lib/zscilib)
    #
    # CONFIG_ZSL is not set
    CONFIG_ZEPHYR_ZSCILIB_MODULE=y
    # end of zscilib (/home/scada/ncs/v2.2.0/modules/lib/zscilib)
    
    #
    # nrfxlib (/home/scada/ncs/v2.2.0/nrfxlib)
    #
    
    #
    # Nordic nrfxlib
    #
    CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE=0x4e8
    # CONFIG_NFC_T2T_NRFXLIB is not set
    # CONFIG_NFC_T4T_NRFXLIB is not set
    # CONFIG_MPSL is not set
    
    #
    # Crypto libraries for nRF5x SOCs.
    #
    CONFIG_CRYPTOCELL_CC310_USABLE=y
    CONFIG_CRYPTOCELL_USABLE=y
    # CONFIG_NRF_OBERON is not set
    CONFIG_NRF_CC3XX_PLATFORM=y
    CONFIG_CC3XX_MUTEX_LOCK=y
    # CONFIG_CC3XX_ATOMIC_LOCK is not set
    # end of Crypto libraries for nRF5x SOCs.
    
    #
    # nrf_security module
    #
    # CONFIG_NORDIC_SECURITY_BACKEND is not set
    # CONFIG_NRF_SECURITY is not set
    # end of nrf_security module
    
    # CONFIG_NRF_RPC is not set
    CONFIG_NRF_802154_SOURCE_NRFXLIB=y
    # CONFIG_GZLL is not set
    # CONFIG_NRF_DM is not set
    # CONFIG_SW_CODEC_LC3_T2_SOFTWARE is not set
    # CONFIG_LC3_PLC_DISABLED is not set
    CONFIG_LC3_ENC_CHAN_MAX=1
    CONFIG_LC3_DEC_CHAN_MAX=1
    
    #
    # Encoder sample rates
    #
    CONFIG_LC3_ENC_SAMPLE_RATE_8KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_16KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_24KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_32KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_441KHZ_SUPPORT=y
    CONFIG_LC3_ENC_SAMPLE_RATE_48KHZ_SUPPORT=y
    # end of Encoder sample rates
    
    #
    # Decoder sample rates
    #
    CONFIG_LC3_DEC_SAMPLE_RATE_8KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_16KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_24KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_32KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_441KHZ_SUPPORT=y
    CONFIG_LC3_DEC_SAMPLE_RATE_48KHZ_SUPPORT=y
    # end of Decoder sample rates
    # end of Nordic nrfxlib
    
    CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    # end of nrfxlib (/home/scada/ncs/v2.2.0/nrfxlib)
    
    #
    # connectedhomeip (/home/scada/ncs/v2.2.0/modules/lib/matter)
    #
    # CONFIG_CHIP is not set
    CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    # end of connectedhomeip (/home/scada/ncs/v2.2.0/modules/lib/matter)
    
    #
    # Optional modules. Make sure they're installed, via the project manifest.
    #
    CONFIG_HAS_CMSIS_CORE=y
    CONFIG_HAS_CMSIS_CORE_M=y
    # CONFIG_CMSIS_NN is not set
    # CONFIG_LIBMETAL is not set
    # CONFIG_LVGL is not set
    # CONFIG_HAS_MEC_HAL is not set
    # CONFIG_HAS_MPFS_HAL is not set
    # CONFIG_OPENAMP is not set
    # CONFIG_SOF is not set
    # CONFIG_MIPI_SYST_LIB is not set
    # CONFIG_HAS_TELINK_DRIVERS is not set
    # CONFIG_TINYCBOR is not set
    CONFIG_MCUBOOT_BOOTUTIL_LIB=y
    
    #
    # Unavailable modules, please install those via the project manifest.
    #
    
    #
    # hal_gigadevice module not available.
    #
    
    #
    # Trusted-firmware-a module not available.
    #
    # end of Modules
    
    CONFIG_BOARD_REVISION=""
    # CONFIG_NET_DRIVERS is not set
    CONFIG_BOARD_NRF52840DK_NRF52840=y
    
    #
    # Board Options
    #
    CONFIG_BOARD_ENABLE_DCDC=y
    CONFIG_BOARD_ENABLE_DCDC_HV=y
    # end of Board Options
    
    # CONFIG_SOC_SERIES_BEETLE is not set
    # CONFIG_SOC_SERIES_ARM_DESIGNSTART is not set
    # CONFIG_SOC_SERIES_FVP_AEMV8R_AARCH32 is not set
    # CONFIG_SOC_SERIES_MPS2 is not set
    # CONFIG_SOC_SERIES_MPS3 is not set
    # CONFIG_SOC_SERIES_MUSCA_B1 is not set
    # CONFIG_SOC_SERIES_MUSCA_S1 is not set
    # CONFIG_SOC_SERIES_AST10X0 is not set
    # CONFIG_SOC_SERIES_SAM3X is not set
    # CONFIG_SOC_SERIES_SAM4E is not set
    # CONFIG_SOC_SERIES_SAM4L is not set
    # CONFIG_SOC_SERIES_SAM4S is not set
    # CONFIG_SOC_SERIES_SAME70 is not set
    # CONFIG_SOC_SERIES_SAMV71 is not set
    # CONFIG_SOC_SERIES_SAMD20 is not set
    # CONFIG_SOC_SERIES_SAMD21 is not set
    # CONFIG_SOC_SERIES_SAMD51 is not set
    # CONFIG_SOC_SERIES_SAME51 is not set
    # CONFIG_SOC_SERIES_SAME53 is not set
    # CONFIG_SOC_SERIES_SAME54 is not set
    # CONFIG_SOC_SERIES_SAML21 is not set
    # CONFIG_SOC_SERIES_SAMR21 is not set
    # CONFIG_SOC_SERIES_SAMR34 is not set
    # CONFIG_SOC_SERIES_SAMR35 is not set
    # CONFIG_SOC_SERIES_VALKYRIE is not set
    # CONFIG_SOC_SERIES_VIPER is not set
    # CONFIG_SOC_SERIES_PSOC62 is not set
    # CONFIG_SOC_SERIES_PSOC63 is not set
    # CONFIG_SOC_SERIES_GD32E10X is not set
    # CONFIG_SOC_SERIES_GD32E50X is not set
    # CONFIG_SOC_SERIES_GD32F3X0 is not set
    # CONFIG_SOC_SERIES_GD32F403 is not set
    # CONFIG_SOC_SERIES_GD32F4XX is not set
    # CONFIG_SOC_SERIES_XMC_4XXX is not set
    # CONFIG_SOC_SERIES_CYCLONE5 is not set
    # CONFIG_SOC_SERIES_MEC1501X is not set
    # CONFIG_SOC_SERIES_MEC1701X is not set
    # CONFIG_SOC_SERIES_MEC172X is not set
    # CONFIG_SOC_SERIES_NRF51X is not set
    CONFIG_SOC_SERIES_NRF52X=y
    # CONFIG_SOC_SERIES_NRF53X is not set
    # CONFIG_SOC_SERIES_NRF91X is not set
    # CONFIG_SOC_SERIES_NPCX7 is not set
    # CONFIG_SOC_SERIES_NPCX9 is not set
    # CONFIG_SOC_SERIES_M48X is not set
    # CONFIG_SOC_SERIES_IMX_6X_M4 is not set
    # CONFIG_SOC_SERIES_IMX7_M4 is not set
    # CONFIG_SOC_SERIES_IMX8ML_M7 is not set
    # CONFIG_SOC_SERIES_IMX8MM_M4 is not set
    # CONFIG_SOC_SERIES_IMX8MQ_M4 is not set
    # CONFIG_SOC_SERIES_IMX_RT is not set
    # CONFIG_SOC_SERIES_IMX_RT5XX is not set
    # CONFIG_SOC_SERIES_IMX_RT6XX is not set
    # CONFIG_SOC_SERIES_KINETIS_K2X is not set
    # CONFIG_SOC_SERIES_KINETIS_K6X is not set
    # CONFIG_SOC_SERIES_KINETIS_K8X is not set
    # CONFIG_SOC_SERIES_KINETIS_KE1XF is not set
    # CONFIG_SOC_SERIES_KINETIS_KL2X is not set
    # CONFIG_SOC_SERIES_KINETIS_KV5X is not set
    # CONFIG_SOC_SERIES_KINETIS_KWX is not set
    # CONFIG_SOC_SERIES_LPC11U6X is not set
    # CONFIG_SOC_SERIES_LPC51U68 is not set
    # CONFIG_SOC_SERIES_LPC54XXX is not set
    # CONFIG_SOC_SERIES_LPC55XXX is not set
    # CONFIG_SOC_SERIES_S32ZE_R52 is not set
    # CONFIG_SOC_EOS_S3 is not set
    # CONFIG_SOC_SERIES_RCAR_GEN3 is not set
    # CONFIG_SOC_SERIES_DA1469X is not set
    # CONFIG_SOC_SERIES_RP2XXX is not set
    # CONFIG_SOC_SERIES_EFM32GG11B is not set
    # CONFIG_SOC_SERIES_EFM32HG is not set
    # CONFIG_SOC_SERIES_EFM32JG12B is not set
    # CONFIG_SOC_SERIES_EFM32PG12B is not set
    # CONFIG_SOC_SERIES_EFM32PG1B is not set
    # CONFIG_SOC_SERIES_EFM32WG is not set
    # CONFIG_SOC_SERIES_EFR32BG13P is not set
    # CONFIG_SOC_SERIES_EFR32FG13P is not set
    # CONFIG_SOC_SERIES_EFR32FG1P is not set
    # CONFIG_SOC_SERIES_EFR32MG12P is not set
    # CONFIG_SOC_SERIES_EFR32MG21 is not set
    # CONFIG_SOC_SERIES_STM32F0X is not set
    # CONFIG_SOC_SERIES_STM32F1X is not set
    # CONFIG_SOC_SERIES_STM32F2X is not set
    # CONFIG_SOC_SERIES_STM32F3X is not set
    # CONFIG_SOC_SERIES_STM32F4X is not set
    # CONFIG_SOC_SERIES_STM32F7X is not set
    # CONFIG_SOC_SERIES_STM32G0X is not set
    # CONFIG_SOC_SERIES_STM32G4X is not set
    # CONFIG_SOC_SERIES_STM32H7X is not set
    # CONFIG_SOC_SERIES_STM32L0X is not set
    # CONFIG_SOC_SERIES_STM32L1X is not set
    # CONFIG_SOC_SERIES_STM32L4X is not set
    # CONFIG_SOC_SERIES_STM32L5X is not set
    # CONFIG_SOC_SERIES_STM32MP1X is not set
    # CONFIG_SOC_SERIES_STM32U5X is not set
    # CONFIG_SOC_SERIES_STM32WBX is not set
    # CONFIG_SOC_SERIES_STM32WLX is not set
    # CONFIG_SOC_TI_LM3S6965 is not set
    # CONFIG_SOC_SERIES_CC13X2_CC26X2 is not set
    # CONFIG_SOC_SERIES_CC32XX is not set
    # CONFIG_SOC_SERIES_MSP432P4XX is not set
    # CONFIG_SOC_SERIES_XILINX_XC7ZXXX is not set
    # CONFIG_SOC_SERIES_XILINX_XC7ZXXXS is not set
    # CONFIG_SOC_XILINX_ZYNQMP_RPU is not set
    
    #
    # Hardware Configuration
    #
    CONFIG_CPU_HAS_ARM_MPU=y
    CONFIG_HAS_SWO=y
    CONFIG_SOC_FAMILY="nordic_nrf"
    CONFIG_SOC_FAMILY_NRF=y
    CONFIG_HAS_HW_NRF_ACL=y
    CONFIG_HAS_HW_NRF_CC310=y
    CONFIG_HAS_HW_NRF_CCM=y
    CONFIG_HAS_HW_NRF_CCM_LFLEN_8BIT=y
    CONFIG_HAS_HW_NRF_CLOCK=y
    CONFIG_HAS_HW_NRF_ECB=y
    CONFIG_HAS_HW_NRF_EGU0=y
    CONFIG_HAS_HW_NRF_EGU1=y
    CONFIG_HAS_HW_NRF_EGU2=y
    CONFIG_HAS_HW_NRF_EGU3=y
    CONFIG_HAS_HW_NRF_EGU4=y
    CONFIG_HAS_HW_NRF_EGU5=y
    CONFIG_HAS_HW_NRF_GPIO0=y
    CONFIG_HAS_HW_NRF_GPIO1=y
    CONFIG_HAS_HW_NRF_GPIOTE=y
    CONFIG_HAS_HW_NRF_MWU=y
    CONFIG_HAS_HW_NRF_NVMC_PE=y
    CONFIG_HAS_HW_NRF_POWER=y
    CONFIG_HAS_HW_NRF_PPI=y
    CONFIG_HAS_HW_NRF_PWM0=y
    CONFIG_HAS_HW_NRF_QSPI=y
    CONFIG_HAS_HW_NRF_RADIO_BLE_2M=y
    CONFIG_HAS_HW_NRF_RADIO_BLE_CODED=y
    CONFIG_HAS_HW_NRF_RADIO_IEEE802154=y
    CONFIG_HAS_HW_NRF_RADIO_TX_PWR_HIGH=y
    CONFIG_HAS_HW_NRF_RNG=y
    CONFIG_HAS_HW_NRF_RTC0=y
    CONFIG_HAS_HW_NRF_RTC1=y
    CONFIG_HAS_HW_NRF_RTC2=y
    CONFIG_HAS_HW_NRF_SAADC=y
    CONFIG_HAS_HW_NRF_SPI1=y
    CONFIG_HAS_HW_NRF_SPIM3=y
    CONFIG_HAS_HW_NRF_SWI0=y
    CONFIG_HAS_HW_NRF_SWI1=y
    CONFIG_HAS_HW_NRF_SWI2=y
    CONFIG_HAS_HW_NRF_SWI3=y
    CONFIG_HAS_HW_NRF_SWI4=y
    CONFIG_HAS_HW_NRF_SWI5=y
    CONFIG_HAS_HW_NRF_TEMP=y
    CONFIG_HAS_HW_NRF_TIMER0=y
    CONFIG_HAS_HW_NRF_TIMER1=y
    CONFIG_HAS_HW_NRF_TIMER2=y
    CONFIG_HAS_HW_NRF_TIMER3=y
    CONFIG_HAS_HW_NRF_TIMER4=y
    CONFIG_HAS_HW_NRF_TWI0=y
    CONFIG_HAS_HW_NRF_UARTE0=y
    CONFIG_HAS_HW_NRF_UARTE1=y
    CONFIG_HAS_HW_NRF_USBD=y
    CONFIG_HAS_HW_NRF_WDT0=y
    CONFIG_NRF_HW_RTC1_RESERVED=y
    CONFIG_SOC_NRF52840=y
    # CONFIG_SOC_NRF52805_CAAA is not set
    # CONFIG_SOC_NRF52810_QFAA is not set
    # CONFIG_SOC_NRF52811_QFAA is not set
    # CONFIG_SOC_NRF52820_QDAA is not set
    # CONFIG_SOC_NRF52832_CIAA is not set
    # CONFIG_SOC_NRF52832_QFAA is not set
    # CONFIG_SOC_NRF52832_QFAB is not set
    # CONFIG_SOC_NRF52833_QIAA is not set
    CONFIG_SOC_NRF52840_QIAA=y
    CONFIG_SOC_DCDC_NRF52X=y
    CONFIG_SOC_DCDC_NRF52X_HV=y
    CONFIG_GPIO_AS_PINRESET=y
    CONFIG_NRF_ENABLE_ICACHE=y
    CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT=0
    CONFIG_NRF_SOC_SECURE_SUPPORTED=y
    # CONFIG_NFCT_PINS_AS_GPIOS is not set
    CONFIG_NRF_APPROTECT_USE_UICR=y
    # CONFIG_NRF_APPROTECT_LOCK is not set
    # CONFIG_NRF_TRACE_PORT is not set
    # CONFIG_SOC_LOG_LEVEL_OFF is not set
    # CONFIG_SOC_LOG_LEVEL_ERR is not set
    # CONFIG_SOC_LOG_LEVEL_WRN is not set
    CONFIG_SOC_LOG_LEVEL_INF=y
    # CONFIG_SOC_LOG_LEVEL_DBG is not set
    CONFIG_SOC_LOG_LEVEL=3
    # end of Hardware Configuration
    
    CONFIG_SOC_COMPATIBLE_NRF=y
    CONFIG_SOC_COMPATIBLE_NRF52X=y
    
    #
    # ARM Options
    #
    CONFIG_ARCH="arm"
    CONFIG_CPU_CORTEX=y
    # CONFIG_CODE_DATA_RELOCATION_SRAM is not set
    CONFIG_CPU_CORTEX_M=y
    CONFIG_ISA_THUMB2=y
    CONFIG_ASSEMBLER_ISA_THUMB2=y
    CONFIG_COMPILER_ISA_THUMB2=y
    CONFIG_STACK_ALIGN_DOUBLE_WORD=y
    # CONFIG_RUNTIME_NMI is not set
    CONFIG_FAULT_DUMP=2
    CONFIG_ARM_STACK_PROTECTION=y
    CONFIG_ARM_STORE_EXC_RETURN=y
    CONFIG_FP_HARDABI=y
    # CONFIG_FP_SOFTABI is not set
    CONFIG_FP16=y
    CONFIG_FP16_IEEE=y
    # CONFIG_FP16_ALT is not set
    CONFIG_CPU_CORTEX_M4=y
    CONFIG_CPU_CORTEX_M_HAS_SYSTICK=y
    CONFIG_CPU_CORTEX_M_HAS_DWT=y
    CONFIG_CPU_CORTEX_M_HAS_BASEPRI=y
    CONFIG_CPU_CORTEX_M_HAS_VTOR=y
    CONFIG_CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS=y
    CONFIG_ARMV7_M_ARMV8_M_MAINLINE=y
    CONFIG_ARMV7_M_ARMV8_M_FP=y
    
    #
    # ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    #
    CONFIG_GEN_ISR_TABLES=y
    # CONFIG_ZERO_LATENCY_IRQS is not set
    # CONFIG_SW_VECTOR_RELAY is not set
    # CONFIG_CORTEX_M_DWT is not set
    # CONFIG_TRAP_UNALIGNED_ACCESS is not set
    # end of ARM Cortex-M0/M0+/M1/M3/M4/M7/M23/M33 options
    
    CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_DWT is not set
    # CONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU is not set
    CONFIG_GEN_IRQ_VECTOR_TABLE=y
    CONFIG_ARM_MPU=y
    CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE=32
    CONFIG_MPU_STACK_GUARD=y
    CONFIG_MPU_STACK_GUARD_MIN_SIZE_FLOAT=128
    CONFIG_MPU_ALLOW_FLASH_WRITE=y
    # CONFIG_CUSTOM_SECTION_ALIGN is not set
    CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE=32
    # end of ARM Options
    
    CONFIG_ARM=y
    CONFIG_ARCH_IS_SET=y
    
    #
    # General Architecture Options
    #
    # CONFIG_SEMIHOST is not set
    # CONFIG_ARCH_LOG_LEVEL_OFF is not set
    # CONFIG_ARCH_LOG_LEVEL_ERR is not set
    # CONFIG_ARCH_LOG_LEVEL_WRN is not set
    CONFIG_ARCH_LOG_LEVEL_INF=y
    # CONFIG_ARCH_LOG_LEVEL_DBG is not set
    CONFIG_ARCH_LOG_LEVEL=3
    CONFIG_LITTLE_ENDIAN=y
    CONFIG_HW_STACK_PROTECTION=y
    # CONFIG_USERSPACE is not set
    CONFIG_KOBJECT_TEXT_AREA=256
    CONFIG_KOBJECT_DATA_AREA_RESERVE_EXTRA_PERCENT=100
    CONFIG_KOBJECT_RODATA_AREA_EXTRA_BYTES=16
    CONFIG_GEN_PRIV_STACKS=y
    # CONFIG_STACK_GROWS_UP is not set
    
    #
    # Interrupt Configuration
    #
    # CONFIG_DYNAMIC_INTERRUPTS is not set
    CONFIG_ARCH_IRQ_VECTOR_TABLE_ALIGN=4
    CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS=y
    # CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_CODE is not set
    CONFIG_GEN_SW_ISR_TABLE=y
    CONFIG_ARCH_SW_ISR_TABLE_ALIGN=4
    CONFIG_GEN_IRQ_START_VECTOR=0
    # CONFIG_EXTRA_EXCEPTION_INFO is not set
    # end of Interrupt Configuration
    # end of General Architecture Options
    
    CONFIG_ARCH_HAS_SINGLE_THREAD_SUPPORT=y
    CONFIG_ARCH_HAS_TIMING_FUNCTIONS=y
    CONFIG_ARCH_HAS_STACK_PROTECTION=y
    CONFIG_ARCH_HAS_USERSPACE=y
    CONFIG_ARCH_HAS_EXECUTABLE_PAGE_BIT=y
    CONFIG_ARCH_HAS_RAMFUNC_SUPPORT=y
    CONFIG_ARCH_HAS_NESTED_EXCEPTION_DETECTION=y
    CONFIG_ARCH_SUPPORTS_COREDUMP=y
    CONFIG_ARCH_SUPPORTS_ARCH_HW_INIT=y
    CONFIG_ARCH_HAS_EXTRA_EXCEPTION_INFO=y
    CONFIG_ARCH_HAS_THREAD_LOCAL_STORAGE=y
    CONFIG_ARCH_HAS_SUSPEND_TO_RAM=y
    CONFIG_ARCH_HAS_THREAD_ABORT=y
    CONFIG_ARCH_HAS_CODE_DATA_RELOCATION=y
    CONFIG_CPU_HAS_FPU=y
    CONFIG_CPU_HAS_MPU=y
    CONFIG_MPU=y
    # CONFIG_MPU_LOG_LEVEL_OFF is not set
    # CONFIG_MPU_LOG_LEVEL_ERR is not set
    # CONFIG_MPU_LOG_LEVEL_WRN is not set
    CONFIG_MPU_LOG_LEVEL_INF=y
    # CONFIG_MPU_LOG_LEVEL_DBG is not set
    CONFIG_MPU_LOG_LEVEL=3
    CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT=y
    CONFIG_SRAM_REGION_PERMISSIONS=y
    
    #
    # Floating Point Options
    #
    CONFIG_FPU_SHARING=y
    # end of Floating Point Options
    
    #
    # Cache Options
    #
    # end of Cache Options
    
    CONFIG_TOOLCHAIN_HAS_BUILTIN_FFS=y
    
    #
    # General Kernel Options
    #
    # CONFIG_KERNEL_LOG_LEVEL_OFF is not set
    # CONFIG_KERNEL_LOG_LEVEL_ERR is not set
    # CONFIG_KERNEL_LOG_LEVEL_WRN is not set
    CONFIG_KERNEL_LOG_LEVEL_INF=y
    # CONFIG_KERNEL_LOG_LEVEL_DBG is not set
    CONFIG_KERNEL_LOG_LEVEL=3
    CONFIG_NUM_COOP_PRIORITIES=16
    CONFIG_NUM_PREEMPT_PRIORITIES=15
    CONFIG_MAIN_THREAD_PRIORITY=0
    CONFIG_COOP_ENABLED=y
    CONFIG_PREEMPT_ENABLED=y
    CONFIG_PRIORITY_CEILING=-127
    # CONFIG_SCHED_DEADLINE is not set
    # CONFIG_SCHED_CPU_MASK is not set
    CONFIG_IDLE_STACK_SIZE=320
    CONFIG_ISR_STACK_SIZE=2048
    CONFIG_THREAD_STACK_INFO=y
    # CONFIG_THREAD_CUSTOM_DATA is not set
    CONFIG_ERRNO=y
    CONFIG_SCHED_DUMB=y
    # CONFIG_SCHED_SCALABLE is not set
    # CONFIG_SCHED_MULTIQ is not set
    # CONFIG_WAITQ_SCALABLE is not set
    CONFIG_WAITQ_DUMB=y
    
    #
    # Kernel Debugging and Metrics
    #
    CONFIG_BOOT_BANNER=y
    CONFIG_BOOT_DELAY=0
    # CONFIG_THREAD_MONITOR is not set
    # CONFIG_THREAD_NAME is not set
    # CONFIG_THREAD_RUNTIME_STATS is not set
    # end of Kernel Debugging and Metrics
    
    #
    # Work Queue Options
    #
    CONFIG_SYSTEM_WORKQUEUE_PRIORITY=-1
    # CONFIG_SYSTEM_WORKQUEUE_NO_YIELD is not set
    # end of Work Queue Options
    
    #
    # Atomic Operations
    #
    CONFIG_ATOMIC_OPERATIONS_BUILTIN=y
    # end of Atomic Operations
    
    #
    # Timer API Options
    #
    CONFIG_TIMESLICING=y
    CONFIG_TIMESLICE_SIZE=0
    CONFIG_TIMESLICE_PRIORITY=0
    # CONFIG_TIMESLICE_PER_THREAD is not set
    # CONFIG_POLL is not set
    # end of Timer API Options
    
    #
    # Other Kernel Object Options
    #
    # CONFIG_MEM_SLAB_TRACE_MAX_UTILIZATION is not set
    CONFIG_NUM_MBOX_ASYNC_MSGS=10
    # CONFIG_EVENTS is not set
    # CONFIG_PIPES is not set
    CONFIG_KERNEL_MEM_POOL=y
    # end of Other Kernel Object Options
    
    CONFIG_ARCH_HAS_CUSTOM_SWAP_TO_MAIN=y
    CONFIG_SWAP_NONATOMIC=y
    CONFIG_SYS_CLOCK_EXISTS=y
    CONFIG_TIMEOUT_64BIT=y
    CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS=365
    CONFIG_XIP=y
    
    #
    # Initialization Priorities
    #
    CONFIG_KERNEL_INIT_PRIORITY_OBJECTS=30
    CONFIG_KERNEL_INIT_PRIORITY_DEFAULT=40
    CONFIG_KERNEL_INIT_PRIORITY_DEVICE=50
    CONFIG_APPLICATION_INIT_PRIORITY=90
    # end of Initialization Priorities
    
    #
    # Security Options
    #
    # end of Security Options
    
    #
    # SMP Options
    #
    CONFIG_MP_NUM_CPUS=1
    # end of SMP Options
    
    CONFIG_TICKLESS_KERNEL=y
    CONFIG_TOOLCHAIN_SUPPORTS_THREAD_LOCAL_STORAGE=y
    # CONFIG_THREAD_LOCAL_STORAGE is not set
    # end of General Kernel Options
    
    #
    # Device Options
    #
    # end of Device Options
    
    #
    # Virtual Memory Support
    #
    # end of Virtual Memory Support
    
    #
    # Device Drivers
    #
    # CONFIG_LORA is not set
    CONFIG_CONSOLE=y
    CONFIG_CONSOLE_INPUT_MAX_LINE_LEN=128
    CONFIG_CONSOLE_INIT_PRIORITY=40
    # CONFIG_UART_CONSOLE is not set
    # CONFIG_RAM_CONSOLE is not set
    # CONFIG_RTT_CONSOLE is not set
    # CONFIG_IPM_CONSOLE_SENDER is not set
    # CONFIG_IPM_CONSOLE_RECEIVER is not set
    # CONFIG_UART_MCUMGR is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_OFF is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_ERR is not set
    # CONFIG_UART_CONSOLE_LOG_LEVEL_WRN is not set
    CONFIG_UART_CONSOLE_LOG_LEVEL_INF=y
    # CONFIG_UART_CONSOLE_LOG_LEVEL_DBG is not set
    CONFIG_UART_CONSOLE_LOG_LEVEL=3
    # CONFIG_GSM_MUX is not set
    # CONFIG_EFI_CONSOLE is not set
    CONFIG_HAS_SEGGER_RTT=y
    CONFIG_USE_SEGGER_RTT=y
    # CONFIG_SEGGER_RTT_CUSTOM_LOCKING is not set
    CONFIG_SEGGER_RTT_MAX_NUM_UP_BUFFERS=3
    CONFIG_SEGGER_RTT_MAX_NUM_DOWN_BUFFERS=3
    CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=1024
    CONFIG_SEGGER_RTT_BUFFER_SIZE_DOWN=16
    CONFIG_SEGGER_RTT_PRINTF_BUFFER_SIZE=64
    CONFIG_SEGGER_RTT_MODE_NO_BLOCK_SKIP=y
    # CONFIG_SEGGER_RTT_MODE_NO_BLOCK_TRIM is not set
    # CONFIG_SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL is not set
    CONFIG_SEGGER_RTT_MODE=0
    # CONFIG_SEGGER_RTT_MEMCPY_USE_BYTELOOP is not set
    CONFIG_SEGGER_RTT_SECTION_NONE=y
    # CONFIG_SEGGER_RTT_SECTION_DTCM is not set
    # CONFIG_EC_HOST_CMD_PERIPH is not set
    CONFIG_ETH_INIT_PRIORITY=80
    # CONFIG_MDIO is not set
    
    #
    # Capabilities
    #
    CONFIG_SERIAL_HAS_DRIVER=y
    CONFIG_SERIAL_SUPPORT_ASYNC=y
    CONFIG_SERIAL_SUPPORT_INTERRUPT=y
    # CONFIG_UART_LOG_LEVEL_OFF is not set
    # CONFIG_UART_LOG_LEVEL_ERR is not set
    # CONFIG_UART_LOG_LEVEL_WRN is not set
    CONFIG_UART_LOG_LEVEL_INF=y
    # CONFIG_UART_LOG_LEVEL_DBG is not set
    CONFIG_UART_LOG_LEVEL=3
    CONFIG_UART_USE_RUNTIME_CONFIGURE=y
    # CONFIG_UART_ASYNC_API is not set
    # CONFIG_UART_LINE_CTRL is not set
    # CONFIG_UART_DRV_CMD is not set
    # CONFIG_UART_WIDE_DATA is not set
    # CONFIG_UART_PIPE is not set
    
    #
    # Serial Drivers
    #
    CONFIG_UART_NRFX=y
    CONFIG_UART_0_NRF_UARTE=y
    CONFIG_UART_0_ENHANCED_POLL_OUT=y
    CONFIG_UART_0_INTERRUPT_DRIVEN=y
    # CONFIG_UART_0_NRF_PARITY_BIT is not set
    CONFIG_UART_0_NRF_TX_BUFFER_SIZE=32
    CONFIG_UART_1_NRF_UARTE=y
    CONFIG_UART_1_INTERRUPT_DRIVEN=y
    CONFIG_UART_1_ENHANCED_POLL_OUT=y
    # CONFIG_UART_1_NRF_PARITY_BIT is not set
    CONFIG_UART_1_NRF_TX_BUFFER_SIZE=32
    CONFIG_UART_ENHANCED_POLL_OUT=y
    CONFIG_NRF_UARTE_PERIPHERAL=y
    
    #
    # Interrupt Controllers
    #
    CONFIG_INTC_INIT_PRIORITY=40
    # CONFIG_INTC_LOG_LEVEL_OFF is not set
    # CONFIG_INTC_LOG_LEVEL_ERR is not set
    # CONFIG_INTC_LOG_LEVEL_WRN is not set
    CONFIG_INTC_LOG_LEVEL_INF=y
    # CONFIG_INTC_LOG_LEVEL_DBG is not set
    CONFIG_INTC_LOG_LEVEL=3
    # CONFIG_MULTI_LEVEL_INTERRUPTS is not set
    # CONFIG_INTC_ESP32 is not set
    # end of Interrupt Controllers
    
    #
    # Timer Drivers
    #
    # CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME is not set
    # CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE is not set
    CONFIG_SYSTEM_CLOCK_INIT_PRIORITY=0
    CONFIG_TICKLESS_CAPABLE=y
    # CONFIG_SYSTEM_CLOCK_NO_WAIT is not set
    # CONFIG_SYSTEM_CLOCK_WAIT_FOR_AVAILABILITY is not set
    CONFIG_SYSTEM_CLOCK_WAIT_FOR_STABILITY=y
    # end of Timer Drivers
    
    # CONFIG_PCIE is not set
    # CONFIG_PCIE_ENDPOINT is not set
    # CONFIG_GPIO_LOG_LEVEL_OFF is not set
    # CONFIG_GPIO_LOG_LEVEL_ERR is not set
    # CONFIG_GPIO_LOG_LEVEL_WRN is not set
    CONFIG_GPIO_LOG_LEVEL_INF=y
    # CONFIG_GPIO_LOG_LEVEL_DBG is not set
    CONFIG_GPIO_LOG_LEVEL=3
    # CONFIG_GPIO_GET_DIRECTION is not set
    # CONFIG_GPIO_GET_CONFIG is not set
    CONFIG_GPIO_NRFX=y
    # CONFIG_FXL6408_LOG_LEVEL_OFF is not set
    # CONFIG_FXL6408_LOG_LEVEL_ERR is not set
    # CONFIG_FXL6408_LOG_LEVEL_WRN is not set
    CONFIG_FXL6408_LOG_LEVEL_INF=y
    # CONFIG_FXL6408_LOG_LEVEL_DBG is not set
    CONFIG_FXL6408_LOG_LEVEL=3
    # CONFIG_SDHC is not set
    # CONFIG_I3C is not set
    # CONFIG_I2S is not set
    # CONFIG_DAI is not set
    # CONFIG_PWM is not set
    # CONFIG_PINMUX is not set
    # CONFIG_ADC is not set
    # CONFIG_DAC is not set
    # CONFIG_W1 is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_OFF is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_ERR is not set
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_WRN is not set
    CONFIG_CLOCK_CONTROL_LOG_LEVEL_INF=y
    # CONFIG_CLOCK_CONTROL_LOG_LEVEL_DBG is not set
    CONFIG_CLOCK_CONTROL_LOG_LEVEL=3
    CONFIG_CLOCK_CONTROL_NRF=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC is not set
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_LOW_SWING is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_EXT_FULL_SWING is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_150PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_100PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_75PPM is not set
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_50PPM=y
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM is not set
    # CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM is not set
    CONFIG_CLOCK_CONTROL_NRF_ACCURACY=50
    # CONFIG_PTP_CLOCK is not set
    # CONFIG_IPM is not set
    CONFIG_FLASH_HAS_DRIVER_ENABLED=y
    CONFIG_FLASH_HAS_PAGE_LAYOUT=y
    CONFIG_FLASH=y
    # CONFIG_FLASH_LOG_LEVEL_OFF is not set
    # CONFIG_FLASH_LOG_LEVEL_ERR is not set
    # CONFIG_FLASH_LOG_LEVEL_WRN is not set
    CONFIG_FLASH_LOG_LEVEL_INF=y
    # CONFIG_FLASH_LOG_LEVEL_DBG is not set
    CONFIG_FLASH_LOG_LEVEL=3
    CONFIG_FLASH_PAGE_LAYOUT=y
    CONFIG_FLASH_INIT_PRIORITY=50
    CONFIG_SOC_FLASH_NRF=y
    CONFIG_SOC_FLASH_NRF_RADIO_SYNC_NONE=y
    # CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE is not set
    # CONFIG_SOC_FLASH_NRF_UICR is not set
    # CONFIG_SOC_FLASH_NRF_EMULATE_ONE_BYTE_WRITE_ACCESS is not set
    # CONFIG_COUNTER is not set
    # CONFIG_DMA is not set
    CONFIG_USB_DEVICE_DRIVER=y
    # CONFIG_USB_DC_HAS_HS_SUPPORT is not set
    CONFIG_USB_DEVICE_REMOTE_WAKEUP=y
    CONFIG_USB_NRFX=y
    CONFIG_USB_NRFX_EVT_QUEUE_SIZE=32
    CONFIG_USB_NRFX_WORK_QUEUE_STACK_SIZE=1024
    CONFIG_USB_NRFX_ATTACHED_EVENT_DELAY=0
    # CONFIG_USB_NATIVE_POSIX is not set
    # CONFIG_USB_DRIVER_LOG_LEVEL_OFF is not set
    # CONFIG_USB_DRIVER_LOG_LEVEL_ERR is not set
    # CONFIG_USB_DRIVER_LOG_LEVEL_WRN is not set
    CONFIG_USB_DRIVER_LOG_LEVEL_INF=y
    # CONFIG_USB_DRIVER_LOG_LEVEL_DBG is not set
    CONFIG_USB_DRIVER_LOG_LEVEL=3
    # CONFIG_CRYPTO is not set
    # CONFIG_DISPLAY is not set
    # CONFIG_LED_STRIP is not set
    # CONFIG_LED is not set
    # CONFIG_CAN is not set
    # CONFIG_AUDIO is not set
    # CONFIG_NEURAL_NET_ACCEL is not set
    CONFIG_HWINFO=y
    # CONFIG_HWINFO_LOG_LEVEL_OFF is not set
    # CONFIG_HWINFO_LOG_LEVEL_ERR is not set
    # CONFIG_HWINFO_LOG_LEVEL_WRN is not set
    CONFIG_HWINFO_LOG_LEVEL_INF=y
    # CONFIG_HWINFO_LOG_LEVEL_DBG is not set
    CONFIG_HWINFO_LOG_LEVEL=3
    CONFIG_HWINFO_NRF=y
    # CONFIG_ESPI is not set
    # CONFIG_PS2 is not set
    # CONFIG_VIDEO is not set
    # CONFIG_EEPROM is not set
    # CONFIG_PECI is not set
    # CONFIG_PECI_INTERRUPT_DRIVEN is not set
    # CONFIG_REGULATOR is not set
    # CONFIG_MEMC is not set
    # CONFIG_VIRTUALIZATION is not set
    # CONFIG_EDAC is not set
    # CONFIG_PM_CPU_OPS is not set
    
    #
    # Miscellaneous Drivers
    #
    # CONFIG_GROVE_LCD_RGB is not set
    # end of Miscellaneous Drivers
    
    # CONFIG_DISK_DRIVERS is not set
    # CONFIG_CACHE is not set
    # CONFIG_SYSCON is not set
    # CONFIG_BBRAM is not set
    # CONFIG_FPGA is not set
    # CONFIG_PINCTRL_LOG_LEVEL_OFF is not set
    # CONFIG_PINCTRL_LOG_LEVEL_ERR is not set
    # CONFIG_PINCTRL_LOG_LEVEL_WRN is not set
    CONFIG_PINCTRL_LOG_LEVEL_INF=y
    # CONFIG_PINCTRL_LOG_LEVEL_DBG is not set
    CONFIG_PINCTRL_LOG_LEVEL=3
    CONFIG_PINCTRL_STORE_REG=y
    # CONFIG_PINCTRL_DYNAMIC is not set
    CONFIG_PINCTRL_NRF=y
    # CONFIG_MBOX is not set
    # CONFIG_MM_DRV is not set
    # CONFIG_POWER_DOMAIN is not set
    # CONFIG_USBC_TCPC_DRIVER is not set
    # CONFIG_USBC_LOG_LEVEL_OFF is not set
    # CONFIG_USBC_LOG_LEVEL_ERR is not set
    # CONFIG_USBC_LOG_LEVEL_WRN is not set
    CONFIG_USBC_LOG_LEVEL_INF=y
    # CONFIG_USBC_LOG_LEVEL_DBG is not set
    CONFIG_USBC_LOG_LEVEL=3
    # CONFIG_USBC_VBUS_DRIVER is not set
    # CONFIG_MIPI_DSI is not set
    # CONFIG_COREDUMP_DEVICE is not set
    # end of Device Drivers
    
    #
    # C Library
    #
    CONFIG_SUPPORT_MINIMAL_LIBC=y
    CONFIG_PICOLIBC_SUPPORTED=y
    CONFIG_MINIMAL_LIBC=y
    # CONFIG_PICOLIBC is not set
    # CONFIG_NEWLIB_LIBC is not set
    # CONFIG_EXTERNAL_LIBC is not set
    CONFIG_HAS_NEWLIB_LIBC_NANO=y
    CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
    CONFIG_MINIMAL_LIBC_MALLOC=y
    CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=0
    CONFIG_MINIMAL_LIBC_CALLOC=y
    CONFIG_MINIMAL_LIBC_REALLOCARRAY=y
    # CONFIG_MINIMAL_LIBC_LL_PRINTF is not set
    CONFIG_MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE=y
    # CONFIG_MINIMAL_LIBC_RAND is not set
    CONFIG_MINIMAL_LIBC_TIME=y
    # CONFIG_MINIMAL_LIBC_STRING_ERROR_TABLE is not set
    CONFIG_NEED_LIBC_MEM_PARTITION=y
    # end of C Library
    
    #
    # Additional libraries
    #
    
    #
    # OS Support Library
    #
    # CONFIG_JSON_LIBRARY is not set
    CONFIG_RING_BUFFER=y
    CONFIG_NOTIFY=y
    CONFIG_BASE64=y
    # CONFIG_PRINTK_SYNC is not set
    # CONFIG_MPSC_PBUF is not set
    CONFIG_ONOFF=y
    # CONFIG_SPSC_PBUF is not set
    # CONFIG_SHARED_MULTI_HEAP is not set
    # CONFIG_WINSTREAM is not set
    CONFIG_REBOOT=y
    # CONFIG_UTF8 is not set
    # CONFIG_CBPRINTF_COMPLETE is not set
    CONFIG_CBPRINTF_NANO=y
    CONFIG_CBPRINTF_FULL_INTEGRAL=y
    # CONFIG_CBPRINTF_REDUCED_INTEGRAL is not set
    # CONFIG_CBPRINTF_FP_A_SUPPORT is not set
    # CONFIG_CBPRINTF_FP_ALWAYS_A is not set
    CONFIG_CBPRINTF_LIBC_SUBSTS=y
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_OFF is not set
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_ERR is not set
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_WRN is not set
    CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_INF=y
    # CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL_DBG is not set
    CONFIG_CBPRINTF_PACKAGE_LOG_LEVEL=3
    # CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE is not set
    # CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT is not set
    
    #
    # Heap and Memory Allocation
    #
    # CONFIG_SYS_HEAP_VALIDATE is not set
    CONFIG_SYS_HEAP_ALLOC_LOOPS=3
    # CONFIG_SYS_HEAP_RUNTIME_STATS is not set
    # CONFIG_SYS_HEAP_LISTENER is not set
    CONFIG_SYS_HEAP_SMALL_ONLY=y
    # CONFIG_SYS_HEAP_BIG_ONLY is not set
    # CONFIG_SYS_HEAP_AUTO is not set
    # CONFIG_SYS_MEM_BLOCKS is not set
    # end of Heap and Memory Allocation
    # end of OS Support Library
    
    # CONFIG_GETOPT is not set
    CONFIG_POSIX_MAX_FDS=4
    # CONFIG_POSIX_API is not set
    # CONFIG_POSIX_CLOCK is not set
    CONFIG_MAX_TIMER_COUNT=5
    # CONFIG_POSIX_MQUEUE is not set
    # CONFIG_EVENTFD is not set
    # CONFIG_OPENAMP_RSC_TABLE is not set
    
    #
    # Util libraries
    #
    # CONFIG_FNMATCH is not set
    # end of Util libraries
    
    # CONFIG_SMF is not set
    # end of Additional libraries
    
    #
    # Sub Systems and OS Services
    #
    # CONFIG_BT is not set
    
    #
    # Controller Area Network (CAN) bus subsystem
    #
    # CONFIG_ISOTP is not set
    # end of Controller Area Network (CAN) bus subsystem
    
    # CONFIG_CONSOLE_SUBSYS is not set
    # CONFIG_CPLUSPLUS is not set
    
    #
    # System Monitoring Options
    #
    # CONFIG_THREAD_ANALYZER is not set
    # end of System Monitoring Options
    
    #
    # Debugging Options
    #
    # CONFIG_DEBUG is not set
    # CONFIG_STACK_USAGE is not set
    # CONFIG_STACK_SENTINEL is not set
    CONFIG_PRINTK=y
    CONFIG_EARLY_CONSOLE=y
    # CONFIG_ASSERT is not set
    # CONFIG_FORCE_NO_ASSERT is not set
    CONFIG_ASSERT_VERBOSE=y
    # CONFIG_ASSERT_NO_FILE_INFO is not set
    # CONFIG_ASSERT_NO_COND_INFO is not set
    # CONFIG_ASSERT_NO_MSG_INFO is not set
    # CONFIG_ASSERT_TEST is not set
    # CONFIG_OVERRIDE_FRAME_POINTER_DEFAULT is not set
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_DEBUG_THREAD_INFO is not set
    # CONFIG_DEBUG_COREDUMP is not set
    # end of Debugging Options
    
    # CONFIG_DISK_ACCESS is not set
    # CONFIG_EMUL is not set
    # CONFIG_CHARACTER_FRAMEBUFFER is not set
    
    #
    # File Systems
    #
    # CONFIG_FILE_SYSTEM is not set
    # CONFIG_FCB is not set
    # CONFIG_NVS is not set
    # end of File Systems
    
    #
    # Inter Processor Communication
    #
    # CONFIG_RPMSG_SERVICE is not set
    # CONFIG_IPC_SERVICE is not set
    # end of Inter Processor Communication
    
    # CONFIG_JWT is not set
    
    #
    # Logging
    #
    CONFIG_LOG=y
    # CONFIG_LOG_MODE_DEFERRED is not set
    # CONFIG_LOG_MODE_IMMEDIATE is not set
    CONFIG_LOG_MODE_MINIMAL=y
    # CONFIG_LOG_FRONTEND is not set
    # CONFIG_LOG_MULTIDOMAIN is not set
    
    #
    # Logging levels filtering
    #
    CONFIG_LOG_OVERRIDE_LEVEL=0
    CONFIG_LOG_MAX_LEVEL=4
    # end of Logging levels filtering
    
    #
    # Processing
    #
    # end of Processing
    
    #
    # Misc
    #
    CONFIG_LOG_USE_VLA=y
    # CONFIG_LOG_ALWAYS_RUNTIME is not set
    # CONFIG_LOG_FMT_SECTION is not set
    # CONFIG_LOG_USE_TAGGED_ARGUMENTS is not set
    # end of Misc
    
    # CONFIG_LOG_OUTPUT is not set
    # end of Logging
    
    #
    # Device Management
    #
    
    #
    # Host command handler subsystem
    #
    # CONFIG_EC_HOST_CMD is not set
    # end of Host command handler subsystem
    
    # CONFIG_MCUMGR is not set
    # CONFIG_HAWKBIT is not set
    # CONFIG_UPDATEHUB is not set
    # CONFIG_OSDP is not set
    # end of Device Management
    
    # CONFIG_MODBUS is not set
    
    #
    # Networking
    #
    # CONFIG_NET_BUF is not set
    # CONFIG_NETWORKING is not set
    # end of Networking
    
    #
    # Portability
    #
    # end of Portability
    
    #
    # Power Management
    #
    # end of Power Management
    
    # CONFIG_SHELL is not set
    # CONFIG_STATS is not set
    CONFIG_USB_DEVICE_STACK=y
    # CONFIG_USB_DEVICE_LOG_LEVEL_OFF is not set
    # CONFIG_USB_DEVICE_LOG_LEVEL_ERR is not set
    # CONFIG_USB_DEVICE_LOG_LEVEL_WRN is not set
    CONFIG_USB_DEVICE_LOG_LEVEL_INF=y
    # CONFIG_USB_DEVICE_LOG_LEVEL_DBG is not set
    CONFIG_USB_DEVICE_LOG_LEVEL=3
    CONFIG_USB_PID_CDC_ACM_SAMPLE=0x0001
    CONFIG_USB_PID_CDC_ACM_COMPOSITE_SAMPLE=0x0002
    CONFIG_USB_PID_HID_CDC_SAMPLE=0x0003
    CONFIG_USB_PID_CONSOLE_SAMPLE=0x0004
    CONFIG_USB_PID_DFU_SAMPLE=0x0005
    CONFIG_USB_PID_HID_SAMPLE=0x0006
    CONFIG_USB_PID_HID_MOUSE_SAMPLE=0x0007
    CONFIG_USB_PID_MASS_SAMPLE=0x0008
    CONFIG_USB_PID_TESTUSB_SAMPLE=0x0009
    CONFIG_USB_PID_WEBUSB_SAMPLE=0x000A
    CONFIG_USB_PID_BLE_HCI_SAMPLE=0x000B
    CONFIG_USB_PID_BLE_HCI_H4_SAMPLE=0x000C
    CONFIG_USB_PID_WPANUSB_SAMPLE=0x000D
    CONFIG_USB_DEVICE_VID=0x2FE3
    CONFIG_USB_DEVICE_PID=0x0100
    CONFIG_USB_DEVICE_MANUFACTURER="ZEPHYR"
    CONFIG_USB_DEVICE_SN="0123456789ABCDEF"
    # CONFIG_USB_COMPOSITE_DEVICE is not set
    CONFIG_USB_MAX_NUM_TRANSFERS=4
    CONFIG_USB_REQUEST_BUFFER_SIZE=128
    CONFIG_USB_MAX_ALT_SETTING=8
    CONFIG_USB_NUMOF_EP_WRITE_RETRIES=3
    # CONFIG_USB_DEVICE_SOF is not set
    # CONFIG_USB_DEVICE_BOS is not set
    # CONFIG_USB_DEVICE_OS_DESC is not set
    CONFIG_USB_SELF_POWERED=y
    CONFIG_USB_MAX_POWER=50
    CONFIG_USB_WORKQUEUE=y
    CONFIG_USB_WORKQUEUE_STACK_SIZE=1024
    CONFIG_USB_WORKQUEUE_PRIORITY=-1
    # CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT is not set
    
    #
    # USB CDC ACM Class support
    #
    CONFIG_USB_CDC_ACM=y
    CONFIG_USB_CDC_ACM_RINGBUF_SIZE=1024
    CONFIG_CDC_ACM_INTERRUPT_EP_MPS=16
    CONFIG_CDC_ACM_BULK_EP_MPS=64
    CONFIG_CDC_ACM_IAD=y
    # CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT is not set
    # CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF is not set
    # CONFIG_USB_CDC_ACM_LOG_LEVEL_ERR is not set
    # CONFIG_USB_CDC_ACM_LOG_LEVEL_WRN is not set
    CONFIG_USB_CDC_ACM_LOG_LEVEL_INF=y
    # CONFIG_USB_CDC_ACM_LOG_LEVEL_DBG is not set
    CONFIG_USB_CDC_ACM_LOG_LEVEL=3
    # end of USB CDC ACM Class support
    
    # CONFIG_USB_MASS_STORAGE is not set
    # CONFIG_USB_DEVICE_BLUETOOTH is not set
    # CONFIG_USB_DEVICE_BT_H4 is not set
    # CONFIG_USB_DEVICE_LOOPBACK is not set
    
    #
    # USB Device Networking support
    #
    # CONFIG_USB_DEVICE_NETWORK_ECM is not set
    # CONFIG_USB_DEVICE_NETWORK_EEM is not set
    # CONFIG_USB_DEVICE_NETWORK_RNDIS is not set
    # end of USB Device Networking support
    
    # CONFIG_USB_DEVICE_HID is not set
    # CONFIG_USB_DEVICE_AUDIO is not set
    # CONFIG_USBC_STACK is not set
    # CONFIG_SD_STACK is not set
    # CONFIG_IMG_MANAGER is not set
    
    #
    # Random Number Generators
    #
    # CONFIG_TEST_RANDOM_GENERATOR is not set
    # end of Random Number Generators
    
    #
    # Storage
    #
    CONFIG_FLASH_MAP=y
    # CONFIG_FLASH_AREA_CHECK_INTEGRITY is not set
    # CONFIG_STREAM_FLASH is not set
    # end of Storage
    
    # CONFIG_SETTINGS is not set
    # CONFIG_TASK_WDT is not set
    
    #
    # Testing
    #
    # CONFIG_ZTEST is not set
    # CONFIG_ZTEST_MOCKING is not set
    # CONFIG_ZTRESS is not set
    # CONFIG_TEST is not set
    # CONFIG_TEST_USERSPACE is not set
    # end of Testing
    
    # CONFIG_TIMING_FUNCTIONS is not set
    # CONFIG_TRACING is not set
    # CONFIG_RTIO is not set
    # end of Sub Systems and OS Services
    
    CONFIG_TOOLCHAIN_ZEPHYR_0_15=y
    CONFIG_TOOLCHAIN_ZEPHYR_SUPPORTS_THREAD_LOCAL_STORAGE=y
    
    #
    # Build and Link Features
    #
    
    #
    # Linker Options
    #
    # CONFIG_LINKER_ORPHAN_SECTION_PLACE is not set
    CONFIG_LINKER_ORPHAN_SECTION_WARN=y
    # CONFIG_LINKER_ORPHAN_SECTION_ERROR is not set
    CONFIG_HAS_FLASH_LOAD_OFFSET=y
    CONFIG_USE_DT_CODE_PARTITION=y
    CONFIG_FLASH_LOAD_OFFSET=0x0
    CONFIG_FLASH_LOAD_SIZE=0xc000
    CONFIG_LD_LINKER_SCRIPT_SUPPORTED=y
    CONFIG_LD_LINKER_TEMPLATE=y
    # CONFIG_CMAKE_LINKER_GENERATOR is not set
    # CONFIG_HAVE_CUSTOM_LINKER_SCRIPT is not set
    CONFIG_KERNEL_ENTRY="__start"
    CONFIG_LINKER_SORT_BY_ALIGNMENT=y
    CONFIG_SRAM_OFFSET=0
    
    #
    # Linker Sections
    #
    # CONFIG_LINKER_USE_BOOT_SECTION is not set
    # CONFIG_LINKER_USE_PINNED_SECTION is not set
    CONFIG_LINKER_GENERIC_SECTIONS_PRESENT_AT_BOOT=y
    CONFIG_LINKER_LAST_SECTION_ID_PATTERN=0xE015E015
    # end of Linker Sections
    # end of Linker Options
    
    #
    # Compiler Options
    #
    # CONFIG_CODING_GUIDELINE_CHECK is not set
    # CONFIG_NATIVE_APPLICATION is not set
    CONFIG_SIZE_OPTIMIZATIONS=y
    # CONFIG_SPEED_OPTIMIZATIONS is not set
    # CONFIG_DEBUG_OPTIMIZATIONS is not set
    # CONFIG_NO_OPTIMIZATIONS is not set
    CONFIG_COMPILER_COLOR_DIAGNOSTICS=y
    CONFIG_FORTIFY_SOURCE_NONE=y
    # CONFIG_FORTIFY_SOURCE_COMPILE_TIME is not set
    # CONFIG_FORTIFY_SOURCE_RUN_TIME is not set
    CONFIG_COMPILER_OPT=""
    # CONFIG_MISRA_SANE is not set
    # end of Compiler Options
    
    # CONFIG_ASSERT_ON_ERRORS is not set
    # CONFIG_NO_RUNTIME_CHECKS is not set
    CONFIG_RUNTIME_ERROR_CHECKS=y
    
    #
    # Build Options
    #
    CONFIG_KERNEL_BIN_NAME="zephyr"
    CONFIG_OUTPUT_STAT=y
    # CONFIG_OUTPUT_SYMBOLS is not set
    CONFIG_OUTPUT_DISASSEMBLY=y
    # CONFIG_OUTPUT_DISASSEMBLE_ALL is not set
    CONFIG_OUTPUT_PRINT_MEMORY_USAGE=y
    # CONFIG_CLEANUP_INTERMEDIATE_FILES is not set
    # CONFIG_BUILD_NO_GAP_FILL is not set
    CONFIG_BUILD_OUTPUT_BIN=y
    # CONFIG_BUILD_OUTPUT_EXE is not set
    # CONFIG_BUILD_OUTPUT_S19 is not set
    # CONFIG_BUILD_OUTPUT_UF2 is not set
    # CONFIG_BUILD_OUTPUT_STRIPPED is not set
    # CONFIG_BUILD_OUTPUT_INFO_HEADER is not set
    # CONFIG_APPLICATION_DEFINED_SYSCALL is not set
    # CONFIG_MAKEFILE_EXPORTS is not set
    CONFIG_BUILD_OUTPUT_META=y
    # CONFIG_BUILD_OUTPUT_META_STATE_PROPAGATE is not set
    # end of Build Options
    
    CONFIG_WARN_DEPRECATED=y
    CONFIG_ENFORCE_ZEPHYR_STDINT=y
    # end of Build and Link Features
    
    #
    # Boot Options
    #
    # CONFIG_IS_BOOTLOADER is not set
    # CONFIG_BOOTLOADER_BOSSA is not set
    # end of Boot Options
    
    #
    # Compatibility
    #
    CONFIG_COMPAT_INCLUDES=y
    # end of Compatibility
    
    # CONFIG_LEGACY_INCLUDE_PATH is not set
    

  • Hi, 

    JuanAlm said:
    How can I reset the dongle? Is there a function from zephyr? Is enough with sys_reboot() ?

    You should be able to reset the dongle with RCP-specific commands in the software. From what I can see will have to find a command that calls sys_reboot(). I will have do some investigating to see if I can find a specific command.

    JuanAlm said:
    Maybe I have to wire the GPIO to the reset pin?

    In our opinion this is something you should do regardless of the requirement of your end product being required to be buttonless. Having this option available can save you a lot of time for general purpose error-handling. 

    JuanAlm said:
    I have problems trying to run this. I builded and flashed on my nrf52840DK board and doesn't appear USB port over J3 connector when I connect to my RaspberryPi. I noticed that there isn't a "nrf52840dk_nrf52840.overlay" where USB cdc_acm is enabled. So I added this with the next code:

    I will see if I'm able to look closer into this tomorrow when I'm physically back in office where I have my hardware.

    Kind regards,
    Andreas

  • I have tried to increse "CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT" and the result is always the same, I can't see a time difference in what time the program starts blinky. 

    EDIT1:

    Reading the build log I saw "CONFIG_BOOT_SERIAL_UART=y" was a unsatisfied dependencie, so I added it to mcuboot.conf and now bootloader starts in function of "CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT". I added a led blinking in the main program to check this. 

    Im trying this over nrf52840DK board and I still cant see an open USB port while serial_recovery bootloader is on.

    EDIT2:

    I have to set in mcuboot.conf "CONFIG_BOOT_USB_DFU_WAIT=y" to enable usb port. The only difference between "mcuboot_serial_recovery_cdc_acm" and "mcuboot_serial_recovery_cdc_acm_wait" is this configs:

    CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y
    CONFIG_BOOT_SERIAL_WAIT_FOR_DFU_TIMEOUT=10000
    

    But I have to add this to enable the previous configs:

    CONFIG_BOOT_SERIAL_UART=y
    

    But USB is not enabled for detecting mcumgr command if I dont set this config:

    CONFIG_BOOT_USB_DFU_WAIT=y

    Anyway, enabling USB the mcumgr command is not detected.

  • I have tried with the sample "mcuboot_serial_recovery_cdc_acm" and if I push the button when I switch on the board I enable mcumgr and I can send commands. But with the "mcuboot_serial_recovery_cdc_acm_wait" I cant send an mcumgr command while bootloader is on.

  • I'm trying to advance in parallel with my custom project. I have implemented to openthread sample the MCUBoot serial_recovery. The prj.conf from the main aplicattion:

    CONFIG_NETWORKING=y
    CONFIG_NET_L2_OPENTHREAD=y
    
    # Disable certain parts of Zephyr IPv6 stack
    CONFIG_NET_IPV6_NBR_CACHE=n
    CONFIG_NET_IPV6_MLD=n
    
    # Logging
    CONFIG_LOG=y
    CONFIG_LOG_MAX_LEVEL=1
    CONFIG_LOG_MODE_MINIMAL=n
    CONFIG_LOG_BACKEND_SPINEL=y
    CONFIG_LOG_BACKEND_RTT=y
    CONFIG_LOG_BACKEND_UART=n
    CONFIG_BOOT_BANNER=n
    
    # Kernel options
    CONFIG_MAIN_STACK_SIZE=2560
    CONFIG_INIT_STACKS=y
    
    # Increase logging thread stack size due to Spinel backend needs
    CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=2048
    
    # Set OpenThread NCP architecture
    CONFIG_OPENTHREAD_COPROCESSOR=y
    CONFIG_OPENTHREAD_COPROCESSOR_NCP=y
    
    # Add features required for NCP
    CONFIG_OPENTHREAD_DIAG=y
    CONFIG_OPENTHREAD_DHCP6_SERVER=y
    CONFIG_OPENTHREAD_COMMISSIONER=y
    CONFIG_OPENTHREAD_BORDER_AGENT=y
    CONFIG_OPENTHREAD_BORDER_ROUTER=y
    CONFIG_OPENTHREAD_UDP_FORWARD=y
    CONFIG_OPENTHREAD_ENABLE_SERVICE=y
    
    CONFIG_BOOTLOADER_MCUBOOT=y

    I build it with:

    overlay-rcp.conf

    overlay-usb-nrf-br.conf

    usb.overlay

    The mcuboot.conf:

    CONFIG_SIZE_OPTIMIZATIONS=y
    CONFIG_SINGLE_APPLICATION_SLOT=y
    
    # Enable MCUboot Serial Recovery
    CONFIG_MCUBOOT_SERIAL=y
    CONFIG_UART_CONSOLE=n
    
    # Point Serial Recovery to CDC_ACM
    CONFIG_BOOT_SERIAL_CDC_ACM=y
    
    CONFIG_MCUBOOT_INDICATION_LED=y

    But I have error building. If I comment "CONFIG_BOOT_SERIAL_CDC_ACM" then it build correctly. The error I get building with "CONFIG_BOOT_SERIAL_CDC_ACM=y" is:

    west build --build-dir /home/scada/Documents/coprocessor_bootloader/build /home/scada/Documents/coprocessor_bootloader --pristine --board nrf52840dk_nrf52840 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="/home/scada/Documents/ublox_bmd345_nrf52840-main/ubx_bmd345_nrf52840;/home/scada/Documents/coprocessor_custom;/home/scada/Documents/coprocessor_bootloader" -DDTC_OVERLAY_FILE:STRING="/home/scada/Documents/coprocessor_bootloader/usb.overlay" -DCONF_FILE:STRING="/home/scada/Documents/coprocessor_bootloader/prj.conf" -DOVERLAY_CONFIG:STRING="/home/scada/Documents/coprocessor_bootloader/overlay-rcp.conf;/home/scada/Documents/coprocessor_bootloader/overlay-usb-nrf-br.conf"
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/scada/Documents/coprocessor_bootloader
    -- Found Python3: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/python3.8 (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: /home/scada/.cache/zephyr
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf52840dk_nrf52840
    -- Found host-tools: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found Dtc: /home/scada/ncs/toolchains/v2.2.0/usr/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: /home/scada/Documents/coprocessor_bootloader/usb.overlay
    -- Generated zephyr.dts: /home/scada/Documents/coprocessor_bootloader/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/scada/Documents/coprocessor_bootloader/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/scada/Documents/coprocessor_bootloader/build/zephyr/dts.cmake
    
    warning: SHELL_PROMPT_UART (defined at subsys/shell/backends/Kconfig.backends:36) was assigned the
    value 'ncp-uart:~$ ' but got the value ''. Check these unsatisfied dependencies:
    SHELL_BACKEND_SERIAL (=n), SHELL_BACKENDS (=n), SHELL (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SHELL_PROMPT_UART and/or look up
    SHELL_PROMPT_UART in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    Parsing /home/scada/Documents/coprocessor_bootloader/Kconfig
    Loaded configuration '/home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'
    Merged configuration '/home/scada/Documents/coprocessor_bootloader/prj.conf'
    Merged configuration '/home/scada/Documents/coprocessor_bootloader/overlay-rcp.conf'
    Merged configuration '/home/scada/Documents/coprocessor_bootloader/overlay-usb-nrf-br.conf'
    Configuration saved to '/home/scada/Documents/coprocessor_bootloader/build/zephyr/.config'
    Kconfig header saved to '/home/scada/Documents/coprocessor_bootloader/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
      CONFIG_USB_DEVICE_VID has default value 0x2FE3.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
      CONFIG_USB_DEVICE_PID has default value 0x100.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    -- Found Python3: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/python3.8 (found version "3.8.2") found components: Interpreter 
    
    === child image mcuboot -  begin ===
    loading initial cache file /home/scada/Documents/coprocessor_bootloader/build/mcuboot/child_image_preload.cmake
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr
    -- Found Python3: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/python3.8 (found suitable exact version "3.8.2") found components: Interpreter 
    -- Cache files will be written to: /home/scada/.cache/zephyr
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    -- Board: nrf52840dk_nrf52840
    -- Found host-tools: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.15.1 (/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
    -- Found Dtc: /home/scada/ncs/toolchains/v2.2.0/usr/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
    -- Found devicetree overlay: /home/scada/ncs/v2.2.0/nrf/modules/mcuboot/usb.overlay
    -- Found devicetree overlay: /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/dts.overlay
    -- Generated zephyr.dts: /home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/dts.cmake
    Parsing /home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration '/home/scada/ncs/v2.2.0/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'
    Merged configuration '/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration '/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/boards/nrf52840dk_nrf52840.conf'
    Merged configuration '/home/scada/ncs/v2.2.0/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration '/home/scada/Documents/coprocessor_bootloader/child_image/mcuboot.conf'
    Merged configuration '/home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to '/home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/.config'
    Kconfig header saved to '/home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 12.1.0
    -- The CXX compiler identification is GNU 12.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
      CONFIG_USB_DEVICE_VID has default value 0x2FE3.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/subsys/usb/device/CMakeLists.txt:28 (message):
      CONFIG_USB_DEVICE_PID has default value 0x100.
    
      This value is only for testing and MUST be configured for USB products.
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/nrf/lib/flash_patch/CMakeLists.txt:8 (message):
      
    
            ----------------------------------------------------------
            --- WARNING: To maintain the integrity of secure boot, ---
            --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
            ----------------------------------------------------------
    
    
    CMake Warning at /home/scada/ncs/v2.2.0/zephyr/CMakeLists.txt:824 (message):
      No SOURCES given to Zephyr library: drivers__console
    
      Excluding target from build.
    
    
    MCUBoot bootloader key file: /home/scada/ncs/v2.2.0/bootloader/mcuboot/root-ec-p256.pem
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/scada/Documents/coprocessor_bootloader/build/mcuboot
    === child image mcuboot -  end ===
    
    CMake Warning at /home/scada/ncs/v2.2.0/nrf/modules/mcuboot/CMakeLists.txt:286 (message):
      
    
              ---------------------------------------------------------
              --- WARNING: Using default MCUBoot key, it should not ---
              --- be used for production.                           ---
              ---------------------------------------------------------
              
    
    
    
    -- OpenThread Source Directory: /home/scada/ncs/v2.2.0/modules/lib/openthread
    -- OT_ANYCAST_LOCATOR=""
    -- OT_ASSERT=OFF --> OPENTHREAD_CONFIG_ASSERT_ENABLE=0
    -- OT_BACKBONE_ROUTER=OFF --> OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=0
    -- OT_BACKBONE_ROUTER_DUA_NDPROXYING=""
    -- OT_BACKBONE_ROUTER_MULTICAST_ROUTING=""
    -- OT_BORDER_AGENT=ON --> OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE=1
    -- OT_BORDER_ROUTER=ON --> OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=1
    -- OT_BORDER_ROUTING=""
    -- OT_BORDER_ROUTING_COUNTERS=""
    -- OT_CHANNEL_MANAGER=OFF --> OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE=0
    -- OT_CHANNEL_MONITOR=OFF --> OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE=0
    -- OT_CHILD_SUPERVISION=OFF --> OPENTHREAD_CONFIG_CHILD_SUPERVISION_ENABLE=0
    -- OT_COAP=OFF --> OPENTHREAD_CONFIG_COAP_API_ENABLE=0
    -- OT_COAP_BLOCK=OFF --> OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE=0
    -- OT_COAP_OBSERVE=OFF --> OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE=0
    -- OT_COAPS=OFF --> OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE=0
    -- OT_COMMISSIONER=ON --> OPENTHREAD_CONFIG_COMMISSIONER_ENABLE=1
    -- OT_CSL_AUTO_SYNC=OFF --> OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=0
    -- OT_CSL_DEBUG=OFF --> OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=0
    -- OT_CSL_RECEIVER=OFF --> OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=0
    -- OT_DATASET_UPDATER=OFF --> OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE=0
    -- OT_DHCP6_CLIENT=OFF --> OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE=0
    -- OT_DHCP6_SERVER=ON --> OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE=1
    -- OT_DIAGNOSTIC=ON --> OPENTHREAD_CONFIG_DIAG_ENABLE=1
    -- OT_DNS_CLIENT=OFF --> OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE=0
    -- OT_DNS_DSO=OFF --> OPENTHREAD_CONFIG_DNS_DSO_ENABLE=0
    -- OT_DNSSD_SERVER=OFF --> OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE=0
    -- OT_DUA=OFF --> OPENTHREAD_CONFIG_DUA_ENABLE=0
    -- OT_ECDSA=OFF --> OPENTHREAD_CONFIG_ECDSA_ENABLE=0
    -- OT_EXTERNAL_HEAP=OFF --> OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE=0
    -- OT_FIREWALL=""
    -- OT_HISTORY_TRACKER=OFF --> OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE=0
    -- OT_IP6_FRAGM=OFF --> OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE=0
    -- OT_JAM_DETECTION=OFF --> OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE=0
    -- OT_JOINER=OFF --> OPENTHREAD_CONFIG_JOINER_ENABLE=0
    -- OT_LEGACY=OFF --> OPENTHREAD_CONFIG_LEGACY_ENABLE=0
    -- OT_LINK_METRICS_INITIATOR=OFF --> OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE=0
    -- OT_LINK_METRICS_SUBJECT=OFF --> OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE=0
    -- OT_LINK_RAW=OFF --> OPENTHREAD_CONFIG_LINK_RAW_ENABLE=0
    -- OT_LOG_LEVEL_DYNAMIC=OFF --> OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=0
    -- OT_MAC_FILTER=OFF --> OPENTHREAD_CONFIG_MAC_FILTER_ENABLE=0
    -- OT_MESSAGE_USE_HEAP=""
    -- OT_MLE_LONG_ROUTES=OFF --> OPENTHREAD_CONFIG_MLE_LONG_ROUTES_ENABLE=0
    -- OT_MLR=OFF --> OPENTHREAD_CONFIG_MLR_ENABLE=0
    -- OT_MTD_NETDIAG=OFF --> OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE=0
    -- OT_MULTIPLE_INSTANCE=OFF --> OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE=0
    -- OT_NAT64_BORDER_ROUTING=""
    -- OT_NAT64_TRANSLATOR=""
    -- OT_NEIGHBOR_DISCOVERY_AGENT=OFF --> OPENTHREAD_CONFIG_NEIGHBOR_DISCOVERY_AGENT_ENABLE=0
    -- OT_NETDATA_PUBLISHER=OFF --> OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE=0
    -- OT_OTNS=OFF --> OPENTHREAD_CONFIG_OTNS_ENABLE=0
    -- OT_PING_SENDER=ON --> OPENTHREAD_CONFIG_PING_SENDER_ENABLE=1
    -- OT_PLATFORM_NETIF=OFF --> OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE=0
    -- OT_PLATFORM_UDP=OFF --> OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE=0
    -- OT_REFERENCE_DEVICE=OFF --> OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE=0
    -- OT_SERVICE=ON --> OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE=1
    -- OT_SETTINGS_RAM=OFF --> OPENTHREAD_SETTINGS_RAM=0
    -- OT_SLAAC=OFF --> OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE=0
    -- OT_SNTP_CLIENT=OFF --> OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE=0
    -- OT_SRP_CLIENT=OFF --> OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=0
    -- OT_SRP_SERVER=OFF --> OPENTHREAD_CONFIG_SRP_SERVER_ENABLE=0
    -- OT_TIME_SYNC=OFF --> OPENTHREAD_CONFIG_TIME_SYNC_ENABLE=0
    -- OT_TREL=OFF --> OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=0
    -- OT_TX_BEACON_PAYLOAD=""
    -- OT_UDP_FORWARD=ON --> OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE=1
    -- OT_UPTIME=OFF --> OPENTHREAD_CONFIG_UPTIME_ENABLE=0
    -- OT_RCP_RESTORATION_MAX_COUNT=0
    -- Package Name: OPENTHREAD
    -- Setting default package version: 0759de4fc
    -- Package Version: 0759de4fc
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/scada/Documents/coprocessor_bootloader/build
    -- west build: building application
    [1/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pkcs5.c.obj
    [2/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedx509.dir/home/scada/ncs/v2.2.0/mbedtls/library/x509.c.obj
    [3/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedx509.dir/home/scada/ncs/v2.2.0/mbedtls/library/x509_create.c.obj
    [4/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedx509.dir/home/scada/ncs/v2.2.0/mbedtls/library/x509write_csr.c.obj
    [5/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedx509.dir/home/scada/ncs/v2.2.0/mbedtls/library/x509_crl.c.obj
    [6/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedx509.dir/home/scada/ncs/v2.2.0/mbedtls/library/x509_crt.c.obj
    [7/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedx509.dir/home/scada/ncs/v2.2.0/mbedtls/library/x509_csr.c.obj
    [8/437] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr), build: v3.2.99-ncs1
    [9/437] Preparing syscall dependency handling
    
    [10/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/asn1parse.c.obj
    [11/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/asn1write.c.obj
    [12/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/bignum.c.obj
    [13/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/nist_kw.c.obj
    [14/437] Creating directories for 'mcuboot_subimage'
    [15/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/base64.c.obj
    [16/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/oid.c.obj
    [17/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/padlock.c.obj
    [18/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/platform.c.obj
    [19/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/platform_util.c.obj
    [20/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/version.c.obj
    [21/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/home/scada/ncs/v2.2.0/mbedtls/library/constant_time.c.obj
    [22/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto.c.obj
    [23/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_aead.c.obj
    [24/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_cipher.c.obj
    [25/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_client.c.obj
    [26/437] No download step for 'mcuboot_subimage'
    [27/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_ecp.c.obj
    [28/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_hash.c.obj
    [29/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_rsa.c.obj
    [30/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_slot_management.c.obj
    [31/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_mac.c.obj
    [32/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/psa_crypto_storage.c.obj
    [33/437] Linking C static library modules/nrfxlib/nrfxlib/nrf_security/src/libmbedcrypto_base.a
    [34/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pem.c.obj
    [35/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/psa_crypto_driver_wrappers.c.obj
    [36/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pkcs12.c.obj
    [37/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pkparse.c.obj
    [38/437] No update step for 'mcuboot_subimage'
    [39/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pkwrite.c.obj
    [40/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/dhm.c.obj
    [41/437] Generating misc/generated/syscalls_subdirs.trigger
    [42/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/cipher.c.obj
    [43/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/cipher_wrap.c.obj
    [44/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/md.c.obj
    [45/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pk.c.obj
    [46/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/pk_wrap.c.obj
    [47/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/sha1.c.obj
    [48/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/sha256.c.obj
    [49/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/sha512.c.obj
    [50/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/ripemd160.c.obj
    [51/437] No patch step for 'mcuboot_subimage'
    [52/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/md5.c.obj
    [53/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/aesni.c.obj
    [54/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/aria.c.obj
    [55/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/camellia.c.obj
    [56/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/des.c.obj
    [57/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/cmac.c.obj
    [58/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/ccm.c.obj
    [59/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/chachapoly.c.obj
    [60/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/ecdh.c.obj
    [61/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/ecdsa.c.obj
    [62/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/ecp.c.obj
    [63/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/ecp_curves.c.obj
    [64/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/gcm.c.obj
    [65/437] Building C object modules/nrfxlib/nrfxlib/nrf_security/src/CMakeFiles/mbedcrypto.dir/home/scada/ncs/v2.2.0/mbedtls/library/hkdf.c.obj
    [66/437] No configure step for 'mcuboot_subimage'
    [66/437] Performing build step for 'mcuboot_subimage'
    [1/216] Preparing syscall dependency handling
    
    [2/216] Generating include/generated/version.h
    -- Zephyr version: 3.2.99 (/home/scada/ncs/v2.2.0/zephyr), build: v3.2.99-ncs1
    [3/216] Generating misc/generated/syscalls_subdirs.trigger
    [4/216] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
    [5/216] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
    [6/216] Generating include/generated/driver-validation.h
    [7/216] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h, include/generated/otype-to-size.h
    [8/216] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
    [9/216] Generating include/generated/offsets.h
    [10/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf.c.obj
    [11/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj
    [12/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/base64.c.obj
    [13/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32c_sw.c.obj
    [14/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [15/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [16/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [17/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [18/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [19/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [20/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [21/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [22/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [23/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [24/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [25/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [26/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [27/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [28/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [29/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/multi_heap.c.obj
    [30/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [31/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [32/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_nano.c.obj
    [33/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
    [34/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/assert.c.obj
    [35/216] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [36/216] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [37/216] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [38/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_minimal.c.obj
    [39/216] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [40/216] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [41/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_device.c.obj
    [42/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_transfer.c.obj
    [43/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_work_q.c.obj
    [44/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/usb_descriptor.c.obj
    [45/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/usb/device/class/cdc_acm.c.obj
    [46/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [47/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [48/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [49/216] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj
    [50/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_abort_zephyr.c.obj
    [51/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
    [52/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/boot_serial/src/serial_recovery_cbor.c.obj
    [53/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/boot_serial/src/zcbor_decode.c.obj
    [54/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/boot_serial/src/zcbor_encode.c.obj
    [55/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/boot_serial/src/zcbor_common.c.obj
    [56/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/zephyr/serial_adapter.c.obj
    [57/216] Building C object zephyr/CMakeFiles/zephyr.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/boot_serial/src/boot_serial.c.obj
    [58/216] Generating linker_zephyr_pre1.cmd
    [59/216] Generating linker_zephyr_pre0.cmd
    [60/216] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/__/__/misc/empty_file.c.obj
    [61/216] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
    [62/216] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [63/216] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [64/216] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [65/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [66/216] Generating zephyr/autogen-pubkey.c
    [67/216] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [68/216] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [69/216] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [70/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [71/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [72/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [73/216] Linking C static library zephyr/libzephyr.a
    [74/216] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [75/216] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [76/216] Linking C static library zephyr/arch/common/libisr_tables.a
    [77/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [78/216] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [79/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [80/216] Building C object CMakeFiles/app.dir/main.c.obj
    [81/216] Building C object CMakeFiles/app.dir/os.c.obj
    [82/216] Building C object CMakeFiles/app.dir/flash_map_extended.c.obj
    [83/216] Building C object CMakeFiles/app.dir/keys.c.obj
    [84/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/fault_injection_hardening.c.obj
    [85/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_validate.c.obj
    [86/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/tlv.c.obj
    [87/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/encrypted.c.obj
    [88/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_rsa.c.obj
    [89/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_ec256.c.obj
    [90/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/image_ed25519.c.obj
    [91/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/bootutil_misc.c.obj
    [92/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/ext/nrf/cc310_glue.c.obj
    [93/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/ext/mbedtls-asn1/src/platform_util.c.obj
    [94/216] Building C object CMakeFiles/app.dir/single_loader.c.obj
    [95/216] Building C object CMakeFiles/app.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/ext/mbedtls-asn1/src/asn1parse.c.obj
    [96/216] Building C object CMakeFiles/app.dir/zephyr/autogen-pubkey.c.obj
    [97/216] Building C object CMakeFiles/app.dir/nrf_cleanup.c.obj
    [98/216] Linking C static library zephyr/arch/common/libarch__common.a
    [99/216] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [100/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [101/216] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
    [102/216] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [103/216] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
    [104/216] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
    [105/216] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
    [106/216] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_core_mpu.c.obj
    [107/216] Building C object zephyr/arch/arch/arm/core/aarch32/mpu/CMakeFiles/arch__arm__core__aarch32__mpu.dir/arm_mpu.c.obj
    [108/216] Building C object zephyr/soc/arm/common/cortex_m/CMakeFiles/soc__arm__common__cortex_m.dir/arm_mpu_regions.c.obj
    [109/216] Building C object zephyr/soc/arm/nordic_nrf/nrf52/CMakeFiles/soc__arm__nordic_nrf__nrf52.dir/soc.c.obj
    [110/216] Linking C static library app/libapp.a
    [111/216] Building C object zephyr/drivers/usb/device/CMakeFiles/drivers__usb__device.dir/usb_dc_nrfx.c.obj
    [112/216] Building C object zephyr/drivers/clock_control/CMakeFiles/drivers__clock_control.dir/clock_control_nrf.c.obj
    [113/216] Building C object zephyr/drivers/gpio/CMakeFiles/drivers__gpio.dir/gpio_nrfx.c.obj
    [114/216] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_weak_impl.c.obj
    [115/216] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/soc_flash_nrf.c.obj
    [116/216] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
    [117/216] Linking C static library zephyr/drivers/serial/libdrivers__serial.a
    [118/216] Linking C static library zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a
    [119/216] Generating ../../../include/generated/libc/minimal/strerror_table.h
    [120/216] Building C object zephyr/drivers/hwinfo/CMakeFiles/drivers__hwinfo.dir/hwinfo_nrf.c.obj
    [121/216] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_page_layout.c.obj
    [122/216] Linking C static library zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a
    [123/216] Linking C static library zephyr/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a
    [124/216] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/sys_clock_init.c.obj
    [125/216] Linking C static library zephyr/drivers/usb/device/libdrivers__usb__device.a
    [126/216] Linking C static library zephyr/drivers/clock_control/libdrivers__clock_control.a
    [127/216] Linking C static library zephyr/drivers/gpio/libdrivers__gpio.a
    [128/216] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/common.c.obj
    [129/216] Building C object zephyr/drivers/timer/CMakeFiles/drivers__timer.dir/nrf_rtc_timer.c.obj
    [130/216] Building C object zephyr/drivers/pinctrl/CMakeFiles/drivers__pinctrl.dir/pinctrl_nrf.c.obj
    [131/216] Building C object modules/nrf/lib/fprotect/CMakeFiles/..__nrf__lib__fprotect.dir/fprotect_acl.c.obj
    [132/216] Building C object zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj
    [133/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/abort.c.obj
    [134/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
    [135/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
    [136/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
    [137/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoll.c.obj
    [138/216] Building C object modules/nrf/lib/fatal_error/CMakeFiles/..__nrf__lib__fatal_error.dir/fatal_error.c.obj
    [139/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoull.c.obj
    [140/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
    [141/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
    [142/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
    [143/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/qsort.c.obj
    [144/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
    [145/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
    [146/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
    [147/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
    [148/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strerror.c.obj
    [149/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
    [150/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
    [151/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
    [152/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrtf.c.obj
    [153/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/math/sqrt.c.obj
    [154/216] Linking C static library modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a
    [155/216] Linking C static library zephyr/drivers/timer/libdrivers__timer.a
    [156/216] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
    [157/216] Linking C static library zephyr/drivers/hwinfo/libdrivers__hwinfo.a
    [158/216] Linking C static library zephyr/drivers/flash/libdrivers__flash.a
    [159/216] Linking C static library zephyr/drivers/pinctrl/libdrivers__pinctrl.a
    [160/216] Linking C static library modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a
    [161/216] Building C object modules/nrf/drivers/hw_cc310/CMakeFiles/..__nrf__drivers__hw_cc310.dir/hw_cc310.c.obj
    [162/216] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir/home/scada/ncs/v2.2.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
    [163/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/mdk/system_nrf52840.c.obj
    [164/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [165/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/helpers/nrfx_flag32_allocator.c.obj
    [166/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [167/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [168/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [169/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_power.c.obj
    [170/216] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
    [171/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_ppi.c.obj
    [172/216] Building C object modules/segger/CMakeFiles/modules__segger.dir/home/scada/ncs/v2.2.0/modules/debug/segger/SEGGER/SEGGER_RTT.c.obj
    [173/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_usbd.c.obj
    [174/216] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/home/scada/ncs/v2.2.0/modules/hal/nordic/nrfx/drivers/src/nrfx_wdt.c.obj
    [175/216] Linking C static library modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a
    [176/216] Linking C static library modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a
    [177/216] Building C object modules/segger/CMakeFiles/modules__segger.dir/SEGGER_RTT_zephyr.c.obj
    [178/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [179/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [180/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [181/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [182/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [183/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [184/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [185/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [186/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [187/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [188/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [189/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [190/216] Linking C static library modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a
    [191/216] Linking C static library modules/segger/libmodules__segger.a
    [192/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [193/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [194/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [195/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [196/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [197/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [198/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [199/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [200/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [201/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [202/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [203/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [204/216] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [205/216] Linking C static library zephyr/kernel/libkernel.a
    [206/216] Linking C executable zephyr/zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map 
    : && ccache /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf  -fuse-ld=bfd  -Wl,-T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=/home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr/zephyr_pre0.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/mpu/libarch__arm__core__aarch32__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/soc/arm/common/cortex_m/libsoc__arm__common__cortex_m.a  zephyr/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a  zephyr/drivers/usb/device/libdrivers__usb__device.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/hwinfo/libdrivers__hwinfo.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/timer/libdrivers__timer.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/nrf/lib/fatal_error/lib..__nrf__lib__fatal_error.a  modules/nrf/drivers/hw_cc310/lib..__nrf__drivers__hw_cc310.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  modules/segger/libmodules__segger.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -L"/home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/thumb/v7e-m+fp/hard"  -L/home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr  -lgcc  zephyr/arch/common/libisr_tables.a  -no-pie  -mcpu=cortex-m4  -mthumb  -mabi=aapcs  -mfpu=fpv4-sp-d16  -mfloat-abi=hard  -mfp16-format=ieee  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  /home/scada/ncs/v2.2.0/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m4/hard-float/no-interrupts/libnrf_cc310_platform_0.9.16.a  /home/scada/ncs/v2.2.0/nrfxlib/crypto/nrf_cc310_bl/lib/cortex-m4/hard-float/no-interrupts/libnrf_cc310_bl_0.9.12.a && cd /home/scada/Documents/coprocessor_bootloader/build/mcuboot/zephyr && /home/scada/ncs/toolchains/v2.2.0/usr/local/lib/python3.8/site-packages/cmake/data/bin/cmake -E echo
    /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `text' will not fit in region `FLASH'
    /home/scada/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 10808 bytes
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    [89/437] cd /home/scada/Documents/coprocessor_bootloader/build/modules/openthread/build && /home/scada/ncs/toolchains/v2.2.0/usr/local/lib/python3.8/site-packages/cmake/data/bin/cmake -DLIST="OPENTHREAD_CONFIG_ASSERT_ENABLE=0;OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=0;OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE=1;OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=1;OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE=0;OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE=0;OPENTHREAD_CONFIG_CHILD_SUPERVISION_ENABLE=0;OPENTHREAD_CONFIG_COAP_API_ENABLE=0;OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE=0;OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE=0;OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE=0;OPENTHREAD_CONFIG_COMMISSIONER_ENABLE=1;OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=0;OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=0;OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=0;OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE=0;OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE=0;OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE=1;OPENTHREAD_CONFIG_DIAG_ENABLE=1;OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE=0;OPENTHREAD_CONFIG_DNS_DSO_ENABLE=0;OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE=0;OPENTHREAD_CONFIG_DUA_ENABLE=0;OPENTHREAD_CONFIG_ECDSA_ENABLE=0;OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE=0;OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE=0;OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE=0;OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE=0;OPENTHREAD_CONFIG_JOINER_ENABLE=0;OPENTHREAD_CONFIG_LEGACY_ENABLE=0;OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE=0;OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE=0;OPENTHREAD_CONFIG_LINK_RAW_ENABLE=0;OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=0;OPENTHREAD_CONFIG_MAC_FILTER_ENABLE=0;OPENTHREAD_CONFIG_MLE_LONG_ROUTES_ENABLE=0;OPENTHREAD_CONFIG_MLR_ENABLE=0;OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE=0;OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE=0;OPENTHREAD_CONFIG_NEIGHBOR_DISCOVERY_AGENT_ENABLE=0;OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE=0;OPENTHREAD_CONFIG_OTNS_ENABLE=0;OPENTHREAD_CONFIG_PING_SENDER_ENABLE=1;OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE=0;OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE=0;OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE=0;OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE=1;OPENTHREAD_SETTINGS_RAM=0;OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE=0;OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE=0;OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=0;OPENTHREAD_CONFIG_SRP_SERVER_ENABLE=0;OPENTHREAD_CONFIG_TIME_SYNC_ENABLE=0;OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=0;OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE=1;OPENTHREAD_CONFIG_UPTIME_ENABLE=0;OPENTHREAD_SPINEL_CONFIG_RCP_RESTORATION_MAX_COUNT=0;OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS=0;OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS_MANAGEMENT=0;PACKAGE_NAME="OPENTHREAD";OPENTHREAD_CONFIG_THREAD_VERSION=OT_THREAD_VERSION_1_3;OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1;KERNEL;__ZEPHYR__=1;_FORTIFY_SOURCE=1;_ANSI_SOURCE;__LINUX_ERRNO_EXTENSIONS__;USE_PARTITION_MANAGER=1;__PROGRAM_START;NRF52840_XXAA;NRF_802154_CCA_CORR_LIMIT_DEFAULT=2;NRF_802154_CCA_CORR_THRESHOLD_DEFAULT=45;NRF_802154_CCA_ED_THRESHOLD_DEFAULT=45;NRF_802154_CCA_MODE_DEFAULT=NRF_RADIO_CCA_MODE_ED;NRF_802154_USE_RAW_API=1;NRF_802154_PENDING_SHORT_ADDRESSES=16;NRF_802154_PENDING_EXTENDED_ADDRESSES=16;NRF_802154_RX_BUFFERS=16;NRF_802154_TX_STARTED_NOTIFY_ENABLED=1;NRF_802154_ACK_TIMEOUT_ENABLED=1;NRF_802154_ENCRYPTION_ENABLED=1;NRF_802154_SECURITY_WRITER_ENABLED=1;NRF_802154_IE_WRITER_ENABLED=1;NRF_802154_INTERNAL_RADIO_IRQ_HANDLING=0;NRF_802154_ECB_PRIORITY=-1;NRF_802154_SWI_PRIORITY=1;MBEDTLS_CONFIG_FILE="nrf-config.h";MBEDTLS_USER_CONFIG_FILE="nrf-config-user.h"" -P /home/scada/ncs/v2.2.0/modules/lib/openthread/etc/cmake/print.cmake
    OPENTHREAD_CONFIG_ASSERT_ENABLE=0
    OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE=0
    OPENTHREAD_CONFIG_BORDER_AGENT_ENABLE=1
    OPENTHREAD_CONFIG_BORDER_ROUTER_ENABLE=1
    OPENTHREAD_CONFIG_CHANNEL_MANAGER_ENABLE=0
    OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE=0
    OPENTHREAD_CONFIG_CHILD_SUPERVISION_ENABLE=0
    OPENTHREAD_CONFIG_COAP_API_ENABLE=0
    OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE=0
    OPENTHREAD_CONFIG_COAP_OBSERVE_API_ENABLE=0
    OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE=0
    OPENTHREAD_CONFIG_COMMISSIONER_ENABLE=1
    OPENTHREAD_CONFIG_MAC_CSL_AUTO_SYNC_ENABLE=0
    OPENTHREAD_CONFIG_MAC_CSL_DEBUG_ENABLE=0
    OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=0
    OPENTHREAD_CONFIG_DATASET_UPDATER_ENABLE=0
    OPENTHREAD_CONFIG_DHCP6_CLIENT_ENABLE=0
    OPENTHREAD_CONFIG_DHCP6_SERVER_ENABLE=1
    OPENTHREAD_CONFIG_DIAG_ENABLE=1
    OPENTHREAD_CONFIG_DNS_CLIENT_ENABLE=0
    OPENTHREAD_CONFIG_DNS_DSO_ENABLE=0
    OPENTHREAD_CONFIG_DNSSD_SERVER_ENABLE=0
    OPENTHREAD_CONFIG_DUA_ENABLE=0
    OPENTHREAD_CONFIG_ECDSA_ENABLE=0
    OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE=0
    OPENTHREAD_CONFIG_HISTORY_TRACKER_ENABLE=0
    OPENTHREAD_CONFIG_IP6_FRAGMENTATION_ENABLE=0
    OPENTHREAD_CONFIG_JAM_DETECTION_ENABLE=0
    OPENTHREAD_CONFIG_JOINER_ENABLE=0
    OPENTHREAD_CONFIG_LEGACY_ENABLE=0
    OPENTHREAD_CONFIG_MLE_LINK_METRICS_INITIATOR_ENABLE=0
    OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE=0
    OPENTHREAD_CONFIG_LINK_RAW_ENABLE=0
    OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=0
    OPENTHREAD_CONFIG_MAC_FILTER_ENABLE=0
    OPENTHREAD_CONFIG_MLE_LONG_ROUTES_ENABLE=0
    OPENTHREAD_CONFIG_MLR_ENABLE=0
    OPENTHREAD_CONFIG_TMF_NETWORK_DIAG_MTD_ENABLE=0
    OPENTHREAD_CONFIG_MULTIPLE_INSTANCE_ENABLE=0
    OPENTHREAD_CONFIG_NEIGHBOR_DISCOVERY_AGENT_ENABLE=0
    OPENTHREAD_CONFIG_NETDATA_PUBLISHER_ENABLE=0
    OPENTHREAD_CONFIG_OTNS_ENABLE=0
    OPENTHREAD_CONFIG_PING_SENDER_ENABLE=1
    OPENTHREAD_CONFIG_PLATFORM_NETIF_ENABLE=0
    OPENTHREAD_CONFIG_PLATFORM_UDP_ENABLE=0
    OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE=0
    OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE=1
    OPENTHREAD_SETTINGS_RAM=0
    OPENTHREAD_CONFIG_IP6_SLAAC_ENABLE=0
    OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE=0
    OPENTHREAD_CONFIG_SRP_CLIENT_ENABLE=0
    OPENTHREAD_CONFIG_SRP_SERVER_ENABLE=0
    OPENTHREAD_CONFIG_TIME_SYNC_ENABLE=0
    OPENTHREAD_CONFIG_RADIO_LINK_TREL_ENABLE=0
    OPENTHREAD_CONFIG_UDP_FORWARD_ENABLE=1
    OPENTHREAD_CONFIG_UPTIME_ENABLE=0
    OPENTHREAD_SPINEL_CONFIG_RCP_RESTORATION_MAX_COUNT=0
    OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS=0
    OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS_MANAGEMENT=0
    PACKAGE_NAME=OPENTHREAD
    OPENTHREAD_CONFIG_THREAD_VERSION=OT_THREAD_VERSION_1_3
    OPENTHREAD_CONFIG_NCP_HDLC_ENABLE=1
    KERNEL
    __ZEPHYR__=1
    _FORTIFY_SOURCE=1
    _ANSI_SOURCE
    __LINUX_ERRNO_EXTENSIONS__
    USE_PARTITION_MANAGER=1
    __PROGRAM_START
    NRF52840_XXAA
    NRF_802154_CCA_CORR_LIMIT_DEFAULT=2
    NRF_802154_CCA_CORR_THRESHOLD_DEFAULT=45
    NRF_802154_CCA_ED_THRESHOLD_DEFAULT=45
    NRF_802154_CCA_MODE_DEFAULT=NRF_RADIO_CCA_MODE_ED
    NRF_802154_USE_RAW_API=1
    NRF_802154_PENDING_SHORT_ADDRESSES=16
    NRF_802154_PENDING_EXTENDED_ADDRESSES=16
    NRF_802154_RX_BUFFERS=16
    NRF_802154_TX_STARTED_NOTIFY_ENABLED=1
    NRF_802154_ACK_TIMEOUT_ENABLED=1
    NRF_802154_ENCRYPTION_ENABLED=1
    NRF_802154_SECURITY_WRITER_ENABLED=1
    NRF_802154_IE_WRITER_ENABLED=1
    NRF_802154_INTERNAL_RADIO_IRQ_HANDLING=0
    NRF_802154_ECB_PRIORITY=-1
    NRF_802154_SWI_PRIORITY=1
    MBEDTLS_CONFIG_FILE=nrf-config.h
    MBEDTLS_USER_CONFIG_FILE=nrf-config-user.h
    [415/437] Linking CXX static library zephyr/kernel/libkernel.a
    FAILED: modules/mcuboot/mcuboot_subimage-prefix/src/mcuboot_subimage-stamp/mcuboot_subimage-build mcuboot/zephyr/zephyr.hex mcuboot/zephyr/zephyr.elf 
    cd /home/scada/Documents/coprocessor_bootloader/build/mcuboot && /home/scada/ncs/toolchains/v2.2.0/usr/local/lib/python3.8/site-packages/cmake/data/bin/cmake --build . --
    [417/437] Linking CXX executable zephyr/zephyr_pre0.elf
    
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /home/scada/ncs/toolchains/v2.2.0/usr/local/bin/cmake --build /home/scada/Documents/coprocessor_bootloader/build
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 

Related