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
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0
version: 5.3.2
platform_version: 53.03.12
# version: 5.3.1
# platform_version: 6.9.0
external_components:
- source: components
# external_components:
# - source: components
packages:
common: !include common/common.yaml
@@ -55,7 +57,6 @@ light:
rgb_order: GRB
pin: 27
num_leds: 1
# rmt_channel: 0
chipset: ws2812
restore_mode: ALWAYS_OFF
- platform: esp32_rmt_led_strip
@@ -64,7 +65,6 @@ light:
rgb_order: GRB
pin: 25
num_leds: 7
# rmt_channel: 1
chipset: ws2812
restore_mode: ALWAYS_OFF
effects:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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