zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.96k stars 6.68k forks source link

Issue : Build Error for OpenThread Coprocessor Application #76594

Open swapnilcchougule opened 3 months ago

swapnilcchougule commented 3 months ago

Discussed in https://github.com/zephyrproject-rtos/zephyr/discussions/75279

Originally posted by **swapnilcchougule** July 1, 2024 Hello, I am trying to build the OpenThread coprocessor application using the following command: west build -b efr32xg24_dk2601b zephyr/samples/net/openthread/coprocessor However, I encounter the following error during the build process: zephyrproject/zephyr/include/zephyr/device.h:89:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_ieee802154_ORD' undeclared here (not in a function) Additionally, it appears that **Silicon Labs has not provided any bindings for the IEEE 802.15.4 node**, which might be contributing to the issue. Any guidance on resolving this issue would be greatly appreciated. Thank you! Regards, Swapnil
github-actions[bot] commented 3 months ago

Hi @swapnilcchougule! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

swapnilcchougule commented 1 week ago

Hello,

I'm following up to check if there are any updates regarding my previous post about the issue with building the OpenThread coprocessor application on the EFR32MG24 platform.

I would greatly appreciate any feedback from silicon labs team.

Thank you! Regards, Swapnil

jerome-pouiller commented 1 week ago

Hello @swapnilcchougule,

Indeed, Silabs SoCs have no 802.15.4 drivers for Zephyr. That said, this is definitely doable using CONFIG_SOC_GECKO_USE_RAIL and the RAIL API.

I think the Silabs support could help you on that topic. We would be very happy to merge this contribution in Zephyr.