FOTA with minimal application size

Hi,

currently I'm migrating my application from SDK5 to NCS and I'm facing a problem with the application size for a BLE update. In the previous SDK5 there was the softdevice and the application. When performing a dual slot update, I just had to transfer the application part, which was around 65 kB. For the nrf51822 with 256 kB of flash it was okay, but we were nearly at the limit of flash usage. 

We then switched to the nrf52833 with 512 kB of flash and had plenty of space left on the chip. But then we migrated to the connect SDK. My current application for this SDK has a size of 225 kB, which I already reduced from over 300 kB with some CONFIG variables. The problem is now, that I can't do a dual bank update anymore, because there's no more space left on the chip for the application and bootloader. So we doubled the size of the flash and are using the newest SDK to have more flexibility for upcoming features and are now more limited as with the old nrf51 because we can't do updates anymore.

Is it possible to split the application from the Zephyr core, so that I just have to reserve space for my actual changing application like in the SDK5? Or is there another way to reduce the space of the application that has to be transferred for an update? 

Best regards,

Christian

Parents
  • Hello,

    Yes, you can integrate an external flash, which allows you to place the mcuboot_secondary partition on it. See this section of the Academy course.

    Kind Regards,

    Abhijith

  • Hi,

    maybe there's something wrong with the configuration. 

    flash_primary   0x00006000 - 0x0007ffff
    Address	    End	        Partition	        Size	    Size (hex)
    0x00006000	0x00042bff	app	                243.00 kB	0x3cc00
    0x00000000	0x00005dff	mcuboot	            23.50 kB	0x5e00
    0x00005e00	0x00005fff	mcuboot_pad	        512 bytes	0x200
    0x00006000	0x00042bff	mcuboot_primary	    243.00 kB	0x3cc00
    0x00006000	0x00042bff	mcuboot_primary_app	243.00 kB	0x3cc00
    0x00006000	0x00042bff	└ app	            243.00 kB	0x3cc00
    0x00006000	0x00042bff	└ mcuboot_primary	243.00 kB	0x3cc00
    0x00042c00	0x0007f7ff	mcuboot_secondary	243.00 kB	0x3cc00
    0x0007f800	0x0007ffff	nvs_storage	        2.00 kB	    0x800
    sram_primary    0x20000000 - 0x2001feff
    Address	    End	        Partition	    Size	    Size (hex)
    0x20000000	0x2001feff	sram_primary	127.75 kB	0x1ff00

    This is my partition table that I created with a pm_static.yml file. According to the memory report my application has a size of 205 kB, which should fit in the primary partition, right?

    If I compile my application with the flag SB_CONFIG_BOOTLOADER_MCUBOOT=y I get the error message, that the bootloader is 24 kB too big for the partition. But in another example I saw, that the bootloader has just a size of 21 kB. Maybe there's something not properly configured. The complete logs are here:

    Executing task: nRF Connect: Build [pristine]: test_app/hw3_button_3_0_1_minimal (active) 
    
    Building test_app
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir d:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal d:/Projekte/nrf_connect_sdk/apps/test_app --pristine --board [email protected]/nrf52833 --sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=d:/Projekte/nrf_connect_sdk/apps/test_app/prj_minimal.conf -DSNIPPET=bt-ll-sw-split -DBOARD_ROOT=d:\Projekte\nrf_connect_sdk"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    Parsing d:/Projekte/nrf_connect_sdk/apps/test_app/Kconfig.sysbuild
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/empty.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/empty.conf'
    Merged configuration 'd:/Projekte/nrf_connect_sdk/apps/test_app/sysbuild.conf'
    Configuration saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/zephyr/.config'
    Kconfig header saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app.dts
    -- Found devicetree overlay: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.overlay
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/zephyr.dts
    -- Generated pickled edt: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/edt.pickle
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/dts.cmake
    
    warning: MBEDTLS_CFG_FILE (defined at C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig:426,
    C:/ncs/v3.0.1/nrf\subsys\nrf_security/Kconfig:67, C:/ncs/v3.0.1/zephyr/modules/mbedtls/Kconfig:59,
    modules\mbedtls\Kconfig:59) was assigned the value 'mcuboot-mbedtls-cfg.h' but got the value
    'config-tls-generic.h'. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_CFG_FILE and/or look up
    MBEDTLS_CFG_FILE 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: PM (defined at C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32bg22\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32mg21\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32mg24\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32zg23\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/renesas/smartbond\da1469x\Kconfig.defconfig:39,
    C:/ncs/v3.0.1/zephyr/soc/realtek/ec\rts5912\Kconfig.defconfig.rts5912:10,
    C:/ncs/v3.0.1/zephyr/soc/nordic\nrf54h\Kconfig.defconfig.nrf54h20_cpurad:14, subsys/pm/Kconfig:13)
    was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    (SOC_SERIES_EFR32BG22 || SOC_SERIES_EFR32MG21 || SOC_SERIES_EFR32MG24 || SOC_SERIES_EFR32ZG23 ||
    (SOC_SERIES_DA1469X && SOC_FAMILY_RENESAS_SMARTBOND) || (REALTEK_RTS5912_RTMR && SOC_RTS5912 &&
    SOC_SERIES_RTS5912 && SOC_FAMILY_REALTEK_EC) || (SOC_NRF54H20_CPURAD && SOC_SERIES_NRF54HX &&
    SOC_FAMILY_NORDIC_NRF) || (SYS_CLOCK_EXISTS && HAS_PM)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PM and/or look up PM 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: HW_STACK_PROTECTION (defined at
    C:/ncs/v3.0.1/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:284) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &&
    SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
    HW_STACK_PROTECTION 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: NRF_RTC_TIMER_USER_CHAN_COUNT (defined at
    C:/ncs/v3.0.1/zephyr/soc/nordic\nrf53\Kconfig.sync_rtc:24, drivers/timer/Kconfig.nrf_rtc:20) was
    assigned the value '0' but got the value ''. Check these unsatisfied dependencies: ((NRF53_SYNC_RTC
    && SOC_SERIES_NRF53X && SOC_FAMILY_NORDIC_NRF) || (NRF_RTC_TIMER && SYS_CLOCK_EXISTS)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT and/or look
    up NRF_RTC_TIMER_USER_CHAN_COUNT 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: PRINTK (defined at subsys/debug/Kconfig:220) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PRINTK and/or look up PRINTK 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: LOG_DEFAULT_LEVEL (defined at subsys/logging\Kconfig.filtering:13) was assigned the value
    '0' but got the value ''. Check these unsatisfied dependencies: LOG (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_DEFAULT_LEVEL and/or look up
    LOG_DEFAULT_LEVEL 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: The choice symbol MCUBOOT_LOG_LEVEL_INF (defined at
    subsys/logging/Kconfig.template.log_config:17) was selected (set =y), but no symbol ended up as the
    choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_LOG_LEVEL_INF
    and/or look up MCUBOOT_LOG_LEVEL_INF 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: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging\Kconfig.mode:29) was selected
    (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_MODE_MINIMAL and/or look up
    LOG_MODE_MINIMAL 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: Deprecated symbol DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM is enabled.
    
    
    warning: Experimental symbol BT_LL_SW_SPLIT is enabled.
    
    Parsing C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_defconfig'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0_defconfig'
    Merged configuration 'C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/sysbuild/mcuboot.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/.config'
    Kconfig header saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v3.0.1/nrf/lib/flash_patch/CMakeLists.txt:8 (message):
      
    
            ----------------------------------------------------------
            --- WARNING: To maintain the integrity of secure boot, ---
            --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
            ----------------------------------------------------------
    
    
    MCUBoot bootloader key file: C:/ncs/v3.0.1/bootloader/mcuboot/root-rsa-2048.pem
    CMake Warning at CMakeLists.txt:393 (message):
      WARNING: Using default MCUboot signing key file, this file is for debug use
      only and is not secure!
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot
    -- 
       *********************************
       * Running CMake for test_app *
       *********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: D:/Projekte/nrf_connect_sdk/apps/test_app
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app.dts
    -- Found devicetree overlay: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.overlay
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated pickled edt: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/edt.pickle
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/dts.cmake
    
    warning: HW_STACK_PROTECTION (defined at
    C:/ncs/v3.0.1/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:284) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &&
    SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
    HW_STACK_PROTECTION 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: LOG_BUFFER_SIZE (defined at C:/ncs/v3.0.1/nrf\subsys/net/openthread/Kconfig.defconfig:51,
    subsys/logging\Kconfig.processing:122) was assigned the value '4096' but got the value ''. Check
    these unsatisfied dependencies: (NET_L2_OPENTHREAD || (LOG_MODE_DEFERRED && !LOG_FRONTEND_ONLY &&
    !LOG_MODE_MINIMAL && LOG)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BUFFER_SIZE and/or look up
    LOG_BUFFER_SIZE 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: MBEDTLS_HEAP_SIZE (defined at
    C:/ncs/v3.0.1/nrf\subsys/net/openthread/Kconfig.defconfig:144, C:/ncs/v3.0.1/nrf/Kconfig.nrf:136,
    C:/ncs/v3.0.1/nrf\subsys\bluetooth\mesh/Kconfig:29,
    C:/ncs/v3.0.1/nrf\subsys\dfu\fmfu_fdev/Kconfig:22, C:/ncs/v3.0.1/nrf\subsys\nrf_security/Kconfig:99,
    C:/ncs/v3.0.1/zephyr/modules/mbedtls/Kconfig:199, modules\mbedtls\Kconfig:199) was assigned the
    value '8192' but got the value ''. Check these unsatisfied dependencies: (NET_L2_OPENTHREAD ||
    (SOC_SERIES_BSIM_NRFXX && ENTROPY_GENERATOR) || (BT_MESH_USES_MBEDTLS_PSA && BT_MESH && BT) ||
    FMFU_FDEV || (MBEDTLS_ENABLE_HEAP && NRF_SECURITY) || (MBEDTLS_ENABLE_HEAP && MBEDTLS) ||
    (MBEDTLS_ENABLE_HEAP && MBEDTLS && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HEAP_SIZE and/or look up
    MBEDTLS_HEAP_SIZE 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: UPDATEABLE_IMAGE_NUMBER (defined at
    C:/ncs/v3.0.1/nrf\samples\common\mcumgr_bt_ota_dfu/Kconfig:99, subsys/dfu/Kconfig:96) was assigned
    the value '1' but got the value ''. Check these unsatisfied dependencies:
    (((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) && SOC_SERIES_NRF53X &&
    NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT && IMG_MANAGER)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER and/or look up
    UPDATEABLE_IMAGE_NUMBER 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: BT_CTLR_SDC_PERIPHERAL_COUNT (defined at
    C:/ncs/v3.0.1/nrf\subsys\bluetooth\controller/Kconfig:138) was assigned the value '3' but got the
    value ''. Check these unsatisfied dependencies: BT_LL_SOFTDEVICE (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT and/or look up
    BT_CTLR_SDC_PERIPHERAL_COUNT 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: BT_SETTINGS_CCC_LAZY_LOADING (defined at
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/Kconfig:221, subsys/bluetooth\host/Kconfig:221) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((BT_CONN &&
    BT_SETTINGS && BT_HCI_HOST && BT_RPC_STACK) || (BT_CONN && BT_SETTINGS && BT_HCI_HOST && BT_HCI &&
    BT)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_SETTINGS_CCC_LAZY_LOADING
    and/or look up BT_SETTINGS_CCC_LAZY_LOADING 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: MBEDTLS_PSA_CRYPTO_C (defined at C:/ncs/v3.0.1/nrf\subsys\nrf_security\Kconfig.psa:7,
    C:/ncs/v3.0.1/nrf\subsys\suit\platform/Kconfig:61, C:/ncs/v3.0.1/zephyr/modules/mbedtls\Kconfig.tls-
    generic:601, modules\mbedtls\Kconfig.tls-generic:601) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PSA_CRYPTO_C and/or look
    up MBEDTLS_PSA_CRYPTO_C 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: SEGGER_RTT_BUFFER_SIZE_UP (defined at C:/ncs/v3.0.1/zephyr/modules/segger/Kconfig:36,
    modules\segger\Kconfig:36) was assigned the value '4096' but got the value ''. Check these
    unsatisfied dependencies: (USE_SEGGER_RTT || (USE_SEGGER_RTT && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SEGGER_RTT_BUFFER_SIZE_UP and/or look up
    SEGGER_RTT_BUFFER_SIZE_UP 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: PRINTK (defined at subsys/debug/Kconfig:220) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PRINTK and/or look up PRINTK 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: EARLY_CONSOLE (defined at subsys/debug/Kconfig:239) was assigned the value 'n' but got the
    value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_EARLY_CONSOLE and/or look up
    EARLY_CONSOLE 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: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:55) was assigned the value
    '0x2000' but got the value ''. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n),
    IMG_MANAGER (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE and/or look up
    MCUBOOT_UPDATE_FOOTER_SIZE 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: LOG_BACKEND_FORMAT_TIMESTAMP (defined at subsys/logging\Kconfig.formatting:172) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP (=n), LOG (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP and/or look up
    LOG_BACKEND_FORMAT_TIMESTAMP 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: MCUMGR (defined at subsys/mgmt/mcumgr/Kconfig:5) was assigned the value 'y' but got the
    value 'n'. Check these unsatisfied dependencies: ZCBOR (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUMGR and/or look up MCUMGR 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: MCUMGR_TRANSPORT_BT (defined at subsys/mgmt/mcumgr\transport\Kconfig.bluetooth:12) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: MCUMGR (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUMGR_TRANSPORT_BT and/or look up
    MCUMGR_TRANSPORT_BT 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: USB_DEVICE_PID (defined at subsys/usb/device/Kconfig:25) was assigned the value '0x9876'
    but got the value ''. Check these unsatisfied dependencies: USB_DEVICE_STACK (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_PID and/or look up
    USB_DEVICE_PID 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: USB_DEVICE_PRODUCT (defined at subsys/usb/device/Kconfig:37) was assigned the value
    'test_app' but got the value ''. Check these unsatisfied dependencies: USB_DEVICE_STACK (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_PRODUCT and/or look up
    USB_DEVICE_PRODUCT 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: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging\Kconfig.mode:29) was selected
    (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_MODE_MINIMAL and/or look up
    LOG_MODE_MINIMAL 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: Deprecated symbol BT_CTLR is enabled.
    
    
    warning: Experimental symbol BT_LL_SW_SPLIT is enabled.
    
    Parsing D:/Projekte/nrf_connect_sdk/apps/test_app/Kconfig
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_defconfig'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0_defconfig'
    Merged configuration 'd:/Projekte/nrf_connect_sdk/apps/test_app/prj_minimal.conf'
    Merged configuration 'C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config.sysbuild'
    Configuration saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config'
    Kconfig header saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Including signing script: C:/ncs/v3.0.1/nrf/cmake/sysbuild/image_signing.cmake
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app
    -- Found partition manager static configuration : D:/Projekte/nrf_connect_sdk/apps/test_app/pm_static.yml
    Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined.
    Partition 'nvs_storage' is not included in the dynamic resolving since it is statically defined.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal
    -- west build: building application
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: D:/Projekte/nrf_connect_sdk/apps/test_app
    -- CMake version: 3.21.0
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found BOARD.dts: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app.dts
    -- Found devicetree overlay: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.overlay
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated pickled edt: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/edt.pickle
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/dts.cmake
    
    warning: Deprecated symbol BT_CTLR is enabled.
    
    
    warning: Experimental symbol BT_LL_SW_SPLIT is enabled.
    
    Parsing D:/Projekte/nrf_connect_sdk/apps/test_app/Kconfig
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config.sysbuild'
    No change to configuration in 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config'
    No change to Kconfig header in 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/autoconf.h'
    -- Including signing script: C:/ncs/v3.0.1/nrf/cmake/sysbuild/image_signing.cmake
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app
    [6/409] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr), build: v4.0.99-ncs1-1
    [65/409] Building C object CMakeFiles/app.dir/src/main.c.obj
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c: In function 'start_pwm':
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:2453:29: warning: unused variable 'config' [-Wunused-variable]
     2453 |     nrfx_pwm_config_t const config =
          |                             ^~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c: In function 'do_button_action':
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:5781:38: warning: operation on 'm_selected_color' may be undefined [-Wsequence-point]
     5781 |                     m_selected_color = (++m_selected_color) % 4;
          |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c: At top level:
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:2453:29: warning: 'config' defined but not used [-Wunused-const-variable=]
     2453 |     nrfx_pwm_config_t const config =
          |                             ^~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:6110:13: warning: 'get_locking_state' defined but not used [-Wunused-function]
     6110 | static void get_locking_state(void)
          |             ^~~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:3334:13: warning: 'security_changed' defined but not used [-Wunused-function]
     3334 | static void security_changed(struct bt_conn *conn, bt_security_t level,
          |             ^~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:2342:13: warning: 'pwm_handler' defined but not used [-Wunused-function]
     2342 | static void pwm_handler(nrfx_pwm_evt_type_t event_type, void * p_context)
          |             ^~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:632:33: warning: 'm_update_testmode' defined but not used [-Wunused-variable]
      632 | static bool                     m_update_testmode = false;                                  // Flag für das Speichern des Testmode-Zustands
          |                                 ^~~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:497:33: warning: 'm_fading_is_active' defined but not used [-Wunused-variable]
      497 | static bool                     m_fading_is_active = false;
          |                                 ^~~~~~~~~~~~~~~~~~
    [409/409] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      186524 B       243 KB     74.96%
                 RAM:       41628 B     130816 B     31.82%
         RetainedMem:          0 GB        256 B      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.elf for board: test_app
    image.py: sign the payload
    image.py: sign the payload
    [6/310] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr), build: v4.0.99-ncs1-1
    [303/310] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    C:/ncs/v3.0.1/zephyr/kernel/poll.c: In function 'signal_triggered_work':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:615:17: warning: implicit declaration of function 'z_abort_timeout'; did you mean 'z_abort_thread_timeout'? [-Wimplicit-function-declaration]
      615 |                 z_abort_timeout(&twork->timeout);
          |                 ^~~~~~~~~~~~~~~
          |                 z_abort_thread_timeout
    C:/ncs/v3.0.1/zephyr/kernel/poll.c: In function 'k_work_poll_init':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:661:9: warning: implicit declaration of function 'z_init_timeout' [-Wimplicit-function-declaration]
      661 |         z_init_timeout(&work->timeout);
          |         ^~~~~~~~~~~~~~
    C:/ncs/v3.0.1/zephyr/kernel/poll.c: In function 'k_work_poll_submit_to_queue':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:735:25: warning: implicit declaration of function 'z_add_timeout' [-Wimplicit-function-declaration]
      735 |                         z_add_timeout(&work->timeout,
          |                         ^~~~~~~~~~~~~
    [305/310] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/zephyr_pre0.map 
    cmd.exe /C "cd . && C:\ncs\toolchains\0b393f9e1b\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/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/libarch__arm__core.a  zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/lib/net_buf/liblib__net_buf.a  zephyr/soc/soc/nrf52833/libsoc__nordic.a  zephyr/subsys/random/libsubsys__random.a  zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a  zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a  zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a  zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  modules/mbedtls/libmodules__mbedtls.a  modules/hal_nordic/modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -LD:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr  zephyr/arch/common/libisr_tables.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  -mcpu=cortex-m4  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -fuse-ld=bfd  -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  -Wl,-no-pie -L"c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m/nofp"  -lgcc && cmd.exe /C "cd /D D:\Projekte\nrf_connect_sdk\apps\test_app\hw3_button_3_0_1_minimal\mcuboot\zephyr && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe -E true""
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `text' will not fit in region `FLASH'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 24948 bytes
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(soc_flash_nrf_ticker.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(soc_flash_nrf_ticker.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(soc_flash_nrf_ticker.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(thread_abort.c.obj): in function `z_impl_k_thread_abort':
    C:/ncs/v3.0.1/zephyr/arch/arm/core/cortex_m/thread_abort.c:53: undefined reference to `z_thread_abort'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/lib/net_buf/liblib__net_buf.a(buf.c.obj): in function `net_buf_destroy':
    C:/ncs/v3.0.1/zephyr/include/zephyr/net_buf.h:1465: undefined reference to `k_queue_prepend'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/lib/net_buf/liblib__net_buf.a(buf.c.obj): in function `k_queue_get':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(buf.c.obj): in function `net_buf_destroy':
    C:/ncs/v3.0.1/zephyr/include/zephyr/net_buf.h:1465: undefined reference to `k_queue_prepend'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(buf.c.obj): in function `buf_rx_freed_notify':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/buf.c:32: undefined reference to `k_sched_lock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/buf.c:38: undefined reference to `k_sched_unlock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `bt_tx_irq_raise':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/hci_core.c:4749: undefined reference to `k_work_submit'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_queue_get':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `bt_hci_cmd_send_sync':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/hci_core.c:404: undefined reference to `k_queue_append'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sched_current_thread_query':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:215: undefined reference to `z_impl_k_sched_current_thread_query'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_queue_peek_head':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:716: undefined reference to `z_impl_k_queue_peek_head'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `bt_hci_cmd_send_sync':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/hci_core.c:448: undefined reference to `k_sys_work_q'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_get':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_yield':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:183: undefined reference to `z_impl_k_yield'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `prio_recv_thread':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:411: undefined reference to `k_queue_append'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:616: undefined reference to `z_impl_k_queue_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_create':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:84: undefined reference to `z_impl_k_thread_create'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_name_set':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:430: undefined reference to `z_impl_k_thread_name_set'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_create':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:84: undefined reference to `z_impl_k_thread_create'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_name_set':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:430: undefined reference to `z_impl_k_thread_name_set'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `cmd_handle':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:760: undefined reference to `k_queue_append'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `hci_recv_fifo_reset':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:293: undefined reference to `k_sched_lock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_cancel_wait':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:633: undefined reference to `z_impl_k_queue_cancel_wait'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:616: undefined reference to `z_impl_k_queue_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `hci_recv_fifo_reset':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:296: undefined reference to `k_sched_unlock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `lll_adv_reset':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_adv.c:237: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_reset':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1127: undefined reference to `z_impl_k_sem_reset'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_reset':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1127: undefined reference to `z_impl_k_sem_reset'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/kernel/libkernel.a(poll.c.obj): in function `signal_poller':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:275: undefined reference to `z_unpend_thread'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.1/zephyr/kernel/poll.c:283: undefined reference to `z_ready_thread'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/kernel/libkernel.a(poll.c.obj): in function `signal_triggered_work':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:615: undefined reference to `z_abort_timeout'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.1/zephyr/kernel/poll.c:617: undefined reference to `z_work_submit_to_queue'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/kernel/libkernel.a(poll.c.obj): in function `z_impl_k_poll_signal_raise':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:548: undefined reference to `z_reschedule'
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    [15/20] Generating ../dfu_application.zip
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build 
    cmd.exe /C "cd /D D:\Projekte\nrf_connect_sdk\apps\test_app\hw3_button_3_0_1_minimal\mcuboot && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe --build ."
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' --build D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

    Here are the configuration files for the application and mcuboot: 0876.prj_minimal.conf   1385.mcuboot.conf

    Best regards,

    Christian

Reply
  • Hi,

    maybe there's something wrong with the configuration. 

    flash_primary   0x00006000 - 0x0007ffff
    Address	    End	        Partition	        Size	    Size (hex)
    0x00006000	0x00042bff	app	                243.00 kB	0x3cc00
    0x00000000	0x00005dff	mcuboot	            23.50 kB	0x5e00
    0x00005e00	0x00005fff	mcuboot_pad	        512 bytes	0x200
    0x00006000	0x00042bff	mcuboot_primary	    243.00 kB	0x3cc00
    0x00006000	0x00042bff	mcuboot_primary_app	243.00 kB	0x3cc00
    0x00006000	0x00042bff	└ app	            243.00 kB	0x3cc00
    0x00006000	0x00042bff	└ mcuboot_primary	243.00 kB	0x3cc00
    0x00042c00	0x0007f7ff	mcuboot_secondary	243.00 kB	0x3cc00
    0x0007f800	0x0007ffff	nvs_storage	        2.00 kB	    0x800
    sram_primary    0x20000000 - 0x2001feff
    Address	    End	        Partition	    Size	    Size (hex)
    0x20000000	0x2001feff	sram_primary	127.75 kB	0x1ff00

    This is my partition table that I created with a pm_static.yml file. According to the memory report my application has a size of 205 kB, which should fit in the primary partition, right?

    If I compile my application with the flag SB_CONFIG_BOOTLOADER_MCUBOOT=y I get the error message, that the bootloader is 24 kB too big for the partition. But in another example I saw, that the bootloader has just a size of 21 kB. Maybe there's something not properly configured. The complete logs are here:

    Executing task: nRF Connect: Build [pristine]: test_app/hw3_button_3_0_1_minimal (active) 
    
    Building test_app
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir d:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal d:/Projekte/nrf_connect_sdk/apps/test_app --pristine --board [email protected]/nrf52833 --sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=d:/Projekte/nrf_connect_sdk/apps/test_app/prj_minimal.conf -DSNIPPET=bt-ll-sw-split -DBOARD_ROOT=d:\Projekte\nrf_connect_sdk"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    Parsing d:/Projekte/nrf_connect_sdk/apps/test_app/Kconfig.sysbuild
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/empty.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/empty.conf'
    Merged configuration 'd:/Projekte/nrf_connect_sdk/apps/test_app/sysbuild.conf'
    Configuration saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/zephyr/.config'
    Kconfig header saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app.dts
    -- Found devicetree overlay: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.overlay
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/zephyr.dts
    -- Generated pickled edt: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/edt.pickle
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/dts.cmake
    
    warning: MBEDTLS_CFG_FILE (defined at C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig:426,
    C:/ncs/v3.0.1/nrf\subsys\nrf_security/Kconfig:67, C:/ncs/v3.0.1/zephyr/modules/mbedtls/Kconfig:59,
    modules\mbedtls\Kconfig:59) was assigned the value 'mcuboot-mbedtls-cfg.h' but got the value
    'config-tls-generic.h'. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_CFG_FILE and/or look up
    MBEDTLS_CFG_FILE 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: PM (defined at C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32bg22\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32mg21\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32mg24\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/silabs\silabs_s2\efr32zg23\Kconfig.defconfig:10,
    C:/ncs/v3.0.1/zephyr/soc/renesas/smartbond\da1469x\Kconfig.defconfig:39,
    C:/ncs/v3.0.1/zephyr/soc/realtek/ec\rts5912\Kconfig.defconfig.rts5912:10,
    C:/ncs/v3.0.1/zephyr/soc/nordic\nrf54h\Kconfig.defconfig.nrf54h20_cpurad:14, subsys/pm/Kconfig:13)
    was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    (SOC_SERIES_EFR32BG22 || SOC_SERIES_EFR32MG21 || SOC_SERIES_EFR32MG24 || SOC_SERIES_EFR32ZG23 ||
    (SOC_SERIES_DA1469X && SOC_FAMILY_RENESAS_SMARTBOND) || (REALTEK_RTS5912_RTMR && SOC_RTS5912 &&
    SOC_SERIES_RTS5912 && SOC_FAMILY_REALTEK_EC) || (SOC_NRF54H20_CPURAD && SOC_SERIES_NRF54HX &&
    SOC_FAMILY_NORDIC_NRF) || (SYS_CLOCK_EXISTS && HAS_PM)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PM and/or look up PM 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: HW_STACK_PROTECTION (defined at
    C:/ncs/v3.0.1/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:284) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &&
    SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
    HW_STACK_PROTECTION 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: NRF_RTC_TIMER_USER_CHAN_COUNT (defined at
    C:/ncs/v3.0.1/zephyr/soc/nordic\nrf53\Kconfig.sync_rtc:24, drivers/timer/Kconfig.nrf_rtc:20) was
    assigned the value '0' but got the value ''. Check these unsatisfied dependencies: ((NRF53_SYNC_RTC
    && SOC_SERIES_NRF53X && SOC_FAMILY_NORDIC_NRF) || (NRF_RTC_TIMER && SYS_CLOCK_EXISTS)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRF_RTC_TIMER_USER_CHAN_COUNT and/or look
    up NRF_RTC_TIMER_USER_CHAN_COUNT 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: PRINTK (defined at subsys/debug/Kconfig:220) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PRINTK and/or look up PRINTK 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: LOG_DEFAULT_LEVEL (defined at subsys/logging\Kconfig.filtering:13) was assigned the value
    '0' but got the value ''. Check these unsatisfied dependencies: LOG (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_DEFAULT_LEVEL and/or look up
    LOG_DEFAULT_LEVEL 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: The choice symbol MCUBOOT_LOG_LEVEL_INF (defined at
    subsys/logging/Kconfig.template.log_config:17) was selected (set =y), but no symbol ended up as the
    choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_LOG_LEVEL_INF
    and/or look up MCUBOOT_LOG_LEVEL_INF 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: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging\Kconfig.mode:29) was selected
    (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_MODE_MINIMAL and/or look up
    LOG_MODE_MINIMAL 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: Deprecated symbol DEPRECATED_UART_NRFX_UARTE_LEGACY_SHIM is enabled.
    
    
    warning: Experimental symbol BT_LL_SW_SPLIT is enabled.
    
    Parsing C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_defconfig'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0_defconfig'
    Merged configuration 'C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/sysbuild/mcuboot.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/.config'
    Kconfig header saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    CMake Warning at C:/ncs/v3.0.1/nrf/lib/flash_patch/CMakeLists.txt:8 (message):
      
    
            ----------------------------------------------------------
            --- WARNING: To maintain the integrity of secure boot, ---
            --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
            ----------------------------------------------------------
    
    
    MCUBoot bootloader key file: C:/ncs/v3.0.1/bootloader/mcuboot/root-rsa-2048.pem
    CMake Warning at CMakeLists.txt:393 (message):
      WARNING: Using default MCUboot signing key file, this file is for debug use
      only and is not secure!
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot
    -- 
       *********************************
       * Running CMake for test_app *
       *********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: D:/Projekte/nrf_connect_sdk/apps/test_app
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app.dts
    -- Found devicetree overlay: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.overlay
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated pickled edt: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/edt.pickle
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/dts.cmake
    
    warning: HW_STACK_PROTECTION (defined at
    C:/ncs/v3.0.1/zephyr/soc/nxp/s32\s32k1\Kconfig.defconfig:20, arch/Kconfig:284) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((SOC_SERIES_S32K1 &&
    SOC_FAMILY_NXP_S32) || ARCH_HAS_STACK_PROTECTION) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_HW_STACK_PROTECTION and/or look up
    HW_STACK_PROTECTION 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: LOG_BUFFER_SIZE (defined at C:/ncs/v3.0.1/nrf\subsys/net/openthread/Kconfig.defconfig:51,
    subsys/logging\Kconfig.processing:122) was assigned the value '4096' but got the value ''. Check
    these unsatisfied dependencies: (NET_L2_OPENTHREAD || (LOG_MODE_DEFERRED && !LOG_FRONTEND_ONLY &&
    !LOG_MODE_MINIMAL && LOG)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BUFFER_SIZE and/or look up
    LOG_BUFFER_SIZE 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: MBEDTLS_HEAP_SIZE (defined at
    C:/ncs/v3.0.1/nrf\subsys/net/openthread/Kconfig.defconfig:144, C:/ncs/v3.0.1/nrf/Kconfig.nrf:136,
    C:/ncs/v3.0.1/nrf\subsys\bluetooth\mesh/Kconfig:29,
    C:/ncs/v3.0.1/nrf\subsys\dfu\fmfu_fdev/Kconfig:22, C:/ncs/v3.0.1/nrf\subsys\nrf_security/Kconfig:99,
    C:/ncs/v3.0.1/zephyr/modules/mbedtls/Kconfig:199, modules\mbedtls\Kconfig:199) was assigned the
    value '8192' but got the value ''. Check these unsatisfied dependencies: (NET_L2_OPENTHREAD ||
    (SOC_SERIES_BSIM_NRFXX && ENTROPY_GENERATOR) || (BT_MESH_USES_MBEDTLS_PSA && BT_MESH && BT) ||
    FMFU_FDEV || (MBEDTLS_ENABLE_HEAP && NRF_SECURITY) || (MBEDTLS_ENABLE_HEAP && MBEDTLS) ||
    (MBEDTLS_ENABLE_HEAP && MBEDTLS && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HEAP_SIZE and/or look up
    MBEDTLS_HEAP_SIZE 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: UPDATEABLE_IMAGE_NUMBER (defined at
    C:/ncs/v3.0.1/nrf\samples\common\mcumgr_bt_ota_dfu/Kconfig:99, subsys/dfu/Kconfig:96) was assigned
    the value '1' but got the value ''. Check these unsatisfied dependencies:
    (((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) && SOC_SERIES_NRF53X &&
    NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT && IMG_MANAGER)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER and/or look up
    UPDATEABLE_IMAGE_NUMBER 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: BT_CTLR_SDC_PERIPHERAL_COUNT (defined at
    C:/ncs/v3.0.1/nrf\subsys\bluetooth\controller/Kconfig:138) was assigned the value '3' but got the
    value ''. Check these unsatisfied dependencies: BT_LL_SOFTDEVICE (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_SDC_PERIPHERAL_COUNT and/or look up
    BT_CTLR_SDC_PERIPHERAL_COUNT 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: BT_SETTINGS_CCC_LAZY_LOADING (defined at
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/Kconfig:221, subsys/bluetooth\host/Kconfig:221) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((BT_CONN &&
    BT_SETTINGS && BT_HCI_HOST && BT_RPC_STACK) || (BT_CONN && BT_SETTINGS && BT_HCI_HOST && BT_HCI &&
    BT)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_SETTINGS_CCC_LAZY_LOADING
    and/or look up BT_SETTINGS_CCC_LAZY_LOADING 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: MBEDTLS_PSA_CRYPTO_C (defined at C:/ncs/v3.0.1/nrf\subsys\nrf_security\Kconfig.psa:7,
    C:/ncs/v3.0.1/nrf\subsys\suit\platform/Kconfig:61, C:/ncs/v3.0.1/zephyr/modules/mbedtls\Kconfig.tls-
    generic:601, modules\mbedtls\Kconfig.tls-generic:601) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PSA_CRYPTO_C and/or look
    up MBEDTLS_PSA_CRYPTO_C 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: SEGGER_RTT_BUFFER_SIZE_UP (defined at C:/ncs/v3.0.1/zephyr/modules/segger/Kconfig:36,
    modules\segger\Kconfig:36) was assigned the value '4096' but got the value ''. Check these
    unsatisfied dependencies: (USE_SEGGER_RTT || (USE_SEGGER_RTT && 0)) (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SEGGER_RTT_BUFFER_SIZE_UP and/or look up
    SEGGER_RTT_BUFFER_SIZE_UP 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: PRINTK (defined at subsys/debug/Kconfig:220) was assigned the value 'n' but got the value
    'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PRINTK and/or look up PRINTK 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: EARLY_CONSOLE (defined at subsys/debug/Kconfig:239) was assigned the value 'n' but got the
    value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_EARLY_CONSOLE and/or look up
    EARLY_CONSOLE 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: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:55) was assigned the value
    '0x2000' but got the value ''. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n),
    IMG_MANAGER (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE and/or look up
    MCUBOOT_UPDATE_FOOTER_SIZE 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: LOG_BACKEND_FORMAT_TIMESTAMP (defined at subsys/logging\Kconfig.formatting:172) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies:
    LOG_BACKEND_SUPPORTS_FORMAT_TIMESTAMP (=n), LOG (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BACKEND_FORMAT_TIMESTAMP and/or look up
    LOG_BACKEND_FORMAT_TIMESTAMP 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: MCUMGR (defined at subsys/mgmt/mcumgr/Kconfig:5) was assigned the value 'y' but got the
    value 'n'. Check these unsatisfied dependencies: ZCBOR (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUMGR and/or look up MCUMGR 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: MCUMGR_TRANSPORT_BT (defined at subsys/mgmt/mcumgr\transport\Kconfig.bluetooth:12) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: MCUMGR (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUMGR_TRANSPORT_BT and/or look up
    MCUMGR_TRANSPORT_BT 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: USB_DEVICE_PID (defined at subsys/usb/device/Kconfig:25) was assigned the value '0x9876'
    but got the value ''. Check these unsatisfied dependencies: USB_DEVICE_STACK (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_PID and/or look up
    USB_DEVICE_PID 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: USB_DEVICE_PRODUCT (defined at subsys/usb/device/Kconfig:37) was assigned the value
    'test_app' but got the value ''. Check these unsatisfied dependencies: USB_DEVICE_STACK (=n). See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_PRODUCT and/or look up
    USB_DEVICE_PRODUCT 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: The choice symbol LOG_MODE_MINIMAL (defined at subsys/logging\Kconfig.mode:29) was selected
    (set =y), but no symbol ended up as the choice selection. See
    http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_MODE_MINIMAL and/or look up
    LOG_MODE_MINIMAL 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: Deprecated symbol BT_CTLR is enabled.
    
    
    warning: Experimental symbol BT_LL_SW_SPLIT is enabled.
    
    Parsing D:/Projekte/nrf_connect_sdk/apps/test_app/Kconfig
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_defconfig'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0_defconfig'
    Merged configuration 'd:/Projekte/nrf_connect_sdk/apps/test_app/prj_minimal.conf'
    Merged configuration 'C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.conf'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config.sysbuild'
    Configuration saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config'
    Kconfig header saved to 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    -- Including signing script: C:/ncs/v3.0.1/nrf/cmake/sysbuild/image_signing.cmake
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app
    -- Found partition manager static configuration : D:/Projekte/nrf_connect_sdk/apps/test_app/pm_static.yml
    Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined.
    Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined.
    Partition 'nvs_storage' is not included in the dynamic resolving since it is statically defined.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal
    -- west build: building application
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: D:/Projekte/nrf_connect_sdk/apps/test_app
    -- CMake version: 3.21.0
    -- Cache files will be written to: C:/ncs/v3.0.1/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: test_app, Revision: 2.0.0, qualifiers: nrf52833
    -- Snippet(s): bt-ll-sw-split
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found BOARD.dts: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app.dts
    -- Found devicetree overlay: D:/Projekte/nrf_connect_sdk/boards/vendor/test_app/test_app_2_0_0.overlay
    -- Found devicetree overlay: C:/ncs/v3.0.1/zephyr/snippets/bt-ll-sw-split/bt-ll-sw-split.overlay
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated pickled edt: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/edt.pickle
    -- Generated zephyr.dts: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/dts.cmake
    
    warning: Deprecated symbol BT_CTLR is enabled.
    
    
    warning: Experimental symbol BT_LL_SW_SPLIT is enabled.
    
    Parsing D:/Projekte/nrf_connect_sdk/apps/test_app/Kconfig
    Loaded configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config'
    Merged configuration 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config.sysbuild'
    No change to configuration in 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/.config'
    No change to Kconfig header in 'D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/include/generated/zephyr/autoconf.h'
    -- Including signing script: C:/ncs/v3.0.1/nrf/cmake/sysbuild/image_signing.cmake
    -- Configuring done
    -- Generating done
    -- Build files have been written to: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app
    [6/409] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr), build: v4.0.99-ncs1-1
    [65/409] Building C object CMakeFiles/app.dir/src/main.c.obj
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c: In function 'start_pwm':
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:2453:29: warning: unused variable 'config' [-Wunused-variable]
     2453 |     nrfx_pwm_config_t const config =
          |                             ^~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c: In function 'do_button_action':
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:5781:38: warning: operation on 'm_selected_color' may be undefined [-Wsequence-point]
     5781 |                     m_selected_color = (++m_selected_color) % 4;
          |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c: At top level:
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:2453:29: warning: 'config' defined but not used [-Wunused-const-variable=]
     2453 |     nrfx_pwm_config_t const config =
          |                             ^~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:6110:13: warning: 'get_locking_state' defined but not used [-Wunused-function]
     6110 | static void get_locking_state(void)
          |             ^~~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:3334:13: warning: 'security_changed' defined but not used [-Wunused-function]
     3334 | static void security_changed(struct bt_conn *conn, bt_security_t level,
          |             ^~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:2342:13: warning: 'pwm_handler' defined but not used [-Wunused-function]
     2342 | static void pwm_handler(nrfx_pwm_evt_type_t event_type, void * p_context)
          |             ^~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:632:33: warning: 'm_update_testmode' defined but not used [-Wunused-variable]
      632 | static bool                     m_update_testmode = false;                                  // Flag für das Speichern des Testmode-Zustands
          |                                 ^~~~~~~~~~~~~~~~~
    D:/Projekte/nrf_connect_sdk/apps/test_app/src/main.c:497:33: warning: 'm_fading_is_active' defined but not used [-Wunused-variable]
      497 | static bool                     m_fading_is_active = false;
          |                                 ^~~~~~~~~~~~~~~~~~
    [409/409] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      186524 B       243 KB     74.96%
                 RAM:       41628 B     130816 B     31.82%
         RetainedMem:          0 GB        256 B      0.00%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/test_app/zephyr/zephyr.elf for board: test_app
    image.py: sign the payload
    image.py: sign the payload
    [6/310] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.1/zephyr), build: v4.0.99-ncs1-1
    [303/310] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    C:/ncs/v3.0.1/zephyr/kernel/poll.c: In function 'signal_triggered_work':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:615:17: warning: implicit declaration of function 'z_abort_timeout'; did you mean 'z_abort_thread_timeout'? [-Wimplicit-function-declaration]
      615 |                 z_abort_timeout(&twork->timeout);
          |                 ^~~~~~~~~~~~~~~
          |                 z_abort_thread_timeout
    C:/ncs/v3.0.1/zephyr/kernel/poll.c: In function 'k_work_poll_init':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:661:9: warning: implicit declaration of function 'z_init_timeout' [-Wimplicit-function-declaration]
      661 |         z_init_timeout(&work->timeout);
          |         ^~~~~~~~~~~~~~
    C:/ncs/v3.0.1/zephyr/kernel/poll.c: In function 'k_work_poll_submit_to_queue':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:735:25: warning: implicit declaration of function 'z_add_timeout' [-Wimplicit-function-declaration]
      735 |                         z_add_timeout(&work->timeout,
          |                         ^~~~~~~~~~~~~
    [305/310] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/zephyr_pre0.map 
    cmd.exe /C "cd . && C:\ncs\toolchains\0b393f9e1b\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe  -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -T  zephyr/linker_zephyr_pre0.cmd  -Wl,-Map=D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/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/libarch__arm__core.a  zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/libc/common/liblib__libc__common.a  zephyr/lib/net_buf/liblib__net_buf.a  zephyr/soc/soc/nrf52833/libsoc__nordic.a  zephyr/subsys/random/libsubsys__random.a  zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a  zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a  zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a  zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a  zephyr/drivers/clock_control/libdrivers__clock_control.a  zephyr/drivers/entropy/libdrivers__entropy.a  zephyr/drivers/flash/libdrivers__flash.a  zephyr/drivers/pinctrl/libdrivers__pinctrl.a  modules/nrf/lib/fprotect/lib..__nrf__lib__fprotect.a  modules/mcuboot/boot/bootutil/zephyr/libmcuboot_util.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  modules/mbedtls/libmodules__mbedtls.a  modules/hal_nordic/modules/hal_nordic/nrfx/libmodules__hal_nordic__nrfx.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -LD:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr  zephyr/arch/common/libisr_tables.a  modules/mbedtls/libmbedTLSBase.a  modules/mbedtls/libmbedTLSCrypto.a  modules/mbedtls/libmbedTLSX509.a  -mcpu=cortex-m4  -mthumb  -mabi=aapcs  -mfp16-format=ieee  -fuse-ld=bfd  -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  -Wl,-no-pie -L"c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m/nofp"  -lgcc && cmd.exe /C "cd /D D:\Projekte\nrf_connect_sdk\apps\test_app\hw3_button_3_0_1_minimal\mcuboot\zephyr && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe -E true""
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `text' will not fit in region `FLASH'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 24948 bytes
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(soc_flash_nrf_ticker.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(soc_flash_nrf_ticker.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(soc_flash_nrf_ticker.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/arch/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(thread_abort.c.obj): in function `z_impl_k_thread_abort':
    C:/ncs/v3.0.1/zephyr/arch/arm/core/cortex_m/thread_abort.c:53: undefined reference to `z_thread_abort'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/lib/net_buf/liblib__net_buf.a(buf.c.obj): in function `net_buf_destroy':
    C:/ncs/v3.0.1/zephyr/include/zephyr/net_buf.h:1465: undefined reference to `k_queue_prepend'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/lib/net_buf/liblib__net_buf.a(buf.c.obj): in function `k_queue_get':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(buf.c.obj): in function `net_buf_destroy':
    C:/ncs/v3.0.1/zephyr/include/zephyr/net_buf.h:1465: undefined reference to `k_queue_prepend'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(buf.c.obj): in function `buf_rx_freed_notify':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/buf.c:32: undefined reference to `k_sched_lock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/buf.c:38: undefined reference to `k_sched_unlock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `bt_tx_irq_raise':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/hci_core.c:4749: undefined reference to `k_work_submit'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_queue_get':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `bt_hci_cmd_send_sync':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/hci_core.c:404: undefined reference to `k_queue_append'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sched_current_thread_query':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:215: undefined reference to `z_impl_k_sched_current_thread_query'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_queue_peek_head':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:716: undefined reference to `z_impl_k_queue_peek_head'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a(hci_core.c.obj): in function `bt_hci_cmd_send_sync':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/host/hci_core.c:448: undefined reference to `k_sys_work_q'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(ull.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_get':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:684: undefined reference to `z_impl_k_queue_get'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_yield':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:183: undefined reference to `z_impl_k_yield'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `prio_recv_thread':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:411: undefined reference to `k_queue_append'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:616: undefined reference to `z_impl_k_queue_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_create':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:84: undefined reference to `z_impl_k_thread_create'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_name_set':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:430: undefined reference to `z_impl_k_thread_name_set'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_create':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:84: undefined reference to `z_impl_k_thread_create'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_thread_name_set':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:430: undefined reference to `z_impl_k_thread_name_set'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `cmd_handle':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:760: undefined reference to `k_queue_append'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `hci_recv_fifo_reset':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:293: undefined reference to `k_sched_lock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_cancel_wait':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:633: undefined reference to `z_impl_k_queue_cancel_wait'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `k_queue_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:616: undefined reference to `z_impl_k_queue_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/libsubsys__bluetooth__controller.a(hci_driver.c.obj): in function `hci_recv_fifo_reset':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:296: undefined reference to `k_sched_unlock'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `lll_adv_reset':
    C:/ncs/v3.0.1/zephyr/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_adv.c:237: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_reset':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1127: undefined reference to `z_impl_k_sem_reset'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_reset':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1127: undefined reference to `z_impl_k_sem_reset'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/bluetooth/controller/ll_sw/nordic/libsubsys__bluetooth__controller__ll_sw__nordic.a(lll_adv.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_take':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1093: undefined reference to `z_impl_k_sem_take'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_init':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1076: undefined reference to `z_impl_k_sem_init'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_nrf5.c.obj): in function `k_sem_give':
    D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/mcuboot/zephyr/include/generated/zephyr/syscalls/kernel.h:1110: undefined reference to `z_impl_k_sem_give'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/kernel/libkernel.a(poll.c.obj): in function `signal_poller':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:275: undefined reference to `z_unpend_thread'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.1/zephyr/kernel/poll.c:283: undefined reference to `z_ready_thread'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/kernel/libkernel.a(poll.c.obj): in function `signal_triggered_work':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:615: undefined reference to `z_abort_timeout'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.1/zephyr/kernel/poll.c:617: undefined reference to `z_work_submit_to_queue'
    c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/kernel/libkernel.a(poll.c.obj): in function `z_impl_k_poll_signal_raise':
    C:/ncs/v3.0.1/zephyr/kernel/poll.c:548: undefined reference to `z_reschedule'
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    [15/20] Generating ../dfu_application.zip
    FAILED: _sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal/_sysbuild/sysbuild/images/bootloader/mcuboot-prefix/src/mcuboot-stamp/mcuboot-build 
    cmd.exe /C "cd /D D:\Projekte\nrf_connect_sdk\apps\test_app\hw3_button_3_0_1_minimal\mcuboot && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe --build ."
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' --build D:/Projekte/nrf_connect_sdk/apps/test_app/hw3_button_3_0_1_minimal
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

    Here are the configuration files for the application and mcuboot: 0876.prj_minimal.conf   1385.mcuboot.conf

    Best regards,

    Christian

Children
  • UPDATE:

    It seems to be an issue with the mcuboot and the snippet bt-ll-sw-split which I added to the build configuration. If I remove this snippet, the application grows from 200 to 244 kB, but the mcuboot shrinks to about 21 kB and I could flash it to the nrf. But then the application partition is 99% full, which doesn't allow the addition of any further features. 

    Why is the mcuboot getting so big, when I enable this snippet and how can I reduce the code size of the bootloader?

    Kind regards,

    Christian 

Related