NRF54L05 cannot OTA

Hi:

I want to use nrf54l05 for the OTA function of BLE. In the example of l9_e5_stol, nrf54L15 OTA can running, but NRF54L05 cannot run.

NCS 3.0.0.

The part I modified in this example

CONFIG_BT_DEBUG_NONE=y
CONFIG_BT_ASSERT=n
CONFIG_BT_DATA_LEN_UPDATE=n
CONFIG_BT_PHY_UPDATE=n
CONFIG_BT_GATT_CACHING=n
CONFIG_BT_GATT_SERVICE_CHANGED=n
CONFIG_LOG=n
CONFIG_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_SIZE_OPTIMIZATIONS=y

l9_e5_sol.rar

  • Hello,

    Could you please provide a bit more detail about the issue you're facing? Are there any logs or error messages that could help us understand the problem better? Also, are you using a development kit or a custom board?

    Kind regards,
    Abhijith

  • Hi:
    After programming this firmware, there are no logs, But the board is fine, programming other examples(peripheral_uart) can run!

  • Hello,

    By “firmware,” do you mean the solution from the Academy exercise or the sample with your updated prj.conf? Also, what build configuration are you using here, and is this on a development kit?

    Kind regards,
    Abhijith

  • Hi
    1,Using the plan in the Academy solution, nrf51L05 compilation failed and flash exceeded SIZE.
    2,The following content has been added to the example of Academy:

    CONFIG_BT_DEBUG_NONE=y
    CONFIG_BT_ASSERT=n
    CONFIG_BT_DATA_LEN_UPDATE=n
    CONFIG_BT_PHY_UPDATE=n
    CONFIG_BT_GATT_CACHING=n
    CONFIG_BT_GATT_SERVICE_CHANGED=n
    CONFIG_LOG=n
    CONFIG_CONSOLE=n
    CONFIG_SERIAL=n
    CONFIG_SIZE_OPTIMIZATIONS=y

    3, build configuration: nrf54l15dk/nrf54l05/cpuapp

  • Hello,

    I tried the Academy sample here to build for nrf54L15dk/nrf54L05/cpuapp, and I’m getting the following error (without your custom prj.conf). See my build log, are you getting the same error?

    Executing task: nRF Connect: Generate config nrf54l15dk/nrf54l05/cpuapp for c:\ncs\ncs-inter\l9\l9_e5_sol 
    
    Building l9_e5_sol
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/ncs-inter/l9/l9_e5_sol/build c:/ncs/ncs-inter/l9/l9_e5_sol --pristine --board nrf54l15dk/nrf54l05/cpuapp --sysbuild"
    
    -- 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.0/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l05/cpuapp
    Parsing c:/ncs/ncs-inter/l9/l9_e5_sol/Kconfig.sysbuild
    Loaded configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/_sysbuild/empty.conf'
    Merged configuration 'c:/ncs/ncs-inter/l9/l9_e5_sol/sysbuild.conf'
    Configuration saved to 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for mcuboot *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v3.0.0/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.0/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l05/cpuapp
    -- 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: C:/ncs/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp.dts
    -- Found devicetree overlay: C:/ncs/v3.0.0/bootloader/mcuboot/boot/zephyr/app.overlay
    -- Generated zephyr.dts: C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/zephyr.dts
    -- Generated pickled edt: C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/edt.pickle
    -- Generated zephyr.dts: C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/dts.cmake
    
    warning: NRF_RTC_TIMER_USER_CHAN_COUNT (defined at
    C:/ncs/v3.0.0/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.
    
    Parsing C:/ncs/v3.0.0/bootloader/mcuboot/boot/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp_defconfig'
    Merged configuration 'C:/ncs/v3.0.0/bootloader/mcuboot/boot/zephyr/prj.conf'
    Merged configuration 'C:/ncs/v3.0.0/bootloader/mcuboot/boot/zephyr/boards/nrf54l15dk_nrf54l05_cpuapp.conf'
    Merged configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/sysbuild/mcuboot.conf'
    Merged configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/.config.sysbuild'
    Configuration saved to 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot/zephyr/.config'
    Kconfig header saved to 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/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
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: False
    =========== End psa_crypto_library_config ===============
    MCUBoot bootloader key file: C:/ncs/v3.0.0/bootloader/mcuboot/root-ed25519.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: C:/ncs/ncs-inter/l9/l9_e5_sol/build/mcuboot
    -- 
       *******************************
       * Running CMake for l9_e5_sol *
       *******************************
    
    -- Application: C:/ncs/ncs-inter/l9/l9_e5_sol
    -- CMake version: 3.21.0
    Loading Zephyr default modules (Zephyr base).
    -- 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.0/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l05/cpuapp
    -- 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: C:/ncs/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp.dts
    -- Generated zephyr.dts: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/zephyr.dts
    -- Generated pickled edt: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/edt.pickle
    -- Generated zephyr.dts: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/dts.cmake
    Parsing C:/ncs/ncs-inter/l9/l9_e5_sol/Kconfig
    Loaded configuration 'C:/ncs/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp_defconfig'
    Merged configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/prj.conf'
    Merged configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/.config.sysbuild'
    Configuration saved to 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/.config'
    Kconfig header saved to 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/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
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_library_config ===============
    -- Including signing script: C:/ncs/v3.0.0/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at C:/ncs/v3.0.0/zephyr/CMakeLists.txt:2180 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol
    CMake Warning at C:/ncs/v3.0.0/nrf/cmake/sysbuild/partition_manager.cmake:121 (message):
      
    
            ---------------------------------------------------------------------
            --- WARNING: Using a bootloader without pm_static.yml.            ---
            --- There are cases where a deployed product can consist of       ---
            --- multiple images, and only a subset of these images can be     ---
            --- upgraded through a firmware update mechanism. In such cases,  ---
            --- the upgradable images must have partitions that are static    ---
            --- and are matching the partition map used by the bootloader     ---
            --- programmed onto the device.                                   ---
            ---------------------------------------------------------------------
            
    
    Call Stack (most recent call first):
      C:/ncs/v3.0.0/nrf/cmake/sysbuild/partition_manager.cmake:620 (partition_manager)
      C:/ncs/v3.0.0/nrf/sysbuild/CMakeLists.txt:779 (include)
      cmake/modules/sysbuild_extensions.cmake:583 (nrf_POST_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
      cmake/modules/sysbuild_images.cmake:46 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:21 (include)
      C:/ncs/v3.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      C:/ncs/v3.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      C:/ncs/v3.0.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/ncs-inter/l9/l9_e5_sol/build
    -- west build: building application
    [0/1] Re-running CMake...
    Loading Zephyr default modules (Zephyr base (cached)).
    -- Application: C:/ncs/ncs-inter/l9/l9_e5_sol
    -- CMake version: 3.21.0
    -- Cache files will be written to: C:/ncs/v3.0.0/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l05/cpuapp
    -- 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: C:/ncs/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp.dts
    -- Generated zephyr.dts: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/zephyr.dts
    -- Generated pickled edt: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/edt.pickle
    -- Generated zephyr.dts: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/dts.cmake
    Parsing C:/ncs/ncs-inter/l9/l9_e5_sol/Kconfig
    Loaded configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/.config'
    Merged configuration 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/.config.sysbuild'
    No change to configuration in 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/.config'
    No change to Kconfig header in 'C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/zephyr/include/generated/zephyr/autoconf.h'
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_library_config ===============
    -- Including signing script: C:/ncs/v3.0.0/nrf/cmake/sysbuild/image_signing.cmake
    CMake Warning at C:/ncs/v3.0.0/zephyr/CMakeLists.txt:2180 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol
    [6/385] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.0/zephyr), build: v4.0.99-ncs1
    [380/385] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/ncs/ncs-inter/l9/l9_e5_sol/build/l9_e5_sol/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 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf -L"c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main/nofp" -lc -lgcc && cmd.exe /C "cd /D C:\ncs\ncs-inter\l9\l9_e5_sol\build\l9_e5_sol\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 `rodata' 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 14600 bytes
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    [10/20] No configure step for 'mcuboot'
    FAILED: _sysbuild/sysbuild/images/l9_e5_sol-prefix/src/l9_e5_sol-stamp/l9_e5_sol-build C:/ncs/ncs-inter/l9/l9_e5_sol/build/_sysbuild/sysbuild/images/l9_e5_sol-prefix/src/l9_e5_sol-stamp/l9_e5_sol-build 
    cmd.exe /C "cd /D C:\ncs\ncs-inter\l9\l9_e5_sol\build\l9_e5_sol && 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 C:/ncs/ncs-inter/l9/l9_e5_sol/build
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

    If so, this is likely expected. The application is about 14.3 KB too large for its slot. The slot is small because MCUboot and the two default image slots take up most of the space. This is normal for smaller chips like the nRF54L05.

    You can check out the sample on using external flash, where the secondary slot is placed in external flash. If you want to test this sample, you might want to use nrf54L15dk/nrf54L15/cpuapp instead, as it gives you a larger application region.

    Kind Regards,

    Abhijith

Related