Custom board derived from nrf54l15dk failing to build

Currently using NCS v2.9.1 nrf54l15/cpuapp custom board derived from nrf54l15dk, customization to de added after solving the issue below.

The project is successfully compiled and executed on nrf54l15dk, using nrf54l15dk as a target board but it fails if custom board is the target due to the issue below.
under_dev.zip

The project is attached so you can build for both targets, nrf54l15dk and customboard for nrf54l15/cpuapp.

Thank you very much in advance for your support.

Parents
  • Hello,

    ''The project is successfully compiled and executed on nrf54l15dk, using nrf54l15dk as a target board but it fails if custom board is the target due to the issue below'' 

    Can you please send me the error log of custom baord?

  • this is the log for both builds, nrf54l15dk and customboard.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    Building under_dev
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/nordic/workspace/under_dev/build_1 c:/nordic/workspace/under_dev --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/nordic/workspace/under_dev"
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig
    Loaded configuration 'C:/nordic/workspace/under_dev/build_1/_sysbuild/empty.conf'
    Merged configuration 'c:/nordic/workspace/under_dev/sysbuild.conf'
    Configuration saved to 'C:/nordic/workspace/under_dev/build_1/zephyr/.config'
    Kconfig header saved to 'C:/nordic/workspace/under_dev/build_1/_sysbuild/autoconf.h'
    --
    *****************************
    * Running CMake for mcuboot *
    *****************************
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Reply
  • this is the log for both builds, nrf54l15dk and customboard.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    Building under_dev
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/nordic/workspace/under_dev/build_1 c:/nordic/workspace/under_dev --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=c:/nordic/workspace/under_dev"
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
    -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig
    Loaded configuration 'C:/nordic/workspace/under_dev/build_1/_sysbuild/empty.conf'
    Merged configuration 'c:/nordic/workspace/under_dev/sysbuild.conf'
    Configuration saved to 'C:/nordic/workspace/under_dev/build_1/zephyr/.config'
    Kconfig header saved to 'C:/nordic/workspace/under_dev/build_1/_sysbuild/autoconf.h'
    --
    *****************************
    * Running CMake for mcuboot *
    *****************************
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Children
  • It looks like the error occurred when compiling mcuboot:

    CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:952 (message):
    No SOURCES given to Zephyr library: drivers__spi

    You might want to try adding the file sysbuild/mcuboot.conf, and putting the following in it:

    Fullscreen
    1
    2
    3
    CONFIG_SPI=y
    CONFIG_SPI_NOR=y
    CONFIG_MULTITHREADING=y
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • adding or changing these settings did not resolve the issue. 

  • Can you upload a zip with your current project, and a screenshot of the build configuration? If there is any confidential code, I can make the ticket private.

  • Please, note that the project and log is already uploaded in the ticket.