How to config IDF for ESP32-S2 development?
-
- Posts: 4
- Joined: Thu Oct 15, 2020 5:59 am
How to config IDF for ESP32-S2 development?
I got a ESP32-S2-SAOLA-1R board and want to use IDF v4.2 for the development in Window 10 environment. The serial port is COM4. I used the default menuconfig settings. idf.py build was running OK and generated the .bin file. When I run idf.py -p COM4 flash, I got the error message "This chip is ESP32-S2 not ESP32. Wrong --chip argument?". It sounds like the SDK configuration is not right, but I couldn't find the settings for the chip type in menuconfig. Could anybody help me to find out the solution? Thanks!
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: How to config IDF for ESP32-S2 development?
You may have missed:
See https://docs.espressif.com/projects/esp ... x.html#id9
Code: Select all
idf.py set-target esp32s2
-
- Posts: 4
- Joined: Thu Oct 15, 2020 5:59 am
Re: How to config IDF for ESP32-S2 development?
You are right. After setting the target to esp32s2, the s2 board can be flashed.
The pdf version of IDF programming guide doesn't mention about the target settings. Do you know when the document will be updated?
The pdf version of IDF programming guide doesn't mention about the target settings. Do you know when the document will be updated?
Who is online
Users browsing this forum: No registered users and 66 guests