Switch to pioarduino

This commit is contained in:
2025-05-02 20:23:18 +02:00
parent e77ab50d02
commit f86cb569b0
26 changed files with 80 additions and 78 deletions

View File

@@ -15,11 +15,13 @@ esp32:
# board: m5stamp-pico # board: m5stamp-pico
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.12
# version: 5.3.1
# platform_version: 6.9.0
external_components: # external_components:
- source: components # - source: components
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml
@@ -55,7 +57,6 @@ light:
rgb_order: GRB rgb_order: GRB
pin: 27 pin: 27
num_leds: 1 num_leds: 1
# rmt_channel: 0
chipset: ws2812 chipset: ws2812
restore_mode: ALWAYS_OFF restore_mode: ALWAYS_OFF
- platform: esp32_rmt_led_strip - platform: esp32_rmt_led_strip
@@ -64,7 +65,6 @@ light:
rgb_order: GRB rgb_order: GRB
pin: 25 pin: 25
num_leds: 7 num_leds: 7
# rmt_channel: 1
chipset: ws2812 chipset: ws2812
restore_mode: ALWAYS_OFF restore_mode: ALWAYS_OFF
effects: effects:

View File

@@ -27,8 +27,8 @@ esp32:
# version: dev # version: dev
# version: 5.1.2 # version: 5.1.2
# platform_version: 6.6.0 # platform_version: 6.6.0
version: 5.3.1 version: 5.3.3
platform_version: 6.9.0 platform_version: 53.03.12
# type: arduino # type: arduino
pcf8574: pcf8574:

View File

@@ -14,8 +14,8 @@ esp32:
board: esp32doit-devkit-v1 board: esp32doit-devkit-v1
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
sdkconfig_options: sdkconfig_options:
CONFIG_FREERTOS_UNICORE: y CONFIG_FREERTOS_UNICORE: y
advanced: advanced:

View File

@@ -14,8 +14,8 @@ esp32:
board: esp32doit-devkit-v1 board: esp32doit-devkit-v1
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
sdkconfig_options: sdkconfig_options:
CONFIG_FREERTOS_UNICORE: y CONFIG_FREERTOS_UNICORE: y
advanced: advanced:

View File

@@ -40,8 +40,8 @@ esp32:
flash_size: 16MB flash_size: 16MB
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
logger: logger:
hardware_uart: USB_SERIAL_JTAG hardware_uart: USB_SERIAL_JTAG

View File

@@ -40,8 +40,8 @@ esp32:
flash_size: 16MB flash_size: 16MB
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
logger: logger:
hardware_uart: USB_SERIAL_JTAG hardware_uart: USB_SERIAL_JTAG

View File

@@ -14,8 +14,8 @@ esp32:
framework: framework:
# type: arduino # type: arduino
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
external_components: external_components:
# - source: github://pr#3017 # - source: github://pr#3017

View File

@@ -16,8 +16,8 @@ esp32:
variant: esp32c3 variant: esp32c3
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.3
platform_version: 6.9.0 platform_version: 53.03.12
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -13,8 +13,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
# external_components: # external_components:
# - source: github://pr#7958 # - source: github://pr#7958

View File

@@ -33,8 +33,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.12
external_components: external_components:
- source: github://pr#7072 - source: github://pr#7072

View File

@@ -15,8 +15,8 @@ esp32:
framework: framework:
# type: arduino # type: arduino
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
external_components: external_components:
- source: components - source: components

View File

@@ -14,8 +14,8 @@ esp32:
variant: esp32c3 variant: esp32c3
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -13,8 +13,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
external_components: external_components:
- source: github://mknjc/esphome@ds248x - source: github://mknjc/esphome@ds248x

View File

@@ -13,8 +13,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
external_components: external_components:
- source: components - source: components

View File

@@ -10,13 +10,13 @@ esphome:
esp32: esp32:
board: esp32doit-devkit-v1 board: esp32doit-devkit-v1
framework: framework:
# version: 5.1.2 version: 5.3.2
# platform_version: 6.6.0 platform_version: 53.03.11
type: esp-idf type: esp-idf
# external_components: external_components:
# - source: github://pr#4062 - source: github://pr#8457
# components: ethernet components: ethernet
# - source: github://pr#4080 # - source: github://pr#4080
# components: [lcd_pcf8574, lcd_base] # components: [lcd_pcf8574, lcd_base]
# - source: github://pr#3564 # - source: github://pr#3564

View File

@@ -14,8 +14,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
external_components: external_components:
- source: github://mknjc/esphome@ds248x - source: github://mknjc/esphome@ds248x

View File

@@ -31,8 +31,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -20,8 +20,8 @@ esp32:
flash_size: 16MB flash_size: 16MB
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
sdkconfig_options: sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
CONFIG_ESP32S3_DATA_CACHE_64KB: y CONFIG_ESP32S3_DATA_CACHE_64KB: y
@@ -46,7 +46,7 @@ i2c:
psram: psram:
mode: octal mode: octal
speed: 120MHz speed: 40MHz
spi: spi:
id: display_qspi id: display_qspi

View File

@@ -18,8 +18,8 @@ esp32:
flash_size: 16MB flash_size: 16MB
framework: framework:
type: esp-idf type: esp-idf
# version: 5.1.2 version: 5.3.2
# platform_version: 6.5.0 platform_version: 53.03.11
# Required to achieve sufficient PSRAM bandwidth # Required to achieve sufficient PSRAM bandwidth
sdkconfig_options: sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
@@ -301,10 +301,12 @@ image:
# mdi:battery-arrow-down-outline # mdi:battery-arrow-down-outline
id: solar_power_icon id: solar_power_icon
resize: 50x50 resize: 50x50
type: BINARY
- file: mdi:battery-arrow-down-outline - file: mdi:battery-arrow-down-outline
id: home_battery_icon id: home_battery_icon
resize: 30x30 resize: 30x30
type: BINARY
lvgl: lvgl:
log_level: INFO log_level: INFO
@@ -374,8 +376,8 @@ lvgl:
color: 0xFFFFFF color: 0xFFFFFF
r_mod: 12 #sets line length by this much difference from the scale default radius r_mod: 12 #sets line length by this much difference from the scale default radius
value: 50 value: 50
- img: # - image:
id: power_meter_input_img # id: power_meter_input_img
- arc: - arc:
color: 0xFF3000 color: 0xFF3000
r_mod: 10 #radius difference from the scale default radius r_mod: 10 #radius difference from the scale default radius
@@ -439,12 +441,12 @@ lvgl:
#bg_color: 0xFFFFFF #bg_color: 0xFFFFFF
#y: -35 #y: -35
#x: -60 #x: -60
- img: - image:
src: solar_power_icon src: solar_power_icon
id: img_solar_power id: img_solar_power
align: center align: center
img_recolor: 0xFFFF00 image_recolor: 0xFFFF00
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF #bg_color: 0xFFFFFF
y: 50 y: 50
#x: -60 #x: -60
@@ -482,8 +484,8 @@ lvgl:
color: 0xFFFFFF color: 0xFFFFFF
r_mod: 12 #sets line length by this much difference from the scale default radius r_mod: 12 #sets line length by this much difference from the scale default radius
value: 50 value: 50
- img: # - image:
id: power_meter_input_img2 # id: power_meter_input_img2
- arc: - arc:
color: 0xFF3000 color: 0xFF3000
r_mod: 10 #radius difference from the scale default radius r_mod: 10 #radius difference from the scale default radius
@@ -547,12 +549,12 @@ lvgl:
#bg_color: 0xFFFFFF #bg_color: 0xFFFFFF
#y: -35 #y: -35
#x: -60 #x: -60
- img: - image:
src: solar_power_icon src: solar_power_icon
id: img_solar_power2 id: img_solar_power2
align: center align: center
img_recolor: 0xFFFF00 image_recolor: 0xFFFF00
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF #bg_color: 0xFFFFFF
y: 50 y: 50
#x: -60 #x: -60
@@ -590,8 +592,8 @@ lvgl:
color: 0xFFFFFF color: 0xFFFFFF
r_mod: 12 #sets line length by this much difference from the scale default radius r_mod: 12 #sets line length by this much difference from the scale default radius
value: 50 value: 50
- img: # - image:
id: power_meter_input_img3 # id: power_meter_input_img3
- arc: - arc:
color: 0xFF3000 color: 0xFF3000
r_mod: 10 #radius difference from the scale default radius r_mod: 10 #radius difference from the scale default radius
@@ -655,12 +657,12 @@ lvgl:
#bg_color: 0xFFFFFF #bg_color: 0xFFFFFF
#y: -35 #y: -35
#x: -60 #x: -60
- img: - image:
src: solar_power_icon src: solar_power_icon
id: img_solar_power3 id: img_solar_power3
align: center align: center
img_recolor: 0xFFFF00 image_recolor: 0xFFFF00
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF #bg_color: 0xFFFFFF
y: 50 y: 50
#x: -60 #x: -60

View File

@@ -14,8 +14,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -34,8 +34,8 @@ esp32:
board: nodemcu-32s board: nodemcu-32s
framework: framework:
type: esp-idf type: esp-idf
# version: 5.1.2 version: 5.3.2
# platform_version: 6.6.0 platform_version: 53.03.11
external_components: external_components:
# - source: # - source:

View File

@@ -17,8 +17,8 @@ esp32:
variant: esp32c3 variant: esp32c3
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -13,8 +13,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -17,8 +17,8 @@ esp32:
variant: ESP32C3 variant: ESP32C3
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml

View File

@@ -88,8 +88,8 @@ esp32:
# platform_version: 6.5.0 # platform_version: 6.5.0
framework: framework:
type: esp-idf type: esp-idf
version: 5.1.2 version: 5.3.2
platform_version: 6.5.0 platform_version: 53.03.11
## TESTING ## TESTING
@@ -117,13 +117,13 @@ i2c:
modem: modem:
id: atmodem id: atmodem
ready: modem_ready # ready: modem_ready
rx_pin: 26 rx_pin: 26
tx_pin: 27 tx_pin: 27
model: SIM7600 model: SIM7600
apn: o2internet apn: o2internet
username: "" # username: ""
password: "" # password: ""
pin_code: "" pin_code: ""
init_at: init_at:
- AT+CGNSSMODE=15,1 # GNSS all navigation systems - AT+CGNSSMODE=15,1 # GNSS all navigation systems

View File

@@ -26,8 +26,8 @@ esp32:
board: m5stack-atom board: m5stack-atom
framework: framework:
type: esp-idf type: esp-idf
version: 5.3.1 version: 5.3.2
platform_version: 6.9.0 platform_version: 53.03.11
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml