Hi guys,
I'm facing this error after build. I'm not able to flash.
Can anyone help me in this regard?
esptool: error: argument --chip/-c: invalid choice: 'esp32s2beta' (choose from 'auto', 'esp8266', 'esp32', 'esp32s2', 'esp32s3beta2', 'esp32c3')
ninja: build stopped: subcommand failed.
[618/887] Building C object esp-idf/expat/CMakeFiles/__idf_expat.dir/expat/expat/lib/xmltok.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Any suggestions?
Thanks in advance!
ESP32S2 Wroom
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: ESP32S2 Wroom
Hi vishalkwaghmare,
ESP32-S2 is supported from IDF v4.2. You are using IDF v4.1.
ESP32-S2 is supported from IDF v4.2. You are using IDF v4.1.
-
- Posts: 7
- Joined: Sun Dec 27, 2020 6:23 pm
Re: ESP32S2 Wroom
Hi Sir,
Thank you for your response, but I'm already using version 4.2.
Thank you for your response, but I'm already using version 4.2.
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: ESP32S2 Wroom
According to the screenshot, you have probably downloaded IDF v4.2 and using the project from there but you are still building with IDF v4.1. Please examine the value of environment variable IDF_PATH.
Re: ESP32S2 Wroom
Here is set of options for set-target in v4.2, you can compare with yours:
Code: Select all
Usage: idf.py set-target [OPTIONS] [esp32|esp32s2]
-
- Posts: 7
- Joined: Sun Dec 27, 2020 6:23 pm
Re: ESP32S2 Wroom
Hi Sir,
Yes, you are right I was using the codebase from v4.2 but the ESP-IDF is of v4.1. I tried with v4.2 but it is showing some error in installation.
However, I'm able to run it with the master branch of ESP-IDF, here is the screenshot attached.
Thank you again for your support.
Yes, you are right I was using the codebase from v4.2 but the ESP-IDF is of v4.1. I tried with v4.2 but it is showing some error in installation.
However, I'm able to run it with the master branch of ESP-IDF, here is the screenshot attached.
Thank you again for your support.
-
- Posts: 7
- Joined: Sun Dec 27, 2020 6:23 pm
Re: ESP32S2 Wroom
Hi Sir,
Actually, I wanna send a data in Text, or any form over WiFi with the help of ESP32S2 to another computer. How can I proceed for it, could you please suggest.
Any suggestions?
Thanks in advance!
Actually, I wanna send a data in Text, or any form over WiFi with the help of ESP32S2 to another computer. How can I proceed for it, could you please suggest.
Any suggestions?
Thanks in advance!
Who is online
Users browsing this forum: Baidu [Spider] and 83 guests