Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
777 stars 309 forks source link

New V3 of heltec_wifi_kit_32 fails to upload from VS Code with Fatal Error #161

Open GingerJohnny opened 1 year ago

GingerJohnny commented 1 year ago

I have a Win10 development on which I use VS Code to successfully flash my V2 Heltec ESP32 Dev Kit chips. I recently purchased a new V3 chip, and I now get the following error when I try to upload my compiled code:

A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument?

I employ PlatformIO when developing, and I am wondering what I need to do to experience a successful upload to the new V3 chip.

hupiv commented 1 year ago

On your folder platform.io create a folder boards and add the variant file you can find in ESP32 Heltec (if you have the esp-idf extension update with last version. https://community.platformio.org/t/heltec-esp32-lora-v3-board-support/30406/3