Description
Hardware:
Board: DOIT ESP32 DEV KIT V1
Core Installation/update date: 29/Oct/2017
IDE name: Arduino IDE
Flash Frequency: ?40Mhz?
Upload Speed: ?115200?
Description:
On a raspberry pi 3, installed arduino IDE, then followed instructions to install esp32 arduino core, which appeared to work. However, the xtensa gcc binaries did not get installed to the proper location (if at all). boards show up in the board manager, but attempts to compile sketches fail because the binaries can't be found, because they aren't there. Everything works fine for esp8266, so arduino is set up correctly.
There is no xtensa-esp32-elf directory in home/pi/Arduino/hardware/espressif/esp32/tools
get.py does not appear to be working correctly. I tried the unicode fix, but it still didn't work, and it wouldn't download the binaries.
Sketch:
//Change the code below by your sketch
uint64_t chipid;
void setup() {
Serial.begin(115200);
}
void loop() {
chipid=ESP.getEfuseMac();//The chip ID is essentially its MAC address(length: 6 bytes).
Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes
Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes.
delay(3000);
}
Debug Messages:
Error:
fork/exec /home/pi/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++: no such file or directory
Error compiling for board DOIT ESP32 DEVKIT V1.