Hi,
Could you provide a Zigbee tutorial for XIAO nRF54L15.
There is Zigbee support with the last nRF Connect SDK v3.1.0 version: Technical Documentation
Zigbee R23 add-on for the nRF Connect SDK
Regards
Hi,
Could you provide a Zigbee tutorial for XIAO nRF54L15.
There is Zigbee support with the last nRF Connect SDK v3.1.0 version: Technical Documentation
Zigbee R23 add-on for the nRF Connect SDK
Regards
Install NRF connect in vscode, following the seeed Wiki, but use the board path I gave you above the information in the seed Wiki is incorrect and I have submitted a correction but I don’t think it’s posted yet.
Build one of the zigbee samples from this URL
It’s the standard build a sample workflow from the NRF academy course on the nrf54l15 it’s free and a better quality than the tutorials on the seeed Wiki on the topic and is currently the gold standard for information about this MCU.
Are you referring to this part of the Wiki? If so, please tell me the correct board path. I am having trouble because the board is often not found during compilation.
To get started, clone the repository from the GitHub link
git clone https://github.com/Seeed-Studio/platform-seeedboards.git
into your preferred local folder. Once cloned, navigate to theplatform-seeedboards/zephyr/boards
directory. Remember thisboards
folder Path ;
Yes, that exact part shouldn’t have the boards suffix.
It should say
platform-seeedboards/zephyr
Not
platform-seeedboards/zephyr/boards
Thanks for the information.
I tried both, and as long as I use the GUI, I can build and upload without any problems.
Yes I set this value for boardRoots
:
/home/user/platform-seeedboards/zephyr
I think we add to add files for this board to allow building:
A the moment I am getting this error when building:
* Executing task: nRF Connect: Generate config xiao_nrf54l15/nrf54l15/cpuapp for samples/light_bulb
Building light_bulb
west build --build-dir /home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1 /home/ludovic/workspace/ncs-zigbee/samples/light_bulb --pristine --board xiao_nrf54l15/nrf54l15/cpuapp -- -DNCS_TOOLCHAIN_VERSION="NONE" -DCONF_FILE="prj.conf" -DBOARD_ROOT="/home/ludovic/platform-seeedboards/zephyr"
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /home/ludovic/ncs/toolchains/c5be9c56c7/usr/local/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/ludovic/.cache/zephyr
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
-- Board: xiao_nrf54l15, qualifiers: nrf54l15/cpuapp
Parsing /home/ludovic/workspace/ncs-zigbee/samples/light_bulb/Kconfig.sysbuild
Loaded configuration '/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/_sysbuild/empty.conf'
Merged configuration '/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/_sysbuild/empty.conf'
Configuration saved to '/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/zephyr/.config'
Kconfig header saved to '/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/_sysbuild/autoconf.h'
--
********************************
* Running CMake for light_bulb *
********************************
Loading Zephyr default modules (Zephyr base).
-- Application: /home/ludovic/workspace/ncs-zigbee/samples/light_bulb
-- CMake version: 3.21.0
-- Found Python3: /home/ludovic/ncs/toolchains/c5be9c56c7/usr/local/bin/python (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/ludovic/.cache/zephyr
-- Zephyr version: 3.7.99 (/home/ludovic/workspace/zephyr)
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
-- Board: xiao_nrf54l15, qualifiers: nrf54l15/cpuapp
-- Found host-tools: zephyr 0.17.0 (/home/ludovic/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/home/ludovic/ncs/toolchains/c5be9c56c7/opt/zephyr-sdk)
-- Found Dtc: /home/ludovic/ncs/toolchains/c5be9c56c7/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/ludovic/platform-seeedboards/zephyr/boards/arm/xiao_nrf54l15/xiao_nrf54l15_nrf54l15_cpuapp.dts
-- Found devicetree overlay: /home/ludovic/workspace/ncs-zigbee/samples/light_bulb/boards/xiao_nrf54l15_nrf54l15_cpuapp.overlay
unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1
-- Generated zephyr.dts: /home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/light_bulb/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/light_bulb/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/light_bulb/zephyr/dts.cmake
warning: IEEE802154_NRF5_FCS_IN_LENGTH (defined at drivers/ieee802154/Kconfig.nrf5:65) has direct dependencies IEEE802154_NRF5 && IEEE802154 with value n, but is currently being y-selected by the following symbols:
- NET_L2_ZIGBEE (defined at /home/ludovic/workspace/ncs-zigbee/subsys/Kconfig:48, /home/ludovic/workspace/nrf/subsys/zigbee/Kconfig:36), with value y, direct dependencies (NETWORKING && ZIGBEE_ADD_ON) || (NETWORKING && ZIGBEE) (value: y), and select condition NETWORKING && ZIGBEE_ADD_ON (value: y)
Parsing /home/ludovic/workspace/zephyr/Kconfig
Loaded configuration '/home/ludovic/platform-seeedboards/zephyr/boards/arm/xiao_nrf54l15/xiao_nrf54l15_nrf54l15_cpuapp_defconfig'
Merged configuration '/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/prj.conf'
Merged configuration '/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/light_bulb/zephyr/.config.sysbuild'
error: Aborting due to Kconfig warnings
CMake Error at /home/ludovic/workspace/zephyr/cmake/modules/kconfig.cmake:396 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/ludovic/workspace/nrf/cmake/modules/kconfig.cmake:29 (include)
/home/ludovic/workspace/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
/home/ludovic/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/ludovic/workspace/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:514 (message):
CMake configure failed for Zephyr project: light_bulb
Location: /home/ludovic/workspace/ncs-zigbee/samples/light_bulb
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:20 (include)
/home/ludovic/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
/home/ludovic/workspace/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
/home/ludovic/workspace/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: /home/ludovic/ncs/toolchains/c5be9c56c7/usr/local/bin/cmake -DWEST_PYTHON=/home/ludovic/ncs/toolchains/c5be9c56c7/usr/local/bin/python3.12 -B/home/ludovic/workspace/ncs-zigbee/samples/light_bulb/build_1 -GNinja -DBOARD=xiao_nrf54l15/nrf54l15/cpuapp -DNCS_TOOLCHAIN_VERSION=NONE -DCONF_FILE=prj.conf -DBOARD_ROOT=/home/ludovic/platform-seeedboards/zephyr -S/home/ludovic/workspace/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/ludovic/workspace/ncs-zigbee/samples/light_bulb
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.