我计划在项目里把 Zephyr 用作 STM32WB55 的 RTOS。为 nucleo_wb55rg 开发板编译简单的 shell 应用示例时构建失败。
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
返回的错误信息:
-- 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:
有没有人成功把 OpenThread、Zephyr 和 STM32WB55 这套组合跑起来?
|
|