esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
292 stars 36 forks source link

ESPHome crashes to boot loop on D1 Mini v4.0.0 with BME680 on i2c #6295

Closed mquade closed 1 month ago

mquade commented 1 month ago

The problem

Using an BME680 connected via i2c to an ESP8266 (Wemos D1 Mini Clone) leads to boot loops but only if the BME680 is really connected. If I compile and install the code without connection the sensor everything boots up fine.

Which version of ESPHome has the issue?

2024.9.2

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.9.3

What platform are you using?

ESP8266

Board

D1 Mini (Clone), board: d1_mini

Component causing the issue

i2c / bme68x_bsec2_i2c

Example YAML snippet

substitutions:
  name: esphome-02
  friendly_name: esphome-02

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  min_version: 2024.6.0
  name_add_mac_suffix: false
  project:
    name: esphome.web
    version: dev

esp8266:
  board: d1_mini
  #   board: esp01_1m

# Enable logging
logger:

# Allow provisioning Wi-Fi via serial
improv_serial:

api:
  encryption:
    key: "rE2Y/k="

ota:
  - platform: esphome
    password: "4ab1"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  domain: .home.my-secret-domain.de
  # Set up a wifi access point
  ap: {}

# In combination with the `ap` this allows the user
# to provision wifi credentials to the device via WiFi AP.
captive_portal:

dashboard_import:
  package_import_url: github://esphome/example-configs/esphome-web/esp8266.yaml@main
  import_full_config: true

# To have a "next url" for improv serial
web_server:

################

i2c:
  sda: D2 
  scl: D1  
  scan: True 

bme68x_bsec2_i2c:
  address: 0x77
  model: bme680
  operating_age: 28d
  sample_rate: LP
  supply_voltage: 3.3V

sensor:
  - platform: bme68x_bsec2
    temperature:
      name: "BME68x Temperature"
    pressure:
      name: "BME68x Pressure"
    humidity:
      name: "BME68x Humidity"
    iaq:
      name: "BME68x IAQ"
      id: iaq
    co2_equivalent:
      name: "BME68x CO2 Equivalent"
    breath_voc_equivalent:
      name: "BME68x Breath VOC Equivalent"

Anything in the logs that might be useful for us?

[08:22:01]{ll��|�d�|�$�b|����s�c�b��gn�lgn���#p��lrl{dx�'��l��cg�|���c��og�d��l`�gg$`o{���ncd�dp�o�r������co�|�c��og�l �gnl`or���oc��`{��nc��`���;�d`��g�l����g�s��o|�d�l`c��|s�l�g��n�l`��{�l�l��[I][logger:034]: Log initialized
[08:22:01][C][safe_mode:079]: There have been 0 suspected unsuccessful boot attempts
[08:22:01][I][app:029]: Running through setup()...
[08:22:01][I][i2c.arduino:218]: Performing I2C bus recovery
[08:22:01][C][bme68x_bsec2.sensor:023]: Setting up BME68X via BSEC2...
[08:22:01]
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

[08:22:01]Exception (3):
[08:22:01]epc1=0x40202cce epc2=0x00000000 epc3=0x00000000 excvaddr=0x402785f0 depc=0x00000000
[08:22:01]
[08:22:01]>>>stack>>>
[08:22:01]
[08:22:01]ctx: cont
[08:22:01]sp: 3ffff540 end: 3fffffd0 offset: 0150
[08:22:01]3ffff690:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff6a0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff6b0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff6c0:  feefeffe feefeffe feefeffe 0000080f  
[08:22:01]3ffff6d0:  402785f0 3ffff740 3fff2948 40201d1a  
[08:22:01]3ffff6e0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff6f0:  feefeffe 00000000 feefeffe feefeffe  
[08:22:01]3ffff700:  feefeffe 0000080f feefeffe feefeffe  
[08:22:01]3ffff710:  feefeffe feefeffe feefeffe 3fff2948  
[08:22:01]3ffff720:  3ffe914a 3fff359c 3fff289c 4020108c  
[08:22:01]3ffff730:  feefeffe feefeffe feefeffe 4021a958  
[08:22:01]3ffff740:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff750:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff760:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff770:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff780:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff790:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff7a0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff7b0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff7c0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff7d0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff7e0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff7f0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff800:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff810:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff820:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff830:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff840:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff850:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff860:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff870:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff880:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff890:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff8a0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff8b0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff8c0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff8d0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff8e0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff8f0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff900:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff910:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff920:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff930:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff940:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff950:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff960:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff970:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff980:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff990:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff9a0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff9b0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff9c0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff9d0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff9e0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffff9f0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa00:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa10:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa20:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa30:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa40:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa50:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa60:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa70:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa80:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffa90:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffaa0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffab0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffac0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffad0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffae0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffaf0:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb00:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb10:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb20:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb30:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb40:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb50:  00000007 00000000 0000000a 00000000  
[08:22:01]3ffffb60:  00000007 00000000 0000000a 00000000  
[08:22:01]3ffffb70:  feefeffe feefeffe feefeffe feefeffe  
[08:22:01]3ffffb80:  3ffffc7a a0000000 00000000 0000001c  
[08:22:01]3ffffb90:  00000000 00000000 0000000a 00000000  
[08:22:01]3ffffba0:  00000000 00000000 0000000a 00000000  
[08:22:01]3ffffbb0:  3ffffca1 3ffffc7a 00000001 feefeffe  
[08:22:01]3ffffbc0:  00000000 a0000000 00000000 0000001c  
[08:22:01]3ffffbd0:  00000000 00000000 00000000 3ffe8368  
[08:22:01]3ffffbe0:  00000000 00000000 3ffffd50 40245ca0  
[08:22:01]3ffffbf0:  00000002 00000000 0000000a 00000000  
[08:22:01]3ffffc00:  00000002 00000000 0000000a 00000000  
[08:22:01]3ffffc10:  00000002 00000000 0000000a 00000000  
[08:22:01]3ffffc20:  00000002 00000000 0000000a 00000000  
[08:22:01]3ffffc30:  00002000 00000000 00002000 3ffe8368  
[08:22:01]3ffffc40:  3ffffd3a a0000000 00000000 0000001c  
[08:22:01]3ffffc50:  00002000 3ffffd43 00002000 3ffe8368  
[08:22:01]3ffffc60:  00000001 00000001 3ffffdd0 40245ca0  
[08:22:01]3ffffc70:  3ffffd61 3ffffd3a 00000001 40245ca0  
[08:22:01]3ffffc80:  40245bdc 3ffffd40 40241321 3ffe8368  
[08:22:01]3ffffc90:  00000002 00000000 3ffffdd0 40245ca0  
[08:22:01]3ffffca0:  40245bdc 3ffffd61 00000002 00000000  
[08:22:02]3ffffcb0:  00000003 00000000 3ffffdf0 3ffffdd0  
[08:22:02]3ffffcc0:  00000000 00000000 0000001f 40100534  
[08:22:02]3ffffcd0:  00000002 3ffe946f 3fffc228 40106165  
[08:22:02]3ffffce0:  4000050c 3ffe8368 3ffffdd0 40245ca0  
[08:22:02]3ffffcf0:  40239fb5 00000030 0000001c ffffffff  
[08:22:02]3ffffd00:  4023a064 00000090 60000310 00000001  
[08:22:02]3ffffd10:  01999999 60000318 c0030025 00000001  
[08:22:02]3ffffd20:  4023a0e0 3fa82798 00000000 00000001  
[08:22:02]3ffffd30:  3fff10ec 60000314 00000000 00000030  
[08:22:02]3ffffd40:  00383132 3ffe8368 3ffffe30 3fff1e8a  
[08:22:02]3ffffd50:  3fff1e6c 3ffe8368 3ffffe10 40245e9d  
[08:22:02]3ffffd60:  003332a0 3ffffe90 00000018 3fff1e86  
[08:22:02]3ffffd70:  3ffffea0 0000001e 00302000 00000003  
[08:22:02]3ffffd80:  3ffffec0 3ffffeb0 00000018 40243175  
[08:22:02]3ffffd90:  3ffffec0 3ffffeb0 00000008 00000003  
[08:22:02]3ffffda0:  00000003 00000000 0000001f 40100534  
[08:22:02]3ffffdb0:  3fffff20 3fffff10 3fffc228 3ffe914a  
[08:22:02]3ffffdc0:  3fffff40 3fffff30 00000010 3fff0d56  
[08:22:02]3ffffdd0:  60000314 3fff10ec 00000001 00000001  
[08:22:02]3ffffde0:  3fff10ec 00000001 3fff10ec 40239f69  
[08:22:02]3ffffdf0:  3fff10ec 00000000 000000e3 00000001  
[08:22:02]3ffffe00:  60000314 00000001 3fff10ec 40239ed9  
[08:22:02]3ffffe10:  00000004 3fff0de4 3fff10ec 4023a15d  
[08:22:02]3ffffe20:  00000003 3fff0d55 00000002 4023a20d  
[08:22:02]3ffffe30:  00000001 00000077 3fff10ec 00000005  
[08:22:02]3ffffe40:  00000001 3fff276c 00000005 4023536a  
[08:22:02]3ffffe50:  00000001 00000001 3ffffea0 402353a1  
[08:22:02]3ffffe60:  00000001 00000001 3ffffea0 4021d7d2  
[08:22:02]3ffffe70:  00000000 00000001 3ffffeb1 00000001  
[08:22:02]3ffffe80:  4051b6e0 3fff2948 3f800000 3fffff45  
[08:22:02]3ffffe90:  00000005 3fffff45 3fff36d0 4023d110  
[08:22:02]3ffffea0:  3fffff45 00000005 00000008 4020a3f9  
[08:22:02]3ffffeb0:  0000b6e0 00000000 00000000 4023d0b6  
[08:22:02]3ffffec0:  00000000 3fff3248 3fff2948 40202442  
[08:22:02]3ffffed0:  00000000 3fff28ac 00000000 4021b902  
[08:22:02]3ffffee0:  0000001f 00000017 00000020 4020a46d  
[08:22:02]3ffffef0:  00000005 3fff28ac 00000000 4020a4c4  
[08:22:02]3fffff00:  0000e0b6 49f42400 00000000 3fff2948  
[08:22:02]3fffff10:  3ffe914a 3fff359c 3fff28ac 4020a588  
[08:22:02]3fffff20:  000366b8 d76490ce 2c750058 1e3cfebb  
[08:22:02]3fffff30:  ece60000 3e1ef972 2d00338c eb9c7814  
[08:22:02]3fffff40:  f8b65364 16aa3a12 4022e348 40201038  
[08:22:02]3fffff50:  3fff0b1c 00000002 3fff289c 4021adbd  
[08:22:02]3fffff60:  3fffff61 3fffff60 00000000 3fff2758  
[08:22:02]3fffff70:  3fff289c 00000003 3fff0b18 40227d29  
[08:22:02]3fffff80:  0000000d 0000000d 3fff3c0c feefeffe  
[08:22:02]3fffff90:  00000010 3ffe9abf 3ffe9acd feefeffe  
[08:22:02]3fffffa0:  feefeffe feefeffe feefeffe 3fff10a0  
[08:22:02]3fffffb0:  3fffdad0 00000000 3fff1074 40239714  
[08:22:02]3fffffc0:  feefeffe feefeffe 3fffdab0 4010048d  
[08:22:02]<<<stack<<<
[08:22:02]
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

[08:22:02] ets Jan  8 2013,rst cause:2, boot mode:(3,6)
[08:22:02]
[08:22:02]load 0x4010f000, len 3424, room 16 
[08:22:02]tail 0
[08:22:02]chksum 0x2e
[08:22:02]load 0x3fff20b8, len 40, room 8 
[08:22:02]tail 0
[08:22:02]chksum 0x2b
[08:22:02]csum 0x2b
[08:22:02]v0008f510
[08:22:02]~ld
[08:22:02]����g�{��g|�d�l c��|;�d�o��g�$`��s�d�l��[I][logger:034]: Log initialized
[08:22:02][C][safe_mode:079]: There have been 1 suspected unsuccessful boot attempts
[08:22:02][I][app:029]: Running through setup()...
[08:22:02][I][i2c.arduino:218]: Performing I2C bus recovery
[08:22:02][C][bme68x_bsec2.sensor:023]: Setting up BME68X via BSEC2...
[08:22:02]
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Additional information

When the sensor is not connected everything starts up normaly.

INFO ESPHome 2024.9.2
INFO Reading configuration /config/esphome/esphome-02.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esphome-02 (board: d1_mini; framework: arduino; platform: platformio/espressif8266@4.2.1)
--------------------------------------------------------------------------------
Library Manager: Installing esphome/ESPAsyncTCP-esphome @ 2.0.0
INFO Installing esphome/ESPAsyncTCP-esphome @ 2.0.0
Unpacking  [####################################]  100%
Library Manager: ESPAsyncTCP-esphome@2.0.0 has been installed!
INFO ESPAsyncTCP-esphome@2.0.0 has been installed!
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 3.2.2
INFO Installing esphome/ESPAsyncWebServer-esphome @ 3.2.2
Unpacking  [####################################]  100%
Library Manager: ESPAsyncWebServer-esphome@3.2.2 has been installed!
INFO ESPAsyncWebServer-esphome@3.2.2 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/noise-c @ 0.1.6
INFO Installing esphome/noise-c @ 0.1.6
Unpacking  [####################################]  100%
Library Manager: noise-c@0.1.6 has been installed!
INFO noise-c@0.1.6 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/libsodium @ 1.10018.4
INFO Installing esphome/libsodium @ 1.10018.4
Unpacking  [####################################]  100%
Library Manager: libsodium@1.10018.4 has been installed!
INFO libsodium@1.10018.4 has been installed!
Library Manager: Installing bblanchon/ArduinoJson @ 6.18.5
INFO Installing bblanchon/ArduinoJson @ 6.18.5
Unpacking  [####################################]  100%
Library Manager: ArduinoJson@6.18.5 has been installed!
INFO ArduinoJson@6.18.5 has been installed!
Library Manager: Installing improv/Improv @ 1.2.4
INFO Installing improv/Improv @ 1.2.4
Unpacking  [####################################]  100%
Library Manager: Improv@1.2.4 has been installed!
INFO Improv@1.2.4 has been installed!
Library Manager: Installing git+https://github.com/boschsensortec/Bosch-BSEC2-Library.git#v1.7.2502
INFO Installing git+https://github.com/boschsensortec/Bosch-BSEC2-Library.git#v1.7.2502
git version 2.39.5
Cloning into '/data/cache/platformio/cache/tmp/pkg-installing-hmxprhjm'...
Note: switching to '4a08fd082c17fc9d13313162d0a32eca0f5e6f35'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Library Manager: BSEC2 Software Library@1.7.2502+sha.4a08fd0 has been installed!
INFO BSEC2 Software Library@1.7.2502+sha.4a08fd0 has been installed!
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
Library Manager: Installing BME68x Sensor library @ 1.1.40407
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: BME68x Sensor library@1.1.40407 has been installed!
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.6
|-- Wire @ 1.0
|-- ArduinoJson @ 6.18.5
|-- Improv @ 1.2.4
|-- SPI @ 1.0
|-- BME68x Sensor library @ 1.1.40407
|-- bsec2 @ 1.7.2502+sha.4a08fd0
Compiling .pioenvs/esphome-02/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/bme68x_bsec2/bme68x_bsec2.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/bme68x_bsec2_i2c/bme68x_bsec2_i2c.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/dashboard_import/dashboard_import.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/esp8266/core.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/esp8266/gpio.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/esp8266/preferences.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/esphome/ota/ota_esphome.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/i2c/i2c.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/i2c/i2c_bus_arduino.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/i2c/i2c_bus_esp_idf.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/improv_base/improv_base.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/improv_serial/improv_serial_component.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/json/json_util.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/logger/logger_esp32.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/logger/logger_esp8266.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/logger/logger_host.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/logger/logger_libretiny.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/logger/logger_rp2040.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/mdns/mdns_host.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/mdns/mdns_libretiny.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/ota/ota_backend.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/ota/ota_backend_arduino_libretiny.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/safe_mode/safe_mode.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/sensor/automation.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/sensor/filter.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/sensor/sensor.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/socket/lwip_sockets_impl.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/web_server/list_entities.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/web_server/web_server.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/web_server/web_server_v1.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/wifi/wifi_component.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/wifi/wifi_component_libretiny.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/application.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/bytebuffer.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/color.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/component.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/component_iterator.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/controller.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/entity_base.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/log.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/ring_buffer.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/string_ref.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/time.cpp.o
Compiling .pioenvs/esphome-02/src/esphome/core/util.cpp.o
Compiling .pioenvs/esphome-02/src/main.cpp.o
Generating LD script .pioenvs/esphome-02/ld/local.eagle.app.v6.common.ld
Compiling .pioenvs/esphome-02/lib522/ESPAsyncTCP-esphome/AsyncPrinter.cpp.o
Compiling .pioenvs/esphome-02/lib522/ESPAsyncTCP-esphome/ESPAsyncTCP.cpp.o
Compiling .pioenvs/esphome-02/lib522/ESPAsyncTCP-esphome/ESPAsyncTCPbuffer.cpp.o
Compiling .pioenvs/esphome-02/lib522/ESPAsyncTCP-esphome/SyncClient.cpp.o
Compiling .pioenvs/esphome-02/lib522/ESPAsyncTCP-esphome/tcp_axtls.c.o
Compiling .pioenvs/esphome-02/libaf0/Hash/Hash.cpp.o
Archiving .pioenvs/esphome-02/libaf0/libHash.a
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/BearSSLHelpers.cpp.o
Archiving .pioenvs/esphome-02/lib522/libESPAsyncTCP-esphome.a
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/CertStoreBearSSL.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFi.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiAP.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/ESP8266WiFiScan.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/WiFiClient.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/WiFiServer.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/esphome-02/lib67b/ESP8266WiFi/enable_wifi_at_boot_time.cpp.o
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Archiving .pioenvs/esphome-02/lib67b/libESP8266WiFi.a
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling .pioenvs/esphome-02/libe1d/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling .pioenvs/esphome-02/libecb/DNSServer/DNSServer.cpp.o
Archiving .pioenvs/esphome-02/libe1d/libESPAsyncWebServer-esphome.a
Compiling .pioenvs/esphome-02/lib3ff/ESP8266mDNS/ESP8266mDNS.cpp.o
Archiving .pioenvs/esphome-02/libecb/libDNSServer.a
Compiling .pioenvs/esphome-02/lib3ff/ESP8266mDNS/LEAmDNS.cpp.o
Compiling .pioenvs/esphome-02/lib3ff/ESP8266mDNS/LEAmDNS_Control.cpp.o
Compiling .pioenvs/esphome-02/lib3ff/ESP8266mDNS/LEAmDNS_Helpers.cpp.o
Compiling .pioenvs/esphome-02/lib3ff/ESP8266mDNS/LEAmDNS_Structs.cpp.o
Compiling .pioenvs/esphome-02/lib3ff/ESP8266mDNS/LEAmDNS_Transfer.cpp.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_core/ed25519/core_ed25519.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_core/ed25519/core_ristretto255.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c.o
Archiving .pioenvs/esphome-02/lib3ff/libESP8266mDNS.a
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_core/salsa/ref/core_salsa_ref.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/generichash_blake2.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-avx2.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ref.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-sse41.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/ref/blake2b-ref.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_generichash/blake2b/ref/generichash_blake2b.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_hash/crypto_hash.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_hash/sha256/hash_sha256.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_hash/sha512/cp/hash_sha512_cp.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_hash/sha512/hash_sha512.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_onetimeauth/crypto_onetimeauth.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2-core.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2-encoding.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2-fill-block-avx2.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2-fill-block-avx512f.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2-fill-block-ref.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2-fill-block-ssse3.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/argon2.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/blake2b-long.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_scalarmult/crypto_scalarmult.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_sign/crypto_sign.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_sign/ed25519/ref10/keypair.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_sign/ed25519/ref10/obsolete.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_sign/ed25519/ref10/open.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_sign/ed25519/ref10/sign.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_sign/ed25519/sign_ed25519.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/chacha20/ref/chacha20_ref.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/chacha20/stream_chacha20.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/crypto_stream.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/salsa20/ref/salsa20_ref.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/salsa20/stream_salsa20.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/crypto_verify/sodium/verify.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/randombytes/internal/randombytes_internal_random.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/randombytes/randombytes.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/randombytes/sysrandom/randombytes_sysrandom.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/sodium/codecs.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/sodium/core.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/sodium/runtime.c.o
Compiling .pioenvs/esphome-02/libd12/libsodium/sodium/utils.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/openssl/cipher-aesgcm.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/ref/cipher-aesgcm.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/ref/cipher-chachapoly.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/ref/dh-curve25519.c.o
Archiving .pioenvs/esphome-02/libd12/libsodium.a
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/ref/hash-blake2b.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/ref/hash-blake2s.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/ref/hash-sha256.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/sodium/cipher-aesgcm.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/sodium/cipher-chachapoly.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/sodium/dh-curve25519.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/sodium/hash-blake2b.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/backend/sodium/hash-sha256.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/aes/rijndael-alg-fst.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/blake2/blake2b.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/blake2/blake2s.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/chacha/chacha.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/donna/curve25519-donna-c64.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/donna/curve25519-donna.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/donna/poly1305-donna.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/sha2/sha256.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/sha2/sha512.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/crypto/x25519/x25519.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/cipherstate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/dhstate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/errors.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/handshakestate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/hashstate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/internal.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/names.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/patterns.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/rand_os.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/rand_sodium.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/randstate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/signstate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/symmetricstate.c.o
Compiling .pioenvs/esphome-02/lib128/noise-c/protocol/util.c.o
Compiling .pioenvs/esphome-02/libb5a/Wire/Wire.cpp.o
Archiving .pioenvs/esphome-02/lib128/libnoise-c.a
Compiling .pioenvs/esphome-02/lib6f7/Improv/improv.cpp.o
Archiving .pioenvs/esphome-02/libb5a/libWire.a
Compiling .pioenvs/esphome-02/libf5a/SPI/SPI.cpp.o
Archiving .pioenvs/esphome-02/lib6f7/libImprov.a
Compiling .pioenvs/esphome-02/lib113/BME68x Sensor library/bme68x/bme68x.c.o
Compiling .pioenvs/esphome-02/lib113/BME68x Sensor library/bme68xLibrary.cpp.o
Archiving .pioenvs/esphome-02/libf5a/libSPI.a
Compiling .pioenvs/esphome-02/lib986/BSEC2 Software Library/bsec2.cpp.o
Archiving .pioenvs/esphome-02/lib113/libBME68x Sensor library.a
Compiling .pioenvs/esphome-02/lib986/BSEC2 Software Library/commMux/commMux.cpp.o
Archiving .pioenvs/esphome-02/libFrameworkArduinoVariant.a
Compiling .pioenvs/esphome-02/FrameworkArduino/Crypto.cpp.o
Archiving .pioenvs/esphome-02/lib986/libBSEC2 Software Library.a
Compiling .pioenvs/esphome-02/FrameworkArduino/Esp-frag.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Esp-version.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Esp.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/FS.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/FSnoop.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/IPAddress.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/LwipDhcpServer-NonOS.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/LwipDhcpServer.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/LwipIntf.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/LwipIntfCB.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Schedule.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/StackThunk.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/StreamSend.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Tone.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/TypeConversion.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/Updater.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/abi.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/aes_unwrap.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/cont.S.o
Compiling .pioenvs/esphome-02/FrameworkArduino/cont_util.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_app_entry_noextra4k.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_eboot_command.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_features.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_flash_quirks.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_flash_utils.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_i2s.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_main.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_non32xfer.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_noniso.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_phy.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_postmortem.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_si2c.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_sigma_delta.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_spi_utils.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_timer.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_vm.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_waveform_phase.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_waveform_pwm.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_wiring.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_wiring_analog.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_wiring_digital.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_wiring_pulse.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_wiring_pwm.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/core_esp8266_wiring_shift.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/crc32.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/debug.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/exc-c-wrapper-handler.S.o
Compiling .pioenvs/esphome-02/FrameworkArduino/exc-sethandler.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/flash_hal.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/gdb_hooks.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/heap.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/hwdt_app_entry.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/libb64/cdecode.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/libb64/cencode.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/libc_replacements.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/mmu_iram.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/reboot_uart_dwnld.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/spiffs/spiffs_cache.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/spiffs/spiffs_check.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/spiffs/spiffs_gc.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/spiffs/spiffs_hydrogen.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/spiffs/spiffs_nucleus.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/spiffs_api.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/sqrt32.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/stdlib_noniso.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/time.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/uart.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/umm_malloc/umm_info.c.o
Compiling .pioenvs/esphome-02/FrameworkArduino/umm_malloc/umm_integrity.c.o
Compiling .pioenvs/esphome-02/FrameworkArduino/umm_malloc/umm_local.c.o
Compiling .pioenvs/esphome-02/FrameworkArduino/umm_malloc/umm_malloc.cpp.o
Compiling .pioenvs/esphome-02/FrameworkArduino/umm_malloc/umm_poison.c.o
Compiling .pioenvs/esphome-02/FrameworkArduino/wpa2_eap_patch.cpp.o
Archiving .pioenvs/esphome-02/libFrameworkArduino.a
Linking .pioenvs/esphome-02/firmware.elf
RAM:   [=====     ]  47.6% (used 39024 bytes from 81920 bytes)
Flash: [======    ]  55.8% (used 582865 bytes from 1044464 bytes)
Building .pioenvs/esphome-02/firmware.bin
esp8266_copy_factory_bin([".pioenvs/esphome-02/firmware.bin"], [".pioenvs/esphome-02/firmware.elf"])
esp8266_copy_ota_bin([".pioenvs/esphome-02/firmware.bin"], [".pioenvs/esphome-02/firmware.elf"])
======================== [SUCCESS] Took 348.73 seconds ========================
INFO Successfully compiled program.
INFO Connecting to 192.168.14.102
INFO Uploading /data/build/esphome-02/.pioenvs/esphome-02/firmware.bin (587024 bytes)
INFO Compressed to 407830 bytes
Uploading: [============================================================] 100% Done...

INFO Upload took 6.69 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.14.102 using esphome API
INFO Successfully connected to esphome-02 @ 192.168.14.102 in 19.310s
INFO Successful handshake with esphome-02 @ 192.168.14.102 in 2.676s
[08:14:03][I][app:100]: ESPHome version 2024.9.2 compiled on Oct  2 2024, 08:10:41
[08:14:03][I][app:102]: Project esphome.web version dev
[08:14:03][C][wifi:600]: WiFi:
[08:14:03][C][wifi:428]:   Local MAC: 80:7D:3A:36:BE:A3
[08:14:03][C][wifi:433]:   SSID: [redacted]
[08:14:03][C][wifi:436]:   IP Address: 192.168.14.102
[08:14:03][C][wifi:439]:   BSSID: [redacted]
[08:14:03][C][wifi:441]:   Hostname: 'esphome-02'
[08:14:03][C][wifi:443]:   Signal strength: -80 dB ▂▄▆█
[08:14:03][C][wifi:447]:   Channel: 1
[08:14:03][C][wifi:448]:   Subnet: 255.255.255.0
[08:14:03][C][wifi:449]:   Gateway: 192.168.14.1
[08:14:03][C][wifi:450]:   DNS1: 192.168.14.2
[08:14:03][C][wifi:451]:   DNS2: 192.168.14.2
[08:14:03][C][logger:185]: Logger:
[08:14:03][C][logger:186]:   Level: DEBUG
[08:14:03][C][logger:188]:   Log Baud Rate: 115200
[08:14:03][C][logger:189]:   Hardware UART: UART0
[08:14:03][C][i2c.arduino:071]: I2C Bus:
[08:14:03][C][i2c.arduino:072]:   SDA Pin: GPIO4
[08:14:03][C][i2c.arduino:073]:   SCL Pin: GPIO5
[08:14:03][C][i2c.arduino:074]:   Frequency: 50000 Hz
[08:14:03][C][i2c.arduino:086]:   Recovery: bus successfully recovered
[08:14:03][I][i2c.arduino:096]: Results from i2c bus scan:
[08:14:03][I][i2c.arduino:098]: Found no i2c devices!
[08:14:03][C][bme68x_bsec2_i2c.sensor:029]:   Address: 0x77
[08:14:03][C][bme68x_bsec2.sensor:060]: BME68X via BSEC2:
[08:14:03][C][bme68x_bsec2.sensor:062]:   BSEC2 version: 2.5.0.2
[08:14:03][C][bme68x_bsec2.sensor:065]:   BSEC2 configuration blob:
[08:14:03][C][bme68x_bsec2.sensor:066]:     Configured: NO
[08:14:03][C][bme68x_bsec2.sensor:068]:     Size: 2063
[08:14:03][E][bme68x_bsec2.sensor:072]: Communication failed (BSEC2 status: 0, BME68X status: -2)
[08:14:03][C][bme68x_bsec2.sensor:079]:   Operating age: 28 days
[08:14:03][C][bme68x_bsec2.sensor:080]:   Sample rate: LP
[08:14:03][C][bme68x_bsec2.sensor:081]:   Voltage: 3.3V
[08:14:03][C][bme68x_bsec2.sensor:082]:   State save interval: 21600000ms
[08:14:03][C][bme68x_bsec2.sensor:083]:   Temperature offset: 0.00
[08:14:03][C][bme68x_bsec2.sensor:086]:   Temperature 'BME68x Temperature'
[08:14:03][C][bme68x_bsec2.sensor:086]:     Device Class: 'temperature'
[08:14:03][C][bme68x_bsec2.sensor:086]:     State Class: 'measurement'
[08:14:03][C][bme68x_bsec2.sensor:086]:     Unit of Measurement: '°C'
[08:14:03][C][bme68x_bsec2.sensor:086]:     Accuracy Decimals: 1
[08:14:03][C][bme68x_bsec2.sensor:086]:     Icon: 'mdi:thermometer'
[08:14:03][C][bme68x_bsec2.sensor:087]:     Sample rate: Default
[08:14:03][C][bme68x_bsec2.sensor:088]:   Pressure 'BME68x Pressure'
[08:14:03][C][bme68x_bsec2.sensor:088]:     Device Class: 'atmospheric_pressure'
[08:14:03][C][bme68x_bsec2.sensor:088]:     State Class: 'measurement'
[08:14:03][C][bme68x_bsec2.sensor:088]:     Unit of Measurement: 'hPa'
[08:14:03][C][bme68x_bsec2.sensor:088]:     Accuracy Decimals: 1
[08:14:03][C][bme68x_bsec2.sensor:088]:     Icon: 'mdi:gauge'
[08:14:03][C][bme68x_bsec2.sensor:089]:     Sample rate: Default
[08:14:03][C][bme68x_bsec2.sensor:090]:   Humidity 'BME68x Humidity'
[08:14:03][C][bme68x_bsec2.sensor:090]:     Device Class: 'humidity'
[08:14:03][C][bme68x_bsec2.sensor:090]:     State Class: 'measurement'
[08:14:03][C][bme68x_bsec2.sensor:090]:     Unit of Measurement: '%'
[08:14:03][C][bme68x_bsec2.sensor:090]:     Accuracy Decimals: 1
[08:14:03][C][bme68x_bsec2.sensor:090]:     Icon: 'mdi:water-percent'
[08:14:03][C][bme68x_bsec2.sensor:091]:     Sample rate: Default
[08:14:03][C][bme68x_bsec2.sensor:093]:   CO2 equivalent 'BME68x CO2 Equivalent'
[08:14:03][C][bme68x_bsec2.sensor:093]:     State Class: 'measurement'
[08:14:03][C][bme68x_bsec2.sensor:093]:     Unit of Measurement: 'ppm'
[08:14:03][C][bme68x_bsec2.sensor:093]:     Accuracy Decimals: 1
[08:14:03][C][bme68x_bsec2.sensor:093]:     Icon: 'mdi:test-tube'
[08:14:03][C][bme68x_bsec2.sensor:094]:   Breath VOC equivalent 'BME68x Breath VOC Equivalent'
[08:14:03][C][bme68x_bsec2.sensor:094]:     State Class: 'measurement'
[08:14:03][C][bme68x_bsec2.sensor:094]:     Unit of Measurement: 'ppm'
[08:14:03][C][bme68x_bsec2.sensor:094]:     Accuracy Decimals: 1
[08:14:03][C][bme68x_bsec2.sensor:094]:     Icon: 'mdi:test-tube'
[08:14:03][C][bme68x_bsec2.sensor:095]:   IAQ 'BME68x IAQ'
[08:14:03][C][bme68x_bsec2.sensor:095]:     State Class: 'measurement'
[08:14:03][C][bme68x_bsec2.sensor:095]:     Unit of Measurement: 'IAQ'
[08:14:03][C][bme68x_bsec2.sensor:095]:     Accuracy Decimals: 0
[08:14:03][C][bme68x_bsec2.sensor:095]:     Icon: 'mdi:gauge'
[08:14:03][E][component:082]:   Component bme68x_bsec2 is marked FAILED
[08:14:03][C][captive_portal:089]: Captive Portal:
[08:14:03][C][web_server:145]: Web Server:
[08:14:03][C][web_server:146]:   Address: esphome-02.home.my-secret-domain.de:80
[08:14:03][C][mdns:116]: mDNS:
[08:14:03][C][mdns:117]:   Hostname: esphome-02
[08:14:03][C][esphome.ota:073]: Over-The-Air updates:
[08:14:03][C][esphome.ota:074]:   Address: esphome-02.home.my-secret-domain.de:8266
[08:14:03][C][esphome.ota:075]:   Version: 2
[08:14:03][C][esphome.ota:078]:   Password configured
[08:14:03][C][safe_mode:018]: Safe Mode:
[08:14:03][C][safe_mode:019]:   Boot considered successful after 60 seconds
[08:14:03][C][safe_mode:021]:   Invoke after 10 boot attempts
[08:14:03][C][safe_mode:022]:   Remain in safe mode for 300 seconds
[08:14:03][C][api:139]: API Server:
[08:14:03][C][api:140]:   Address: esphome-02.home.my-secret-domain.de:6053
[08:14:03][C][api:142]:   Using noise encryption: YES
[08:14:03][C][improv_serial:032]: Improv Serial:
[08:14:49][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
mquade commented 1 month ago

Duplicate of #6261

The Board/Sensor works with the additional Flag

esphome:
  platformio_options:
    build_flags:
      - -DPIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48_SECHEAP_SHARED

But RAM isn't full - so I don't get the issue... 😕

Archiving .pioenvs/esphome-02/libFrameworkArduino.a
Linking .pioenvs/esphome-02/firmware.elf
RAM:   [=====     ]  47.7% (used 39064 bytes from 81920 bytes)
Flash: [======    ]  55.9% (used 583957 bytes from 1044464 bytes)
Building .pioenvs/esphome-02/firmware.bin
ssieb commented 1 month ago

But RAM isn't full - so I don't get the issue...

That is the static RAM usage. That's how much is being used before anything is running, so that's actually a surprisingly large amount.

mquade commented 1 month ago

that's actually a surprisingly large amount.

Thanks for clearification. If I remove all sensors, additional modules etc. I still end up with 32 kb used SRAM:

Linking .pioenvs/esphome-02/firmware.elf
RAM:   [====      ]  39.5% (used 32372 bytes from 81920 bytes)
Flash: [====      ]  42.5% (used 444171 bytes from 1044464 bytes)
Building .pioenvs/esphome-02/firmware.bin
esp8266_copy_factory_bin([".pioenvs/esphome-02/firmware.bin"], [".pioenvs/esphome-02/firmware.elf"])

So the difference with enabled web server, captive portal, i2c and bme680 library is ~7 kb I don't know whats in those 32k but the compiler is doing a lot of stuff :-D