geoffdavis / esphome-mitsubishiheatpump

ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection
BSD 2-Clause "Simplified" License
583 stars 156 forks source link

Flashing on ESP_01S board ends up in compilation error #30

Closed ipetrovits closed 3 years ago

ipetrovits commented 3 years ago

Hi, first of all, great update!!

I was excited to try out the new 2.1 release, and here's what I got (seems like a conflict with esphome's native code for esp8266 chips?!):

In file included from /root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/CertStoreBearSSL.h:26:0,
                 from /root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.h:30,
                 from /root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiClientSecure.h:41,
                 from /root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiServerSecure.h:20,
                 from /root/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/ESP8266WiFi.h:41,
                 from src/esphome/components/wifi/wifi_component.h:18,
                 from src/esphome.h:58,
                 from src/esphome/components/mitsubishi_heatpump/espmhp.h:20,
                 from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20:
/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/FS.h: In static member function 'static time_t fs::FS::_defaultTimeCB()':
/root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/FS.h:243:49: error: reference to 'time' is ambiguous
     static time_t _defaultTimeCB(void) { return time(NULL); }
                                                 ^
In file included from /root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/wchar.h:4:0,
                 from /root/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/cwchar:44,
                 from /root/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/postypes.h:40,
                 from /root/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/char_traits.h:40,
                 from /root/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/string:40,
                 from src/esphome/core/component.h:3,
                 from src/esphome/components/api/api_connection.h:3,
                 from src/esphome.h:2,
                 from src/esphome/components/mitsubishi_heatpump/espmhp.h:20,
                 from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20:
/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/../include/time.h:53:18: note: candidates are: time_t time(time_t*)
 time_t    _EXFUN(time,     (time_t *_timer));
                  ^
In file included from src/esphome/components/homeassistant/time/homeassistant_time.h:4:0,
                 from src/esphome.h:21,
                 from src/esphome/components/mitsubishi_heatpump/espmhp.h:20,
                 from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20:
src/esphome/components/time/real_time_clock.h:11:16: note:                 namespace esphome::time { }
 namespace time {
                ^
geoffdavis commented 3 years ago

I'm running 3 ESP_01S boards at home and I'm not seeing this issue. I'm guessing it's old cached data from previous compilations.

I had to nuke everything in my esphome source directory that I didn't put there (i.e. it wasn't my YAML files or include files) in order to get this to build, because ESPHome and PlatformIO seem to cache things in all manner of random locations.

In particular, I had to nuke:

Also, make sure you're using ESPHome 1.18.0.

Note that I'm running ESPHome from a Hass.IO install on a Raspberry Pi 4 using the pre-Nabu Casa takeover add-on from GitHub. It should be identical to the version in the Home Assistant Community Add-ons repository.

ipetrovits commented 3 years ago

I'm running 3 ESP_01S boards at home and I'm not seeing this issue. I'm guessing it's old cached data from previous compilations.

I had to nuke everything in my esphome source directory that I didn't put there (i.e. it wasn't my YAML files or include files) in order to get this to build, because ESPHome and PlatformIO seem to cache things in all manner of random locations.

In particular, I had to nuke:

  • under /config/esphome/ on my HASS.IO box .esphome/ - note the dot nodeFoo - where nodeFoo is the ESPHome build artifacts directory corresponding to nodeFoo.yaml
  • I also had to run the "Clean Build Artifacts" task for the individual node to ensure the .platformio stuff got cleaned out

Also, make sure you're using ESPHome 1.18.0.

Note that I'm running ESPHome from a Hass.IO install on a Raspberry Pi 4 using the pre-Nabu Casa takeover add-on from GitHub. It should be identical to the version in the Home Assistant Community Add-ons repository.

ipetrovits commented 3 years ago

Sorry i clicked the wrong button..

I was able to compile only if i removed time: entry from the configuration.

Fortunately i won't use actual time component in this device, so not a big deal.. But in fact even after nuking the whole esphome setup i was unable to compile the example from the README.md if time: was used. btw I'm using 1.18.0 in hass.io addon.

geoffdavis commented 3 years ago

I'm not quite sure what's going on. I hate to be that guy that says "works on my machine, I'm going to lunch", but it works on my machine and I'm going to lunch.

That's with the slight caveat that I have to comment out the unused "libraries" and "includes" in the demo yaml config, which should be corrected on github shortly.

Here's my test YAML file:

esphome:
  name: hptest
  platform: ESP8266
  board: esp01_1m
  # Boards tested: ESP-01S (ESP8266), Wemos D1 Mini (ESP8266); ESP32 Wifi-DevKit2

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "HPTest Fallback Hotspot"
    password: !secret fallback_password

# Note: if upgrading from 1.x releases of esphome-mitsubishiheatpump, be sure
# to remove any old entries from the `libraries` and `includes` section.
#libraries:
  # Remove reference to SwiCago/HeatPump

#includes:
  # Remove reference to src/esphome-mitsubishiheatpump

captive_portal:

# Enable logging
logger:
  # ESP8266 only - disable serial port logging, as the HeatPump component
  # needs the sole hardware UART on the ESP8266
  baud_rate: 0

# Enable Home Assistant API
api:

ota:

# Enable Web server.
web_server:
  port: 80

  # Sync time with Home Assistant.
time:
  - platform: homeassistant
    id: homeassistant_time

# Text sensors with general information.
text_sensor:
  # Expose ESPHome version as sensor.
  - platform: version
    name: hptest ESPHome Version
  # Expose WiFi information as sensors.
  - platform: wifi_info
    ip_address:
      name: hptest IP
    ssid:
      name: hptest SSID
    bssid:
      name: hptest BSSID

# Sensors with general information.
sensor:
  # Uptime sensor.
  - platform: uptime
    name: hptest Uptime

  # WiFi Signal sensor.
  - platform: wifi_signal
    name: hptest WiFi Signal
    update_interval: 60s

external_components:
  - source: github://geoffdavis/esphome-mitsubishiheatpump

climate:
  - platform: mitsubishi_heatpump
    name: "Test Heat Pump"

    # ESP32 only - change UART0 to UART1 or UART2 and remove the
    # logging:baud_rate above to allow the built-in UART0 to function for
    # logging.
    hardware_uart: UART0

and here are my working build logs:

INFO Reading configuration /config/esphome/hptest.yaml...
INFO Detected timezone 'PST' with UTC offset -8 and daylight saving time from 13 March 02:00:00 to 06 November 02:00:00
INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Compiling app...
INFO Running:  platformio run -d /config/esphome/hptest
Processing hptest (board: esp01_1m; framework: arduino; platform: platformio/espressif8266@2.6.2)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
PACKAGES: 
 - framework-arduinoespressif8266 3.20704.0 (2.7.4) 
 - tool-esptool 1.413.0 (4.13) 
 - tool-esptoolpy 1.20800.0 (2.8.0) 
 - toolchain-xtensa 2.40802.200502 (4.8.2)
Library Manager: Installing Update
Library Manager: Already installed, built-in library
Library Manager: Installing git+https://github.com/SwiCago/HeatPump
git version 2.20.1
Cloning into '/root/.platformio/.cache/tmp/pkg-installing-r1gddeoy'...
Library Manager: HeatPump @ 1.0.0+sha.4c3e51f has been installed!
Dependency Graph
|-- <ESPAsyncTCP-esphome> 1.2.3
|   |-- <ESP8266WiFi> 1.0
|-- <ESPAsyncWebServer-esphome> 1.2.7
|   |-- <ESPAsyncTCP-esphome> 1.2.3
|   |   |-- <ESP8266WiFi> 1.0
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <ArduinoJson-esphomelib> 5.13.3
|-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
|   |-- <ESP8266WiFi> 1.0
|-- <ArduinoJson-esphomelib> 5.13.3
|-- <HeatPump> 1.0.0+sha.4c3e51f
|-- <DNSServer> 1.1.1
|   |-- <ESP8266WiFi> 1.0
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/api_connection.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/api_pb2.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/api_pb2_service.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/api_server.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/list_entities.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/proto.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/subscribe_state.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/user_services.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/api/util.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/climate/climate.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/climate/climate_mode.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/climate/climate_traits.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/homeassistant/time/homeassistant_time.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/json/json_util.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/logger/logger.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/mitsubishi_heatpump/espmhp.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/ota/ota_component.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/sensor/automation.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/sensor/filter.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/sensor/sensor.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/text_sensor/text_sensor.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/time/automation.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/time/real_time_clock.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/uptime/uptime_sensor.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/version/version_text_sensor.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/web_server/web_server.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/wifi/wifi_component.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/wifi/wifi_component_esp32.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/wifi_info/wifi_info_text_sensor.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/components/wifi_signal/wifi_signal_sensor.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/application.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/component.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/controller.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/esphal.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/helpers.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/log.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/preferences.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/scheduler.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/esphome/core/util.cpp.o
Compiling /data/hptest/.pioenvs/hptest/src/main.cpp.o
Generating LD script /data/hptest/.pioenvs/hptest/ld/local.eagle.app.v6.common.ld
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/BearSSLHelpers.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/CertStoreBearSSL.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFi.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiAP.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/ESP8266WiFiScan.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiClient.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiClientSecureAxTLS.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiServer.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiServerSecureAxTLS.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib4d9/ESP8266WiFi/WiFiUdp.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib189/ESPAsyncTCP-esphome/AsyncPrinter.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib189/ESPAsyncTCP-esphome/ESPAsyncTCP.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib189/ESPAsyncTCP-esphome/ESPAsyncTCPbuffer.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib189/ESPAsyncTCP-esphome/SyncClient.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib4d9/libESP8266WiFi.a
Compiling /data/hptest/.pioenvs/hptest/lib189/ESPAsyncTCP-esphome/tcp_axtls.c.o
Compiling /data/hptest/.pioenvs/hptest/lib6f5/Hash/Hash.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib94b/libArduinoJson-esphomelib.a
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib6f5/libHash.a
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/SPIFFSEditor.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib189/libESPAsyncTCP-esphome.a
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
In file included from /root/.platformio/lib/ESPAsyncWebServer-esphome/src/SPIFFSEditor.cpp:1:0:
/root/.platformio/lib/ESPAsyncWebServer-esphome/src/SPIFFSEditor.h:16:101: warning: 'SPIFFS' is deprecated (declared at /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/FS.h:269): SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
     SPIFFSEditor(const String& username=String(), const String& password=String(), const fs::FS& fs=SPIFFS);
                                                                                                     ^
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib768/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/ESP8266mDNS.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/ESP8266mDNS_Legacy.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/LEAmDNS.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/LEAmDNS_Control.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib768/libESPAsyncWebServer-esphome.a
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/LEAmDNS_Helpers.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/LEAmDNS_Structs.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib0d3/ESP8266mDNS/LEAmDNS_Transfer.cpp.o
Compiling /data/hptest/.pioenvs/hptest/liba97/HeatPump/HeatPump.cpp.o
Compiling /data/hptest/.pioenvs/hptest/lib760/DNSServer/DNSServer.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib760/libDNSServer.a
Archiving /data/hptest/.pioenvs/hptest/libFrameworkArduinoVariant.a
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Crypto.cpp.o
Archiving /data/hptest/.pioenvs/hptest/liba97/libHeatPump.a
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Esp-frag.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Esp-version.cpp.o
Archiving /data/hptest/.pioenvs/hptest/lib0d3/libESP8266mDNS.a
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Esp.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/FS.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/FSnoop.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/HardwareSerial.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/IPAddress.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/MD5Builder.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Print.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Schedule.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/StackThunk.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Stream.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/StreamString.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Tone.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/TypeConversion.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/Updater.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/WMath.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/WString.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/abi.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/base64.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/cbuf.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/cont.S.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/cont_util.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_app_entry_noextra4k.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_eboot_command.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_features.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_flash_quirks.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_flash_utils.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_i2s.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_main.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_noniso.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_phy.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_postmortem.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_si2c.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_sigma_delta.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_spi_utils.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_timer.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_waveform.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_wiring.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_wiring_analog.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_wiring_digital.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_wiring_pulse.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_wiring_pwm.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/core_esp8266_wiring_shift.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/crc32.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/debug.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/flash_hal.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/gdb_hooks.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/heap.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/libb64/cdecode.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/libb64/cencode.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/libc_replacements.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/sntp-lwip2.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/spiffs/spiffs_cache.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/spiffs/spiffs_check.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/spiffs/spiffs_gc.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/spiffs/spiffs_hydrogen.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/spiffs/spiffs_nucleus.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/spiffs_api.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/sqrt32.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/time.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/uart.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/umm_malloc/umm_info.c.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/umm_malloc/umm_integrity.c.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/umm_malloc/umm_local.c.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/umm_malloc/umm_malloc.cpp.o
Compiling /data/hptest/.pioenvs/hptest/FrameworkArduino/umm_malloc/umm_poison.c.o
Archiving /data/hptest/.pioenvs/hptest/libFrameworkArduino.a
Linking /data/hptest/.pioenvs/hptest/firmware.elf
Retrieving maximum program size /data/hptest/.pioenvs/hptest/firmware.elf
Checking size /data/hptest/.pioenvs/hptest/firmware.elf

RAM:   [=====     ]  48.3% (used 39560 bytes from 81920 bytes)
Flash: [====      ]  44.5% (used 455632 bytes from 1023984 bytes)
Creating BIN file "/data/hptest/.pioenvs/hptest/firmware.bin" using "/root/.platformio/packages/framework-arduinoespressif8266/bootloaders/eboot/eboot.elf" and "/data/hptest/.pioenvs/hptest/firmware.elf"
======================== [SUCCESS] Took 190.52 seconds ========================
INFO Successfully compiled program.
ipetrovits commented 3 years ago

Still unknown, however removing time did the trick.. Won't bother me anymore :)