Thingy 53 cant build example app

Hello! I followed the steps from the instalation tutorial of the thingy 53 and i cant build the application for the blinky example.

LOG:

Executing task: nRF Connect: Build configuration blinky_1/build for thingy53/nrf5340/cpuapp/ns

Building blinky_1
west build --build-dir c:/Users/knser/blinky_1/build c:/Users/knser/blinky_1 --pristine --board thingy53/nrf5340/cpuapp/ns -- -DCONFIG_DEBUG_THREAD_INFO=y

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/dcbdc366a1/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.12") found components: Interpreter
-- Cache files will be written to: C:/ncs/v3.4.0/zephyr/.cache
-- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
-- Board: thingy53, qualifiers: nrf5340/cpuapp/ns
Parsing C:/ncs/v3.4.0/zephyr/share/sysbuild/Kconfig
Loaded configuration 'C:/Users/knser/blinky_1/build/_sysbuild/empty.conf'
Merged configuration 'C:/Users/knser/blinky_1/build/_sysbuild/empty.conf'
Configuration saved to 'C:/Users/knser/blinky_1/build/zephyr/.config'
Kconfig header saved to 'C:/Users/knser/blinky_1/build/_sysbuild/autoconf.h'
-- Sysbuild assigned MCUboot image IDs:
* Application: 0
* Network: 1
--
************************************
* Running CMake for empty_net_core *
************************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v3.4.0/nrf/samples/basic/empty
-- CMake version: 4.2.1
-- Found Python3: C:/ncs/toolchains/dcbdc366a1/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.12") found components: Interpreter
-- Cache files will be written to: C:/ncs/v3.4.0/zephyr/.cache
-- Zephyr version: 4.4.0 (C:/ncs/v3.4.0/zephyr)
-- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
-- Board: thingy53, qualifiers: nrf5340/cpunet
-- Found host-tools: zephyr 1.0.1 (C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk)
-- Found toolchain: zephyr 1.0.1 (C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/dcbdc366a1/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v3.4.0/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpunet.dts
-- Found devicetree overlay: C:/ncs/v3.4.0/nrf/sysbuild/overlays/s0-partition.overlay
devicetree error: /chosen: undefined node label 's0_partition'
CMake Error at C:/ncs/v3.4.0/zephyr/cmake/modules/dts.cmake:327 (execute_process):
execute_process failed command indexes:

1: "Child return code: 1"

Call Stack (most recent call first):
C:/ncs/v3.4.0/zephyr/cmake/modules/dts.cmake:435 (dts_edt_pickle)
C:/ncs/v3.4.0/zephyr/cmake/modules/zephyr_default.cmake:133 (dts_init)
C:/ncs/v3.4.0/zephyr/cmake/modules/zephyr_default.cmake:133 (cmake_language)
C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:9 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:727 (message):
CMake configure failed for Zephyr project: empty_net_core

Location: C:/ncs/v3.4.0/nrf/samples/basic/empty
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
C:/ncs/v3.4.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\dcbdc366a1\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/dcbdc366a1/opt/bin/python.exe '-Bc:\Users\knser\blinky_1\build' -GNinja -DBOARD=thingy53/nrf5340/cpuapp/ns -DCONFIG_DEBUG_THREAD_INFO=y '-SC:\ncs\v3.4.0\zephyr\share\sysbuild'

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

  • Hi Bolat, 

    Try building with "-DSB_CONFIG_SECURE_BOOT_NETCORE=n" and building for thingy53/nrf5340/cpuapp. 

    Regards,
    Amanda H.

  • Hi again! Still doesn't work...

    * Executing task: nRF Connect: Build configuration blinky_1/build_1 for thingy53/nrf5340/cpuapp

    Building blinky_1
    west build --build-dir c:/Users/knser/blinky_1/build_1 c:/Users/knser/blinky_1 --pristine --board thingy53/nrf5340/cpuapp -- -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE="prj.conf"

    -- west build: generating a build system
    -- Found Python3: C:/ncs/toolchains/dcbdc366a1/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.12") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v3.4.0/zephyr/.cache
    -- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Board: thingy53, qualifiers: nrf5340/cpuapp
    Parsing C:/ncs/v3.4.0/zephyr/share/sysbuild/Kconfig
    Loaded configuration 'C:/Users/knser/blinky_1/build_1/_sysbuild/empty.conf'
    Merged configuration 'C:/Users/knser/blinky_1/build_1/_sysbuild/empty.conf'
    Configuration saved to 'C:/Users/knser/blinky_1/build_1/zephyr/.config'
    Kconfig header saved to 'C:/Users/knser/blinky_1/build_1/_sysbuild/autoconf.h'
    -- Sysbuild assigned MCUboot image IDs:
    * Application: 0
    * Network: 1
    --
    ************************************
    * Running CMake for empty_net_core *
    ************************************

    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v3.4.0/nrf/samples/basic/empty
    -- CMake version: 4.2.1
    -- Found Python3: C:/ncs/toolchains/dcbdc366a1/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.12") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v3.4.0/zephyr/.cache
    -- Zephyr version: 4.4.0 (C:/ncs/v3.4.0/zephyr)
    -- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
    -- Board: thingy53, qualifiers: nrf5340/cpunet
    -- Found host-tools: zephyr 1.0.1 (C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk)
    -- Found toolchain: zephyr 1.0.1 (C:/ncs/toolchains/dcbdc366a1/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/dcbdc366a1/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found BOARD.dts: C:/ncs/v3.4.0/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpunet.dts
    -- Found devicetree overlay: C:/ncs/v3.4.0/nrf/sysbuild/overlays/s0-partition.overlay
    devicetree error: /chosen: undefined node label 's0_partition'
    CMake Error at C:/ncs/v3.4.0/zephyr/cmake/modules/dts.cmake:327 (execute_process):
    execute_process failed command indexes:

    1: "Child return code: 1"

    Call Stack (most recent call first):
    C:/ncs/v3.4.0/zephyr/cmake/modules/dts.cmake:435 (dts_edt_pickle)
    C:/ncs/v3.4.0/zephyr/cmake/modules/zephyr_default.cmake:133 (dts_init)
    C:/ncs/v3.4.0/zephyr/cmake/modules/zephyr_default.cmake:133 (cmake_language)
    C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
    C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
    CMakeLists.txt:9 (find_package)


    -- Configuring incomplete, errors occurred!
    CMake Error at cmake/modules/sysbuild_extensions.cmake:727 (message):
    CMake configure failed for Zephyr project: empty_net_core

    Location: C:/ncs/v3.4.0/nrf/samples/basic/empty
    Call Stack (most recent call first):
    cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
    cmake/modules/sysbuild_default.cmake:21 (include)
    C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
    C:/ncs/v3.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
    C:/ncs/v3.4.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
    template/CMakeLists.txt:10 (find_package)


    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\dcbdc366a1\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/dcbdc366a1/opt/bin/python.exe '-Bc:\Users\knser\blinky_1\build_1' -GNinja -DBOARD=thingy53/nrf5340/cpuapp -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE=prj.conf '-SC:\ncs\v3.4.0\zephyr\share\sysbuild'

    * The terminal process terminated with exit code: 1.

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

  • Your figure and command seem to indicate it didn't build with "-DSB_CONFIG_SECURE_BOOT_NETCORE=n".

Related