infra/roles/hass-esphome/files/packages/boards/esp32c3supermini.yaml

52 lines
1.1 KiB
YAML

---
esphome:
platformio_options:
board_build.f_flash: 40000000L
board_build.flash_mode: dio
board_build.flash_size: 4MB
esp32:
board: esp32-c3-devkitm-1
variant: esp32c3
framework:
type: esp-idf
light:
# only works with arduino framework
# doesnt need arduino framework, but i dont think gpio7 is an internal/builtin led
- platform: status_led
name: "${hostname} Status LED"
id: esp_status_led
icon: "mdi:alarm-light"
pin:
number: GPIO8
inverted: true
restore_mode: ALWAYS_OFF
# - platform: status_led
# name: "${hostname} Status LED 2 (GPIO2)"
# id: esp_status_led_2
# icon: "mdi:alarm-light"
# pin:
# number: GPIO2
# inverted: false
# restore_mode: ALWAYS_OFF
# - platform: status_led
# name: "${hostname} Status LED 3 (GPIO7)"
# id: esp_status_led_3
# icon: "mdi:alarm-light"
# pin:
# number: GPIO7
# inverted: false
# restore_mode: ALWAYS_OFF
# https://www.reddit.com/r/esp32/comments/wn9dzx/update_esphome_on_c3/
#wifi:
# output_power: "8.5"