RobTillaart / ACS712

Arduino library for ACS Current Sensor - 5A, 20A, 30A
MIT License
129 stars 35 forks source link

Build Errors with ESPHome 2023.7.1 #40

Closed chris-kuhr closed 1 year ago

chris-kuhr commented 1 year ago

Hi,

I am running ESPHome in Docker on an RPi4B 2G. My other devices work just fine on the Olimex ESP32-PoE-ISO. I saw the erros shwon below in my installation and updated the docker image just an hour ago, but the errors persist.

Here are the logs:

INFO Reading configuration /config/energy-probe.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing energy-probe-appliance (board: esp32-poe-iso; framework: arduino; platform: platformio/espressif32@5.3.0)
--------------------------------------------------------------------------------
Removing unused dependencies...
Library Manager: Installing git+https://github.com/RobTillaart/ACS712.git
INFO Installing git+https://github.com/RobTillaart/ACS712.git
git version 2.30.2
Cloning into '/config/.esphome/platformio/cache/tmp/pkg-installing-ukh35_rd'...
Library Manager: ACS712@0.3.7+sha.c56d3ce has been installed!
INFO ACS712@0.3.7+sha.c56d3ce has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- ACS712 @ 0.3.7+sha.c56d3ce
|-- WiFi @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- Update @ 2.0.0
|-- noise-c @ 0.1.4
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/adc/adc_sensor.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/custom/sensor/custom_sensor.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/esp32/gpio.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ethernet/esp_eth_phy_jl1101.c.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ethernet/ethernet_component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_host.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/sensor/automation.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/sensor/filter.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/sensor/sensor.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/application.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/color.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/component_iterator.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/controller.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/entity_base.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/log.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/string_ref.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/time.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/util.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/main.cpp.o
Building .pioenvs/energy-probe-appliance/bootloader.bin
Generating partitions .pioenvs/energy-probe-appliance/partitions.bin
Creating esp32 image...
Successfully created esp32 image.
Compiling .pioenvs/energy-probe-appliance/lib159/ACS712/ACS712.cpp.o
In file included from /config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36,
                 from .piolibdeps/energy-probe-appliance/ACS712/ACS712.h:14,
                 from src/acs712_component.h:1,
                 from src/main.cpp:25:
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:70:16: error: macro "yield" passed 1 arguments, but takes just 0
 void yield(void);
                ^
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFi.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiAP.cpp.o
Archiving .pioenvs/energy-probe-appliance/lib159/libACS712.a
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:70:6: error: variable or field 'yield' declared void
 void yield(void);
      ^~~~~
src/main.cpp:22:34: error: 'long unsigned int esphome::micros()' should have been declared inside 'esphome'
 #define micros() esphome::micros()
                                  ^
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:130:15: note: in expansion of macro 'micros'
 unsigned long micros();
               ^~~~~~
src/main.cpp:22:18: error: ambiguating new declaration of 'long unsigned int esphome::micros()'
 #define micros() esphome::micros()
                  ^~~~~~~
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:130:15: note: in expansion of macro 'micros'
 unsigned long micros();
               ^~~~~~
In file included from src/esphome/components/adc/adc_sensor.h:4,
                 from src/esphome.h:3,
                 from src/main.cpp:3:
src/esphome/core/hal.h:38:10: note: old declaration 'uint32_t esphome::micros()'
 uint32_t micros();
          ^~~~~~
src/main.cpp:21:34: error: 'long unsigned int esphome::millis()' should have been declared inside 'esphome'
 #define millis() esphome::millis()
                                  ^
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:131:15: note: in expansion of macro 'millis'
 unsigned long millis();
               ^~~~~~
src/main.cpp:21:18: error: ambiguating new declaration of 'long unsigned int esphome::millis()'
 #define millis() esphome::millis()
                  ^~~~~~~
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:131:15: note: in expansion of macro 'millis'
 unsigned long millis();
               ^~~~~~
In file included from src/esphome/components/adc/adc_sensor.h:4,
                 from src/esphome.h:3,
                 from src/main.cpp:3:
src/esphome/core/hal.h:37:10: note: old declaration 'uint32_t esphome::millis()'
 uint32_t millis();
          ^~~~~~
src/main.cpp:23:18: error: conflicting declaration of 'void esphome::delay(uint32_t)' with 'C' linkage
 #define delay(x) esphome::delay(x)
                  ^~~~~~~
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:132:6: note: in expansion of macro 'delay'
 void delay(uint32_t);
      ^~~~~
In file included from src/esphome/components/adc/adc_sensor.h:4,
                 from src/esphome.h:3,
                 from src/main.cpp:3:
src/esphome/core/hal.h:39:6: note: previous declaration with 'C++' linkage
 void delay(uint32_t ms);
      ^~~~~
src/main.cpp:24:30: error: conflicting declaration of 'void esphome::delayMicroseconds(uint32_t)' with 'C' linkage
 #define delayMicroseconds(x) esphome::delayMicroseconds(x)
                              ^~~~~~~
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:133:6: note: in expansion of macro 'delayMicroseconds'
 void delayMicroseconds(uint32_t us);
      ^~~~~~~~~~~~~~~~~
In file included from src/esphome/components/adc/adc_sensor.h:4,
                 from src/esphome.h:3,
                 from src/main.cpp:3:
src/esphome/core/hal.h:40:6: note: previous declaration with 'C++' linkage
 void delayMicroseconds(uint32_t us);  // NOLINT(readability-identifier-naming)
      ^~~~~~~~~~~~~~~~~
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiClient.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiGeneric.cpp.o
*** [.pioenvs/energy-probe-appliance/src/main.cpp.o] Error 1
========================= [FAILED] Took 51.12 seconds =========================
RobTillaart commented 1 year ago

Thanks for reporting this issue. Unfortunately I have no experience with ESPhome. Will look at your logs later today if time permits to see if I can help.

chris-kuhr commented 1 year ago

Here is a repo that utilizes this one and is included with a wrapper: https://github.com/marianomd/acs712-esphome.git

RobTillaart commented 1 year ago
/config/.esphome/platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:70:16: error: macro "yield" passed 1 arguments, but takes just 0
 void yield(void);

This is an ESP32 error, yield() is not used in the ACS712 version 0.3.7, so the library does not cause this.


The other errors look like linking errors, they refer to "timing" functions and a mismatch in definitions in esphome::

millis(), micros(), delay(), delayMicroseconds()

There is a problem of redefinition with includes:

So I expect one of them should be removed (or patched), or ??? Disclaimer: no ESPhome experience

Q: if you remove the ACS712 library from the project, are all errors gone?


So, as far as I can tell there is no problem pointing to the ACS712 library. All errors seem to be ESP32 / ESPhome related.

RobTillaart commented 1 year ago

Here is a repo that utilizes this one and is included with a wrapper: https://github.com/marianomd/acs712-esphome.git

Think I understand that code, and it seems nowhere related to the errors you see.

chris-kuhr commented 1 year ago

Thanks for the clarification. And yes, without it, it compiles just fine. Here the output:

INFO Reading configuration /config/energy-probe.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing energy-probe-appliance (board: esp32-poe-iso; framework: arduino; platform: platformio/espressif32@5.3.0)
--------------------------------------------------------------------------------
Removing unused dependencies...
Library Manager: Removing ACS712 @ 0.3.7+sha.c56d3ce
INFO Removing ACS712 @ 0.3.7+sha.c56d3ce
Library Manager: ACS712@0.3.7+sha.c56d3ce has been removed!
INFO ACS712@0.3.7+sha.c56d3ce has been removed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- WiFi @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- Update @ 2.0.0
|-- noise-c @ 0.1.4
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/adc/adc_sensor.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/esp32/gpio.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ethernet/esp_eth_phy_jl1101.c.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ethernet/ethernet_component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_host.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/sensor/automation.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/sensor/filter.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/sensor/sensor.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/application.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/color.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/component.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/component_iterator.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/controller.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/entity_base.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/log.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/string_ref.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/time.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/esphome/core/util.cpp.o
Compiling .pioenvs/energy-probe-appliance/src/main.cpp.o
Building .pioenvs/energy-probe-appliance/bootloader.bin
Generating partitions .pioenvs/energy-probe-appliance/partitions.bin
Creating esp32 image...
Successfully created esp32 image.
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFi.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiAP.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiClient.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiGeneric.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiMulti.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiSTA.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiScan.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiServer.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib18f/WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/energy-probe-appliance/lib3c3/ESPmDNS/ESPmDNS.cpp.o
Compiling .pioenvs/energy-probe-appliance/libb83/Update/HttpsOTAUpdate.cpp.o
Compiling .pioenvs/energy-probe-appliance/libb83/Update/Updater.cpp.o
Archiving .pioenvs/energy-probe-appliance/lib18f/libWiFi.a
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_core/ed25519/core_ed25519.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_core/ed25519/core_ristretto255.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_hash/crypto_hash.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c.o
Archiving .pioenvs/energy-probe-appliance/lib3c3/libESPmDNS.a
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_hash/sha256/hash_sha256.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_onetimeauth/crypto_onetimeauth.c.o
Archiving .pioenvs/energy-probe-appliance/libb83/libUpdate.a
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_scalarmult/crypto_scalarmult.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_stream/chacha20/ref/chacha20_ref.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_stream/chacha20/stream_chacha20.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_stream/crypto_stream.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/crypto_verify/sodium/verify.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/sodium/codecs.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/sodium/core.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/sodium/runtime.c.o
Compiling .pioenvs/energy-probe-appliance/lib205/libsodium/sodium/utils.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/openssl/cipher-aesgcm.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/ref/cipher-aesgcm.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/ref/cipher-chachapoly.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/ref/dh-curve25519.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/ref/hash-blake2b.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/ref/hash-blake2s.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/ref/hash-sha256.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/sodium/cipher-aesgcm.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/sodium/cipher-chachapoly.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/sodium/dh-curve25519.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/sodium/hash-blake2b.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/backend/sodium/hash-sha256.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/aes/rijndael-alg-fst.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/blake2/blake2b.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/blake2/blake2s.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/chacha/chacha.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/donna/curve25519-donna-c64.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/donna/curve25519-donna.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/donna/poly1305-donna.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/sha2/sha256.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/sha2/sha512.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/crypto/x25519/x25519.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/cipherstate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/dhstate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/errors.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/handshakestate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/hashstate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/internal.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/names.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/patterns.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/rand_os.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/rand_sodium.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/randstate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/signstate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/symmetricstate.c.o
Compiling .pioenvs/energy-probe-appliance/lib588/noise-c/protocol/util.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/Esp.cpp.o
Archiving .pioenvs/energy-probe-appliance/lib588/libnoise-c.a
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/FirmwareMSC.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/HWCDC.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/HardwareSerial.cpp.o
Archiving .pioenvs/energy-probe-appliance/lib205/libsodium.a
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/IPAddress.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/IPv6Address.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/StreamString.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/Tone.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/USB.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/USBCDC.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/USBMSC.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-i2c-slave.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-rgb-led.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-time.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-tinyusb.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/firmware_msc_fat.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/libb64/cdecode.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/libb64/cencode.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/main.cpp.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/stdlib_noniso.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/wiring_pulse.c.o
Compiling .pioenvs/energy-probe-appliance/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/energy-probe-appliance/libFrameworkArduino.a
Linking .pioenvs/energy-probe-appliance/firmware.elf
RAM:   [=         ]  10.4% (used 34240 bytes from 327680 bytes)
Flash: [===       ]  33.5% (used 613829 bytes from 1835008 bytes)
Building .pioenvs/energy-probe-appliance/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/energy-probe-appliance/firmware.bin"], [".pioenvs/energy-probe-appliance/firmware.elf"])
Wrote 0xa6300 bytes to file /config/.esphome/build/energy-probe-appliance/.pioenvs/energy-probe-appliance/firmware-factory.bin, ready to flash to offset 0x0
========================= [SUCCESS] Took 87.96 seconds =========================
RobTillaart commented 1 year ago

@chris-kuhr Any progress made with this issue? Can it be closed (as it is not this library related) ?

chris-kuhr commented 1 year ago

not yet, the author of the library wanted to look at it, when he finds the time. no news since...

RobTillaart commented 1 year ago

As this issue is open for two months with no progress I close it. Feel free to reopen when new information is available