Questions about ESP32-S2

renatopinheiro
Posts: 7
Joined: Thu Apr 09, 2020 2:25 pm

Questions about ESP32-S2

Postby renatopinheiro » Thu Apr 09, 2020 3:04 pm

Hi,

I have these three questions:
- The ESP-IDF V4.1 works with the ESP32-S2-Saola-1?
- For when the ESP-IDF version 4.2 and HMAC?
- It will be possible to use HMAC to signing MQTT messages?

Best regards,
Renato Pinheiro

renatopinheiro
Posts: 7
Joined: Thu Apr 09, 2020 2:25 pm

Re: Questions about ESP32-S2

Postby renatopinheiro » Wed Apr 15, 2020 7:39 am

Can someone answer the first one so I can buy the kit?

Best regards,
Renato Pinheiro

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: Questions about ESP32-S2

Postby chegewara » Wed Apr 15, 2020 3:50 pm


ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Questions about ESP32-S2

Postby ESP_igrr » Wed Apr 15, 2020 10:41 pm

Hi Renato,

ESP32-S2 chip will be supported in release v4.2.
In release v4.1, only the ESP32-S2-beta chip (the engineering samples, not the final production chip) is supported.

Hardware HMAC support has been added in commit https://github.com/espressif/esp-idf/co ... 4e061660ba, but for now we don't have examples of using HMAC functions, yet. Another thing that is missing in order to successfully use HMAC is the ability to write the key into ESP32-S2 efuses. At the moment espefuse.py doesn't support ESP32-S2, yet, but this support will be merged in the next couple of weeks.

renatopinheiro
Posts: 7
Joined: Thu Apr 09, 2020 2:25 pm

Re: Questions about ESP32-S2

Postby renatopinheiro » Thu Apr 16, 2020 8:52 am

ESP_igrr wrote:
Wed Apr 15, 2020 10:41 pm
Hi Renato,

ESP32-S2 chip will be supported in release v4.2.
In release v4.1, only the ESP32-S2-beta chip (the engineering samples, not the final production chip) is supported.

Hardware HMAC support has been added in commit https://github.com/espressif/esp-idf/co ... 4e061660ba, but for now we don't have examples of using HMAC functions, yet. Another thing that is missing in order to successfully use HMAC is the ability to write the key into ESP32-S2 efuses. At the moment espefuse.py doesn't support ESP32-S2, yet, but this support will be merged in the next couple of weeks.

Thanks, ESP_igrr,

I will be watching the ESP32-S2 support status.
Is any way to compile the ESP32-S2 with the git master repository or have to wait for the v4.2?

Best regards,
Renato Pinheiro

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Questions about ESP32-S2

Postby ESP_igrr » Wed Apr 22, 2020 1:38 pm

Hi Renato,
Yes, you should be able to use the current master branch to build projects for ESP32-S2. The steps for building a project with ESP32-S2 are the same as for ESP32, with the addition of "idf.py set-target esp32s2" step to configure the project for the ESP32-S2 target. See https://docs.espressif.com/projects/esp ... p32s2.html for details.

By the way, documentation for HMAC module has been written and is now in review. It should appear on Github soon.

Who is online

Users browsing this forum: Baidu [Spider] and 328 guests