adonno / tagreader

Simple to build/use NFC tag reader, specially created for Home Assistant
https://adonno.com
GNU General Public License v3.0
1.18k stars 185 forks source link

Compilation unsuccessfully, now HA restart any time I try to Install #185

Closed ferrarid61 closed 2 years ago

ferrarid61 commented 2 years ago

Hello, I've tried to download and complite your tag reader template but the compilation fails. What I was runnong ESPHome 2022.8.0 with the errore as follow. Now I have updated to 2022.8.1 and it couse HA core restart each attempt of installing just after" Compiling /data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/ndef_record_text.cpp.o"

error NFO Reading configuration /config/esphome/tag-reader.yaml... INFO Generating C++ source... INFO Compiling app... Processing tagreader (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)

HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf 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 |-- Wire @ 1.0 |-- Improv @ 1.2.1 |-- NeoPixelBus @ 2.6.9 | |-- SPI @ 1.0 Compiling /data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/automation.cpp.o Compiling /data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/ndef_message.cpp.o Compiling /data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/ndef_record.cpp.o Compiling /data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/ndef_record_text.cpp.o xtensa-lx106-elf-g++: fatal error: Killed signal terminated program cc1plus compilation terminated. [/data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/automation.cpp.o] Error 1 xtensa-lx106-elf-g++: fatal error: Killed signal terminated program cc1plus compilation terminated. [/data/tagreader/.pioenvs/tagreader/src/esphome/components/nfc/ndef_record_text.cpp.o] Error 1 ========================= [FAILED] Took 34.80 seconds =========================

ferrarid61 commented 2 years ago

The problem was my PI with only 1GB of memory. I used the windows esphome environnment to flush

ferrarid61 commented 2 years ago

as before