ESP-IDF v5.3.1 no suport for Esp32-h2???

acsoprana
Posts: 5
Joined: Mon Oct 14, 2024 1:50 pm

ESP-IDF v5.3.1 no suport for Esp32-h2???

Postby acsoprana » Mon Oct 14, 2024 2:58 pm

Hello everyone, I'm having trouble using the ESP-IDF library in conjunction with the "ESP32-H2".

My initial environment:
  • VSCode with the Espressif module enabled
  • ESP-IDF Git
  • esp-thread-br Git
  • Hardware: ESP Thread Router Board (ESP32-S3 and ESP32-H2)
First, I acquired an Espressif Thread Router Board and other peripherals, such as ESP32-C6 and ESP32-H2, to start understanding and assembling a Thread network with an edge router, leader, routers, and end devices. I'm excited to start developing some basic projects.

However, when trying to implement the ESP-IDF examples using the Router Board, which has two chips (ESP32-S3 and ESP32-H2) in its structure, I implemented the HTTP server via Wi-Fi on the ESP32-S3 chip of the router, and it worked perfectly. I was able to access the web page configured on the ESP32-S3. However, when I try to load the OT_RCP module using the ESP32-H2 chip, the following error occurs:

"Build files have been written to: C:/Users/Anderson/esp/v5.3.1/esp-idf/examples/openthread/ot_rcp/build
ninja: error: 'C:/Users/Anderson/esp/v5.3.1/esp-idf/components/openthread/lib/esp32h2/libopenthread_br.a', needed by 'esp_ot_rcp.elf', missing and no known rule to make it"

Searching locally on the computer, in the repository I downloaded from GitHub, for the path to the folders where the ESP32-H2 files should be, they do not exist. I also tried to check the official GitHub repository, but I could not find them. Here are the attached images:
esp-idf compatible.png
esp-idf compatible.png (92.79 KiB) Viewed 378 times
pasta es32-h2.png
pasta es32-h2.png (82.87 KiB) Viewed 378 times
The GitHub website shows that there is compatibility with ESP32-H2 in version 5.3, but the folders do not exist.
How can I solve this problem? Where can I find the libs for ESP32-H2?

nopnop2002
Posts: 109
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: ESP-IDF v5.3.1 no suport for Esp32-h2???

Postby nopnop2002 » Tue Oct 15, 2024 9:37 pm

This is a Thread Network Protocol library.
https://github.com/espressif/esp-thread-lib

Cannot be used with ESP32H2 which does not have WiFi/Ethernet function.

acsoprana
Posts: 5
Joined: Mon Oct 14, 2024 1:50 pm

Re: ESP-IDF v5.3.1 no suport for Esp32-h2???

Postby acsoprana » Wed Oct 16, 2024 11:42 am

Hello, thanks for the reply...
The border routing with Wifi has already been done on the router board using S3 and it worked perfectly. My problem is that when I try to compile Thread/OT_RCP for H2, I get this error. It says that it could not find the file "openthread/lib/esp32h2/libopenthread_br.a', needed by 'esp_ot_rcp.elf'," when it was compiling. As far as I could tell, the files in the directory did not really exist or were not created.

I am using the Border Router device illustrated in the following image:
Captura de tela 2024-10-16 083913.png
Captura de tela 2024-10-16 083913.png (328.25 KiB) Viewed 220 times

Who is online

Users browsing this forum: MicroController and 67 guests