Skip to content

Error on compile with esphome 2024.11.2 #35

@laverdone

Description

@laverdone

i'm try to compile firmware with athom-energy-monitor-x2.yaml but i have got this error:
`HARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash

  • toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
    Dependency Graph
    |-- AsyncTCP-esphome @ 2.1.4
    |-- WiFi @ 2.0.0
    |-- FS @ 2.0.0
    |-- Update @ 2.0.0
    |-- ESPAsyncWebServer-esphome @ 3.2.2
    |-- DNSServer @ 2.0.0
    |-- ESPmDNS @ 2.0.0
    |-- ArduinoJson @ 6.18.5
    |-- Improv @ 1.2.4
    Compiling .pioenvs/athom-em-2/src/esphome/components/api/api_connection.cpp.o
    Compiling .pioenvs/athom-em-2/src/esphome/components/api/api_frame_helper.cpp.o
    Compiling .pioenvs/athom-em-2/src/esphome/components/api/api_pb2.cpp.o
    Compiling .pioenvs/athom-em-2/src/esphome/components/api/api_pb2_service.cpp.o
    Assembler messages:
    Fatal error: invalid -march= option: rv32imc' *** [.pioenvs/athom-em-2/src/esphome/components/api/api_pb2_service.cpp.o] Error 1 Assembler messages: Fatal error: invalid -march= option: rv32imc'
    *** [.pioenvs/athom-em-2/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
    Assembler messages:
    Fatal error: invalid -march= option: rv32imc' *** [.pioenvs/athom-em-2/src/esphome/components/api/api_connection.cpp.o] Error 1 Assembler messages: Fatal error: invalid -march= option: rv32imc'
    *** [.pioenvs/athom-em-2/src/esphome/components/api/api_pb2.cpp.o] Error 1
    =============================================================================== [FAILED] Took 23.35 seconds`

any fix to this? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions