本帖最后由 liuybhb 于 2020-5-17 11:38 编辑
以下是ya报错信息,一编译就这样,请各位大神帮忙看!!!!!!
~~~~~~~~~
代码内容:
——————————
esphome:
name: switch
platform: ESP8266
board: esp01_1m
esp8266_restore_from_flash: yes
wifi:
ssid: "Home"
password: "abcd1234"
manual_ip:
static_ip: 192.168.1.236
gateway: 192.168.1.1
subnet: 255.255.255.0
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "1"
ota:
password: "1"
web_server:
port: 80
switch:
- platform: gpio
name: "switch 01"
pin: GPIO2
id: relay
inverted: no
~~~~~~~~~~~
报错内容:
——————————
ArduinoJson-esphomelib @ 5.13.3 has been successfully installed! Dependency Graph |-- <ESPAsyncTCP-esphome> 1.2.2 | |-- <ESP8266WiFi> 1.0 |-- <ESP8266WiFi> 1.0 |-- <ESP8266mDNS> 1.2 | |-- <ESP8266WiFi> 1.0 |-- <ESPAsyncWebServer-esphome> 1.2.6 | |-- <ESPAsyncTCP-esphome> 1.2.2 | | |-- <ESP8266WiFi> 1.0 | |-- <Hash> 1.0 | |-- <ESP8266WiFi> 1.0 | |-- <ArduinoJson-esphomelib> 5.13.3 |-- <ArduinoJson-esphomelib> 5.13.3 Compiling /data/switch/.pioenvs/switch/src/esphome/components/api/api_connection.cpp.o Illegal instruction (core dumped) Compiling /data/switch/.pioenvs/switch/src/esphome/components/api/api_pb2.cpp.o Illegal instruction (core dumped) Compiling /data/switch/.pioenvs/switch/src/esphome/components/api/api_pb2_service.cpp.o Illegal instruction (core dumped) *** [/data/switch/.pioenvs/switch/src/esphome/components/api/api_connection.cpp.o] Error 132 Compiling /data/switch/.pioenvs/switch/src/esphome/components/api/api_server.cpp.o *** [/data/switch/.pioenvs/switch/src/esphome/components/api/api_pb2.cpp.o] Error 132 *** [/data/switch/.pioenvs/switch/src/esphome/components/api/api_pb2_service.cpp.o] Error 132 Illegal instruction (core dumped) *** [/data/switch/.pioenvs/switch/src/esphome/components/api/api_server.cpp.o] Error 132 ========================= [FAILED] Took 20.56 seconds =========================
|