Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPENTHREAD_RCP_SPI&OPENTHREAD_RADIO_SPINEL_SPI (TZ-229) #29

Closed
JiaDeng-Git opened this issue Aug 8, 2023 · 8 comments
Closed

OPENTHREAD_RCP_SPI&OPENTHREAD_RADIO_SPINEL_SPI (TZ-229) #29

JiaDeng-Git opened this issue Aug 8, 2023 · 8 comments

Comments

@JiaDeng-Git
Copy link

esp-idf/examples/openthread/ot-rcp设置OPENTHREAD_RCP_SPI&OPENTHREAD_RADIO_SPINEL_SPI编译报错:
image

@github-actions github-actions bot changed the title OPENTHREAD_RCP_SPI&OPENTHREAD_RADIO_SPINEL_SPI OPENTHREAD_RCP_SPI&OPENTHREAD_RADIO_SPINEL_SPI (TZ-229) Aug 8, 2023
@chshu
Copy link
Collaborator

chshu commented Aug 9, 2023

在编译 ot_rcp 的需要指定 esp32h2,请按照文档说明操作:
https://docs.espressif.com/projects/esp-thread-br/en/latest/esp32/dev-guide/build_and_run.html#build-the-rcp-image

image

@JiaDeng-Git
Copy link
Author

编译时确定了型号就是h2;
截屏2023-08-09 17 21 20

@zwx1995esp
Copy link
Collaborator

如果idf用的是最新的master/或者release/v5.1,rcp和esp-thread-br的example应该没有编译问题,所以开始的那个问题现在还有嘛?

@JiaDeng-Git
Copy link
Author

JiaDeng-Git commented Aug 9, 2023

您好,esp-thread-br的example,现在编译没问题了;
但,rcp编译问题还存在;
版本如下:
ESP-IDF v5.1-480-g79b1379662 2nd stage bootloader

@JiaDeng-Git
Copy link
Author

JiaDeng-Git commented Aug 9, 2023

简单记录了一下BR开发板的上手过程,您看下,哪里操作不正确导致了编译报错:
BR开发

@chshu
Copy link
Collaborator

chshu commented Aug 9, 2023

第二步编译 ot_rcp 的时候,不要设置 OPENTHREAD_RCP_SPIOPENTHREAD_RADIO_SPINEL_SPI,默认用 Uart 接口。

@JiaDeng-Git
Copy link
Author

已经运行起来了,感谢🙏
截屏2023-08-09 22 27 02

@JiaDeng-Git
Copy link
Author

JiaDeng-Git commented Aug 9, 2023

总结一下,水一波:
BR开发
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants