cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone used Zephyr v4.2.0 with STM32W55 and OpenThread

StevenG
Associate III

I would like to use Zephyr as the RTOS for my project using an STM32WB55 and OpenThread.  Attempting to build the simple example 'shell' application fails for the nucleo_wb55rg board.

 

west build -b nucleo_wb55rg c:\Projects_local\stm32_openThread\shell_openThread -p --build-dir c:\Projects_local\stm32_openThread\shell_openThread\build\nucleo_wb55rg  -- -DBOARD_ROOT='c:\Projects_local\stm32_openThread\external\zephyr'  -DCONFIG_NO_OPTIMIZATIONS=y 

The error returned is:

-- west build: making build dir c:\Projects_local\stm32_openThread\shell_openThread\build\nucleo_wb55rg pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Projects_local/stm32_openThread/shell_openThread
-- CMake version: 4.1.2
-- Found Python3: c:/Projects_local/stm32_openThread/.venv/Scripts/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: C:/Projects_local/stm32_openThread/external/zephyr/.cache
-- Zephyr version: 4.2.0 (C:/Projects_local/stm32_openThread/external/zephyr)
-- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
-- Board: nucleo_wb55rg, qualifiers: stm32wb55xx
-- Found host-tools: zephyr 0.17.3 (C:/Users/grunzas/.zephyr_ide/toolchains/zephyr-sdk-0.17.3)
-- Found toolchain: zephyr 0.17.3 (C:/Users/grunzas/.zephyr_ide/toolchains/zephyr-sdk-0.17.3)
-- Found Dtc: C:/Users/grunzas/AppData/Local/Microsoft/WinGet/Packages/oss-winget.dtc_Microsoft.Winget.Source_8wekyb3d8bbwe/usr/bin/dtc.exe (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found BOARD.dts: C:/Projects_local/stm32_openThread/external/zephyr/boards/st/nucleo_wb55rg/nucleo_wb55rg.dts
devicetree error: /chosen: undefined node label 'ieee802154'
CMake Error at C:/Projects_local/stm32_openThread/external/zephyr/cmake/modules/dts.cmake:306 (execute_process):
  execute_process failed command indexes:

 

Has anyone had any success with the combination of OpenThread, Zephyr, and STM32WB55?  I will be trying to resolve this issue but I am just curious if anyone else has attempted this or if it's a lost cause / just not supported.

 

2 REPLIES 2
Ouadi
ST Employee

Hi @StevenG,

For the STM32WB55, there isn’t an 802.15.4 driver like the one available for the STM32WBA family. Nothing prevents creating this driver, but currently, it is simply not planned. Many networking samples are available in Zephyr here: https://docs.zephyrproject.org/latest/samples/net/net.html.

May I ask if this is for a business or personal project ?

Thanks & best regards,

Ouadi

It is a business project.  It looks like we have to either re-architect the project or switch to a microcontroller that supports OpenThread.