No board named 'nrf54l15pdk_nrf54l15_cpuapp' found.

Hello,

I followed Getting started guide for the nRF54L15 PDK (Getting started with the nRF54L15 PDK (nordicsemi.com))  and bumped into a problem when i try to build "hello world" app.  I get the No board named 'nrf54l15pdk_nrf54l15_cpuapp' found. message. 

I have started with SDK version 2.6.9, but I have also  tried also SDK v2.7.0 and get exactly the same error.  The only difference from the guide is that it is written to checkout 2.6.99-cs1 but such branch doesn't exist. SO I have tried  "v2.6.99-cs2-branch" for the SDK v 2.6.9 and v2.7-brnach for SDK v 2.7.0.

The interesting thing is that I can see the nrf54l15pdk_nrf54l15_cpuapp_ns board if I run "west boards" on the "v2.6.99-cs2-branch" branch but no "nrf54l15...." boards on v2.7-branch".

I'll appreciate any hints.

Best Regards,
Anton


Parents Reply
  • west topdir returns C:/ncs/v2.7.0 for me.





    Thanks for pointing out the zephyr version, I installed it for 6 months ago for working with another board and thought that when I checkout git brancvh or tag than  Zephyr in ncs folder is used. I guess I need to updated my installation.

    But how do you get the "v2.7.0" tag? my git tag -n command returns only following tags that start with v2.7.0 

    v2.7.0-ncs1 sdk-zephyr v2.7.0-ncs1
    v2.7.0-ncs1-rc1 sdk-zephyr v2.7.0-ncs1-rc1
    v2.7.0-ncs1-rc2 sdk-zephyr v2.7.0-ncs1-rc2
    v2.7.0-ncs1-snapshot1 sdk-zephyr v2.7.0-ncs1-snapshot1
    v2.7.0-ncs1-snapshot2 sdk-zephyr 2.7.0-ncs1-snapshot2



Children
  • In addition to running 'west topdir', please run 

    $ west config --local -l
    to list your current workspace configuration (or post the C:/ncs/v2.7.0/.west/config file). I want to make sure it sets the zephyr base to C:/ncs/v2.7.0/zephyr and not the other zephyr repo you had in c:/zephyr/

    The reason you are not finding the "v2.7.0" tag is that you are not in the 'nrf' repo, but the 'zephyr' repo. The 'nrf' west manifest selects the "v3.6.99-ncs2" tag for Zephyr.  So the zephyr revision should become updated to "v3.6.99-ncs2" after you run 

    $ west update
    .

    Here are the results from when I run these commands here if you want to compare:

    OptiPlex-7070:~/ncs/v2.7.0/nrf$ git fetch
    OptiPlex-7070:~/ncs/v2.7.0/nrf$ git tag -n | grep "v2.7.0"
    v2.7.0          sdk-nrf v2.7.0
    v2.7.0-rc1      sdk-nrf 2.7.0-rc1
    v2.7.0-rc2      sdk-nrf 2.7.0-rc2
    v2.7.0-rc3      sdk-nrf 2.7.0-rc3
    OptiPlex-7070:~/ncs/v2.7.0/nrf$ git checkout v2.7
    v2.7.0        v2.7.0-rc1    v2.7.0-rc2    v2.7.0-rc3    v2.7.99-cs1   v2.7.99-cs2   v2.7-branch   
    OptiPlex-7070:~/ncs/v2.7.0/nrf$ git checkout v2.7.0
    M	applications/ipc_radio/prj.conf
    M	applications/ipc_radio/src/main.c
    M	cmake/sysbuild/b0_mcuboot_signing.cmake
    M	samples/bootloader/src/main.c
    HEAD is now at 5cb85570ca version: Update to 2.7.0
    OptiPlex-7070:~/ncs/v2.7.0/nrf$ west update
    === updating zephyr (zephyr):
    HEAD is now at 100befc70c7 [nrf fromtree] sysbuild: introduce sysbuild_root for root adjustment
    === updating bsim (tools/bsim):
    HEAD is now at 68f6282 developer_set: Remove .git suffix in paths
    === updating hostap (modules/lib/hostap):
    HEAD is now at 6311fde66 [nrf noup] mbedtls: Fix memory leak
    === updating wfa-qt-control-app (modules/lib/wfa-qt-control-app):
    HEAD is now at 9f91589 [nrf noup] zephyr: Fix POSIX failures
    === updating mcuboot (bootloader/mcuboot):
    M	boot/bootutil/src/loader.c
    M	boot/bootutil/src/swap_move.c
    M	boot/bootutil/src/swap_scratch.c
    HEAD is now at daf2946a [nrf noup] boot/../loader: reboot after updating s0/s1
    === updating qcbor (modules/tee/tf-m/qcbor):
    HEAD is now at 751d365 restore inc/qcbor.h for backwards compatibility (#181)
    === updating mbedtls (modules/crypto/mbedtls):
    HEAD is now at 72868c6f1 [nrf noup] Add MBEDTLS_PSA_CRYPTO_CLIENT support for TLS/DTLS and X.509
    === updating oberon-psa-crypto (modules/crypto/oberon-psa-crypto):
    HEAD is now at e0800ec [nrf noup] Allow import and destroy of builtin keys
    === updating nrfxlib (nrfxlib):
    HEAD is now at 37e2ac22 nrf_modem: doc: add info about PDN down when NRF_SO_KEEPOPEN is used
    === updating trusted-firmware-m (modules/tee/tf-m/trusted-firmware-m):
    HEAD is now at 553c47a6a [nrf noup] Fix version warning
    === updating psa-arch-tests (modules/tee/tf-m/psa-arch-tests):
    HEAD is now at 94a349d [nrf fromlist] Fix base address for the nrf watchdog
    === updating matter (modules/lib/matter):
    HEAD is now at 022f2c92f6 [nrf toup] Fix missing network band in scan response.
    Synchronizing submodule url for 'third_party/nlio/repo'
    Synchronizing submodule url for 'third_party/nlassert/repo'
    Synchronizing submodule url for 'third_party/nlunit-test/repo'
    Synchronizing submodule url for 'third_party/pigweed/repo'
    Synchronizing submodule url for 'third_party/jsoncpp/repo'
    === updating soc-hwmv1 (modules/soc-hwmv1):
    HEAD is now at 32b1ee3 soc: Update Kconfig.peripherals from sdk-zephyr bdda11b
    === updating cjson (modules/lib/cjson):
    HEAD is now at c6af068 [nrf fromtree] fix: potential memory leak in merge_patch() (#611)
    === updating find-my (find-my):
    HEAD is now at be39fa1 doc: releases: Add release notes for v2.7.0
    === updating azure-sdk-for-c (modules/lib/azure-sdk-for-c):
    HEAD is now at 308c171c [nrf fromlist] Make repository a Zephyr module
    === updating cirrus (modules/hal/cirrus-logic):
    HEAD is now at 3873a08 Added missing curly brace for #ifdef __cplusplus
    === updating openthread (modules/lib/openthread):
    HEAD is now at a57d927b0 [string] add `ParseDigit()`, `ParseHexDigit()`, and other helper functions (#10282)
    === updating suit-generator (modules/lib/suit-generator):
    HEAD is now at 3458313 feat: add binary file name value to template generator
    === updating suit-processor (modules/lib/suit-processor):
    HEAD is now at 4505925 Fix coverity issues for 2.7 release
    === updating cmock (test/cmock):
    HEAD is now at f65066f Merge pull request #404 from tz18/patch-1
    Synchronizing submodule url for 'vendor/c_exception'
    Synchronizing submodule url for 'vendor/unity'
    === updating memfault-firmware-sdk (modules/lib/memfault-firmware-sdk):
    HEAD is now at 3d51c80 Memfault Firmware SDK 1.6.0 (Build 5464)
    === updating coremark (modules/benchmark/coremark):
    HEAD is now at d5fad6b Merge pull request #51 from volodymyr-bondarchuk/zephyr
    === updating canopennode (modules/lib/canopennode):
    HEAD is now at dec12fa stack: map CANopenNode crc16_ccitt() to Zephyr crc16_itu_t()
    === updating chre (modules/lib/chre):
    HEAD is now at 3b32c76e zephyr: link the .unstable_id data in ROM
    === updating lz4 (modules/lib/lz4):
    HEAD is now at 8e303c2 zephyr: make this repo a zephyr module
    === updating nanopb (modules/lib/nanopb):
    HEAD is now at 7f88274 Add migration note about CMake protoc default (#958)
    === updating tf-m-tests (modules/tee/tf-m/tf-m-tests):
    HEAD is now at 85f533a Crypto: Use RSA key in PSA format
    === updating zscilib (modules/lib/zscilib):
    HEAD is now at ee1b287 samples/tests: Update for hwmv2 board names
    === updating cmsis (modules/hal/cmsis):
    HEAD is now at 4b96cbb doc: Update documentations for CMSIS 5.9.0
    === updating cmsis-dsp (modules/lib/cmsis-dsp):
    HEAD is now at 6489e771 do not generate warnings when scalar functions are used with MVE
    === updating cmsis-nn (modules/lib/cmsis-nn):
    HEAD is now at 0c8669d Merge pull request #1 from XenuIsWatching/zephyr
    === updating edtt (tools/edtt):
    HEAD is now at 64e5105 edttt_bsim: Avoid infinite exception loop
    === updating fatfs (modules/fs/fatfs):
    HEAD is now at 427159b zephyr: fix ffconf.h override use of STRINGIZE
    === updating hal_nordic (modules/hal/nordic):
    HEAD is now at ab5cb2e nrfx: drivers: nrfx_gpiote: move enabling GPIOTE port interrupt
    === updating hal_st (modules/hal/st):
    HEAD is now at b77157f drivers: sensor: st: Move to vendor subdirectory
    === updating hal_wurthelektronik (modules/hal/wurthelektronik):
    HEAD is now at e5bcb2e Update WE sensors SDK to version 2.5.0
    === updating libmetal (modules/hal/libmetal):
    HEAD is now at 243eed5 lib: update libmetal to SHA f55c02a7b582
    === updating liblc3 (modules/lib/liblc3):
    HEAD is now at 1a5938e meson: Bump to version 1.0.4
    === updating littlefs (modules/fs/littlefs):
    HEAD is now at 408c16a Merge pull request #14 from de-nordic/update-to-v2.8.1
    === updating loramac-node (modules/lib/loramac-node):
    HEAD is now at fb00b383 zephyr: configure FragDecoder using Kconfig
    === updating lvgl (modules/lib/gui/lvgl):
    HEAD is now at 2b498e6f Merge pull request #51 from faxe1008/upddate_lvgl_840
    === updating mipi-sys-t (modules/debug/mipi-sys-t):
    HEAD is now at 71ace1f mipi_syst: fix build error when having protocol timestamp disabled
    === updating net-tools (tools/net-tools):
    HEAD is now at 7c7a856 websocket-console: Add a helper script for websocket console
    === updating nrf_hw_models (modules/bsim_hw_models/nrf_hw_models):
    HEAD is now at 36b1271 54L15: Added RRAMC, RRAM & UICR
    === updating open-amp (modules/lib/open-amp):
    HEAD is now at da78aea lib: update open-amp lib to release v2023.10.0
    === updating picolibc (modules/lib/picolibc):
    HEAD is now at 764ef4e40 Version 1.8.6
    === updating segger (modules/debug/segger):
    HEAD is now at b011c45 segger: config: Add CCM option for linker sections
    === updating tinycrypt (modules/crypto/tinycrypt):
    HEAD is now at 1012a3e Fix warnings reported by UBSAN
    === updating uoscore-uedhoc (modules/lib/uoscore-uedhoc):
    HEAD is now at 150f4eb [zephyr fromlist] Adapt to changes in name generation in zcbor 0.8.0
    === updating zcbor (modules/lib/zcbor):
    HEAD is now at 75d0880 tests: Update mps2 board name
    OptiPlex-7070:~/ncs/v2.7.0$ west topdir
    /home/ncs/v2.7.0
    OptiPlex-7070:~/ncs/v2.7.0$ west config --local -l
    manifest.path=nrf
    manifest.file=west.yml
    zephyr.base=zephyr
    build.sysbuild=True

    OptiPlex-7070:~/ncs/v2.7.0/zephyr/samples/hello_world$ west build -b nrf54l15pdk/nrf54l15/cpuapp -p
    -- west build: making build dir /home/ncs/v2.7.0/zephyr/samples/hello_world/build pristine
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /home/ncs/toolchains/e9dba88316/usr/local/bin/python3.9 (found suitable version "3.9.18", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/.cache/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15pdk, Revision: 0.3.0, qualifiers: nrf54l15/cpuapp
    Parsing /home/ncs/v2.7.0/zephyr/share/sysbuild/Kconfig
    Loaded configuration '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/_sysbuild/empty.conf'
    Merged configuration '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/_sysbuild/empty.conf'
    Merged configuration '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/_sysbuild/empty.conf'
    Configuration saved to '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/zephyr/.config'
    Kconfig header saved to '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/_sysbuild/autoconf.h'
    -- 
       *********************************
       * Running CMake for hello_world *
       *********************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /home/ncs/v2.7.0/zephyr/samples/hello_world
    -- CMake version: 3.21.0
    -- Using NCS Toolchain 2.6.20240605.1004412633878 for building. (/home/ncs/toolchains/e9dba88316/cmake)
    -- Found Python3: /home/ncs/toolchains/e9dba88316/usr/local/bin/python3 (found suitable version "3.9.18", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /home/.cache/zephyr
    -- Zephyr version: 3.6.99 (/home/ncs/v2.7.0/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15pdk, Revision: 0.3.0, qualifiers: nrf54l15/cpuapp
    -- Found host-tools: zephyr 0.16.5 (/home/ncs/toolchains/e9dba88316/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.5 (/home/ncs/toolchains/e9dba88316/opt/zephyr-sdk)
    -- Found Dtc: /home/ncs/toolchains/e9dba88316/usr/local/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6") 
    -- Found BOARD.dts: /home/ncs/v2.7.0/zephyr/boards/nordic/nrf54l15pdk/nrf54l15pdk_nrf54l15_cpuapp.dts
    -- Generated zephyr.dts: /home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/dts.cmake
    Parsing /home/ncs/v2.7.0/zephyr/Kconfig
    Loaded configuration '/home/ncs/v2.7.0/zephyr/boards/nordic/nrf54l15pdk/nrf54l15pdk_nrf54l15_cpuapp_defconfig'
    Merged configuration '/home/ncs/v2.7.0/zephyr/samples/hello_world/prj.conf'
    Merged configuration '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/.config.sysbuild'
    Configuration saved to '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/.config'
    Kconfig header saved to '/home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /home/ncs/toolchains/e9dba88316/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (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: /home/ncs/toolchains/e9dba88316/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Using ccache: /home/ncs/toolchains/e9dba88316/usr/bin/ccache
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/ncs/v2.7.0/zephyr/samples/hello_world/build
    -- west build: building application
    [5/10] Performing build step for 'hello_world'
    [1/141] Preparing syscall dependency handling
    
    [5/141] Generating include/generated/version.h
    -- Zephyr version: 3.6.99 (/home/ncs/v2.7.0/zephyr), build: v3.6.99-ncs2
    [141/141] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       25458 B      1428 KB      1.74%
                 RAM:        4576 B       188 KB      2.38%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from /home/ncs/v2.7.0/zephyr/samples/hello_world/build/hello_world/zephyr/zephyr.elf for board: nrf54l15pdk
    [10/10] Generating ../merged.hex
    

  • Thank you Vidar for your help, I have updated the ZEPHYR_BASE environment variable to  point to zephyr folder under ncs folder (c:\ncs\v2.7.0\zephyr\) and checke out the v2.7.0 in the  c:\ncs\v2.7.0\ncs repo and that resolved my compilation issue. 

  • Thank you for the update. I wrongfully assumed that setting ZEPHYR_BASE to point to another zephyr folder would cause west to switch workspace. I'll remember this next time.

Related