Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 Unable to build file #171

Open
nchlstoo opened this issue Oct 4, 2024 · 2 comments
Open

ESP32 Unable to build file #171

nchlstoo opened this issue Oct 4, 2024 · 2 comments

Comments

@nchlstoo
Copy link

nchlstoo commented Oct 4, 2024

Hi

I have an ESP32 Dev Kit V1 and tried to compile the build and it gave me these errors.

logs_test_run.txt

This is my build:

`esphome:
name: test
friendly_name: test

esp32:
board: esp32dev
framework:
type: arduino

api:
encryption:
key: "YupWfhldRcwCT6Af6NdlqWww62j8fettiH2RB0Ff/1M="

ota:

  • platform: esphome
    password: "b5e44f86f4bab4632c522642441ae1eb"

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

ap:
ssid: "Test Fallback Hotspot"
password: "4mdv0cIT7nc1"

web_server:
port: 80

captive_portal:

time:

  • platform: homeassistant
    id: homeassistant_time

sensor:

  • platform: wifi_signal
    name: "$devicename WiFi Signal"
    update_interval: 60s
  • platform: uptime
    name: "$devicename Uptime"

external_components:

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

climate:

  • platform: mitsubishi_heatpump
    name: "${devicename}"
    update_interval: 500ms

    hardware_uart: UART0
    supports:
    mode: ['HEAT_COOL', 'COOL', 'DRY', 'FAN_ONLY']
    fan_mode: ['AUTO', 'LOW', 'MEDIUM', 'MIDDLE', 'HIGH']
    swing_mode: ['OFF', 'VERTICAL']
    visual:
    min_temperature: 16
    max_temperature: 31
    temperature_step: 1.0

text_sensor:

  • platform: version
    name: "$devicename ESPHome Version"
  • platform: wifi_info
    ip_address:
    name: ${devicename} IP
    ssid:
    name: ${devicename} SSID
    bssid:
    name: ${devicename} BSSID`
@unregist
Copy link

Duplicate of #117

Add this to your config file to fix:

esphome:
  platformio_options:
    build_unflags:
      - "-std=gnu++11"
    build_flags:
      - "-std=gnu++17"

@ptbpa
Copy link

ptbpa commented Dec 29, 2024

I had the same issue and this solved it! thank you very much!

Duplicate of #117

Add this to your config file to fix:

esphome:
  platformio_options:
    build_unflags:
      - "-std=gnu++11"
    build_flags:
      - "-std=gnu++17"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants