ESP32 and ESP32-S2 IDF

markjuggles
Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

ESP32 and ESP32-S2 IDF

Postby markjuggles » Fri Jan 15, 2021 4:01 am

Hello Everyone,

I successfully built some ESP32 examples for the ESP32-Pico.

When trying to build examples for the ESP32-S2-Saola, there are errors when setting the new target. Deleting the build directory doesn't help.

Code: Select all

idf.py set-target  esp32s2beta
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Directory 'c:\users\mark\esp\projects\esp-aws-iot\saola\subscribe_publish\build' doesn't seem to be a CMake build directory. Refusing to automatically delete files in this directory. Delete the directory manually to 'clean' it.
Can the IDF support both the ESP32 and the ESP32-S2 or can only one be used?

Thank you,

Mark

ESP_jakob
Posts: 49
Joined: Mon Jun 01, 2020 6:28 am

Re: ESP32 and ESP32-S2 IDF

Postby ESP_jakob » Fri Jan 15, 2021 9:05 am

Hi!

Please don't use esp32s2beta. This has been a temporary target when we brought out the ESP32-S2 last year.
Please use esp32s2 as target instead.
Which IDF version are you on? If the esp32s2 target isn't supported in your version of IDF, please update to a newer version (like v4.2, e.g.) where we fully support the S2.

This is all unless you really have an S2-beta version of the chip. Then I'm not so sure whether the newest version is compatible.

markjuggles
Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: ESP32 and ESP32-S2 IDF

Postby markjuggles » Sun Jan 17, 2021 2:11 am

I ended up with the esp32s2beta because I used the automated installation. That was my third or fourth attempt at installing the tools and it was finally successful. For the ESP32 anyway.

So now I tried another couple of installations with the IDF from github. Of course it doesn't work.

Can you tell me instructions to follow and which github branch to use to get a working environment for the S2?

Or is there a virtual machine set up with the build environment?

Thanks

markjuggles
Posts: 16
Joined: Thu Dec 31, 2020 3:34 am

Re: ESP32 and ESP32-S2 IDF

Postby markjuggles » Mon Jan 18, 2021 3:11 am

Please see this post: viewtopic.php?f=13&t=19054

Who is online

Users browsing this forum: No registered users and 111 guests