Skip to content

Error compiling for board DOIT ESP32 DEVKIT V1 #6386

@CrazyLionQC

Description

@CrazyLionQC

Board

Esp32 Dev kit V1

Device Description

Common Esp32 Dev kit V1

Hardware Configuration

Noting is attach and no code is being used.

Version

latest master

IDE Name

Arduino IDE

Operating System

Windows

Flash frequency

80HZ

PSRAM enabled

no

Upload speed

115200

Description

Got a new laptop at the office, wich is a powerfull gaming laptop. Installed Arduino IDE and the ESP32 add-on boards. But I always have this "Error compiling for board DOIT ESP32 DEVKIT V1." error ( full error below ).

I've been looking for a fix for the last 4 hours now and tried everything I've found including:
-deleting Cache (appData/arduino15)
-Reinstalling Arduino IDE several time
-Copy past the cache from my old laptop, where everything work just fine.

I also have a the same error if no board is plugged at all.... like it's not even trying, but it work on my old laptop....

Is there any windows configuration, firewall configuration, authorizations to do ?

Sketch

Empty sketch...

Debug Message

Arduino: 1.8.19 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\R&D\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\R&D\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\R&D\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32doit-devkit-v1:FlashFreq=80,UploadSpeed=921600,DebugLevel=none -vid-pid=10C4_EA60 -ide-version=10819 -build-path C:\Users\R&D\AppData\Local\Temp\arduino_build_711433 -warnings=none -build-cache C:\Users\R&D\AppData\Local\Temp\arduino_cache_633889 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool_py.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.mkspiffs.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -verbose C:\Users\R&D\AppData\Local\Temp\untitled1973103754.tmp\sketch_mar07a\sketch_mar07a.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\R&D\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\R&D\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\R&D\Documents\Arduino\libraries -fqbn=esp32:esp32:esp32doit-devkit-v1:FlashFreq=80,UploadSpeed=921600,DebugLevel=none -vid-pid=10C4_EA60 -ide-version=10819 -build-path C:\Users\R&D\AppData\Local\Temp\arduino_build_711433 -warnings=none -build-cache C:\Users\R&D\AppData\Local\Temp\arduino_cache_633889 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.esptool_py.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.esptool_py-3.0.0.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0 -prefs=runtime.tools.mkspiffs.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-1.22.0-97-gc752ad5-5.2.0.path=C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0 -verbose C:\Users\R&D\AppData\Local\Temp\untitled1973103754.tmp\sketch_mar07a\sketch_mar07a.ino

Using board 'esp32doit-devkit-v1' from platform in folder: C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6

Using core 'esp32' from platform in folder: C:\Users\R&D\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6

cmd /c if exist "C:\\Users\\R&D\\AppData\\Local\\Temp\\untitled1973103754.tmp\\sketch_mar07a\\partitions.csv" copy /y "C:\\Users\\R&D\\AppData\\Local\\Temp\\untitled1973103754.tmp\\sketch_mar07a\\partitions.csv" "C:\\Users\\R&D\\AppData\\Local\\Temp\\arduino_build_711433\\partitions.csv"

& was unexpected at this time.

exit status 1

Error compiling for board DOIT ESP32 DEVKIT V1.

Other Steps to Reproduce

I think, someone screw up with the hidden file on windows, because the appData is not hidden like it supposed to be.

I don't think there is a link between the ESP32 and hidden file, but I mention it because it looks like the Arduino is not allowed to go find the ESP32 core...

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: SolvedThe issue has been resolved and requires no further action.Type: QuestionOnly question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions