libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
382 stars 55 forks source link

Error while compiling in HA #259

Closed juskalalie closed 4 months ago

juskalalie commented 4 months ago

This is what I'm getting when doing "install" via HA:

INFO ESPHome 2024.2.1
INFO Reading configuration /config/esphome/helo-power-strip.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing helo-power-strip (board: wr3e; framework: arduino; platform: https://github.com/libretiny-eu/libretiny.git)
--------------------------------------------------------------------------------
Platform Manager: Installing git+https://github.com/libretiny-eu/libretiny.git
INFO Installing git+https://github.com/libretiny-eu/libretiny.git
git version 2.39.2
Cloning into '/data/cache/platformio/cache/tmp/pkg-installing-nd6orpio'...
Platform Manager: libretiny@1.5.1+sha.67b92b7 has been installed!
INFO libretiny@1.5.1+sha.67b92b7 has been installed!
HARDWARE: RTL8710BN 125MHz, 256KB RAM, 788KB Flash
 - framework-arduino-api @ 2022.8.24+sha.237b10a 
 - framework-realtek-amb1 @ 0.0.0+v2022.06.21.sha.c4e44ef 
 - library-flashdb @ 1.2.0+sha.d5c892f 
 - library-freertos @ 8.1.2+sha.776ae6c 
 - library-freertos-port @ 2023.5.23+sha.a917d93 
 - library-lwip @ 2.1.3-amb1+sha.6297b80 
 - library-printf @ 6.1.0+sha.28a79bd 
 - library-uf2ota @ 5.0.0+sha.f955412 
PLATFORM VERSIONS:
 - libretiny @ 1.5.1+sha.67b92b7
 - ltchiptool @ 4.10.2
CUSTOM OPTIONS:
 - fw_name = esphome
 - fw_version = 2024.2.1
Dependency Graph
|-- AsyncTCP-esphome @ 2.0.1
|-- ESPAsyncWebServer-esphome @ 3.1.0
|-- DNSServer @ 1.1.0
|-- noise-c @ 0.1.4
|-- ArduinoJson @ 6.18.5
Compiling .pioenvs/helo-power-strip/src/esphome/components/api/api_connection.cpp.o
sh: 1: arm-none-eabi-g++: not found
Compiling .pioenvs/helo-power-strip/src/esphome/components/api/api_frame_helper.cpp.o
sh: 1: arm-none-eabi-g++: not found
Compiling .pioenvs/helo-power-strip/src/esphome/components/api/api_pb2.cpp.o
sh: 1: arm-none-eabi-g++: not found
Compiling .pioenvs/helo-power-strip/src/esphome/components/api/api_pb2_service.cpp.o
sh: 1: arm-none-eabi-g++: not found
Compiling .pioenvs/helo-power-strip/src/esphome/components/api/api_server.cpp.o
sh: 1: arm-none-eabi-g++: not found
*** [.pioenvs/helo-power-strip/src/esphome/components/api/api_connection.cpp.o] Error 127
Compiling .pioenvs/helo-power-strip/src/esphome/components/api/list_entities.cpp.o
*** [.pioenvs/helo-power-strip/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
*** [.pioenvs/helo-power-strip/src/esphome/components/api/api_pb2.cpp.o] Error 127
*** [.pioenvs/helo-power-strip/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
*** [.pioenvs/helo-power-strip/src/esphome/components/api/api_server.cpp.o] Error 127
sh: 1: arm-none-eabi-g++: not found
*** [.pioenvs/helo-power-strip/src/esphome/components/api/list_entities.cpp.o] Error 127
========================== [FAILED] Took 6.04 seconds ==========================

Any idea? Thanks!

kuba2k2 commented 4 months ago

Duplicate: #238