Skip to content

xtensa-esp32-elf-g++: exec format error #1024

@jrullan

Description

@jrullan

Hardware:

Board: MH-ET MiniKit ESP32
Core Installation/update date: 23/Jan/2018
IDE name: Arduino IDE 1.8.5 (Running on Armbian on Pine64+)
Flash Frequency: 80Mhz
Upload Speed: 921600

Description:

Hitting the Verify button in the Arduino IDE immediatly throws the error:
fork/exec /home/jrullan/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++: exec format error

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:


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions