Cant Program D1 Mini

Im new to HA and Esphome and trying to load my first board D1 mini.
it fails when compiling the code. I have been able to load the blink test threw adruno IDe but cant
it to load threw esphome in home assistant.
INFO Reading configuration /config/esphome/d1.yaml…
INFO Generating C++ source…
INFO Core config or version changed, cleaning build files…
INFO Compiling app…
Processing d1 (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)

Library Manager: Installing ottowinter/ESPAsyncTCP-esphome @ 1.2.3
INFO Installing ottowinter/ESPAsyncTCP-esphome @ 1.2.3
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
INFO Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Resolving dependencies…
INFO Resolving dependencies…
Library Manager: Installing esphome/AsyncTCP-esphome
INFO Installing esphome/AsyncTCP-esphome
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing esphome/noise-c @ 0.1.4
INFO Installing esphome/noise-c @ 0.1.4
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Resolving dependencies…
INFO Resolving dependencies…
Library Manager: Installing esphome/libsodium @ 1.10018.1
INFO Installing esphome/libsodium @ 1.10018.1
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
Dependency Graph
|-- ESPAsyncTCP-esphome @ 1.2.3
|-- ESPAsyncWebServer-esphome @ 2.1.0
| |-- ESPAsyncTCP-esphome @ 1.2.3
| |-- Hash @ 1.0
| |-- ESP8266WiFi @ 1.0
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
| |-- libsodium @ 1.10018.1
Compiling /data/d1/.pioenvs/d1/src/esphome/components/api/api_connection.cpp.o
Compiling /data/d1/.pioenvs/d1/src/esphome/components/api/api_frame_helper.cpp.o
Compiling /data/d1/.pioenvs/d1/src/esphome/components/api/api_pb2.cpp.o
Compiling /data/d1/.pioenvs/d1/src/esphome/components/api/api_pb2_service.cpp.o
xtensa-lx106-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [/data/d1/.pioenvs/d1/src/esphome/components/api/api_pb2.cpp.o] Error 1
xtensa-lx106-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [/data/d1/.pioenvs/d1/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
========================= [FAILED] Took 33.65 seconds =========================

I basically have the same issue. I get error code 4. I have posted ,2 messages in this category today and they never posted.

image

1 Like

It would be useful to know your esphome version