-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to build basic_thread_border_router (TZ-518) #53
Comments
My ESP Thread Border Router board is version V1.2 if that makes any differences. |
Ah, you need to use the IDF v5.1.2 branch, I will create a MR to update the instruction of this set-up-repositories |
Please have a try with the IDF branch |
It worked with the IDF branch |
@manmountain FYI, the docs updating MR has already been created and waiting for reviewing and merging. Please see openthread/ot-docs#149 |
I have followed this guide: https://openthread.io/guides/border-router/espressif-esp32 to build basic_thread_border_router example for the official ESP Thread Border Router board but I get an error
/home/_USERNAME_/Sources/Repos/esp-thread-br/examples/basic_thread_border_router/main/esp_ot_br.c:78:24: error: implicit declaration of function 'ESP_OPENTHREAD_DEFAULT_HOST_CONFIG'; did you mean 'ESP_OPENTHREAD_DEFAULT_PORT_CONFIG'? [-Werror=implicit-function-declaration] 78 | .host_config = ESP_OPENTHREAD_DEFAULT_HOST_CONFIG(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ESP_OPENTHREAD_DEFAULT_PORT_CONFIG /home/_USERNAME_/Sources/Repos/esp-thread-br/examples/basic_thread_border_router/main/esp_ot_br.c:76:56: error: missing braces around initializer [-Werror=missing-braces] 76 | esp_openthread_platform_config_t platform_config = { | ^ /home/_USERNAME_/Sources/Repos/esp-thread-br/examples/basic_thread_border_router/main/esp_ot_br.c:76:56: error: missing braces around initializer [-Werror=missing-braces] cc1: some warnings being treated as errors ninja: build stopped: subcommand failed.
Is there a newer guide or do I miss something in my setup? In
idf.py menuconfig
I'm enablingESP Thread Border Router Example > Enable the automatic start mode in Thread Border Router
and set my WIFI credentials inExample Connection Configuration > connect using Wi-Fi interface
. Is there any other options inidf.py menuconfig
I'm missing?The text was updated successfully, but these errors were encountered: