mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 07:14:10 +01:00
Migrate from Boards to Variant, remove hardcoded versions, remove customn directories and some cleanup
This commit is contained in:
@@ -9,36 +9,17 @@ esphome:
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
platformio_options:
|
||||
upload_speed: 921600
|
||||
build_unflags: -Werror=all
|
||||
board_build.flash_mode: dio
|
||||
board_build.f_flash: 80000000L
|
||||
board_build.f_cpu: 240000000L
|
||||
|
||||
esp32:
|
||||
board: esp32-s3-devkitc-1
|
||||
variant: esp32s3
|
||||
flash_size: 16MB
|
||||
framework:
|
||||
type: esp-idf
|
||||
version: 5.3.2
|
||||
platform_version: 53.03.11
|
||||
sdkconfig_options:
|
||||
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
|
||||
CONFIG_ESP32S3_DATA_CACHE_64KB: y
|
||||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B: y
|
||||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y
|
||||
CONFIG_SPIRAM_RODATA: y
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
external_components:
|
||||
#- source: github://buglloc/esphome-components
|
||||
#- source: github://Garag/esphome-components
|
||||
- source: github://clowrey/esphome-components
|
||||
components: [axs15231]
|
||||
refresh: 10min
|
||||
# external_components:
|
||||
|
||||
i2c:
|
||||
sda: 4
|
||||
@@ -116,8 +97,14 @@ globals:
|
||||
type: Color
|
||||
initial_value: "Color::random_color()"
|
||||
|
||||
power_supply:
|
||||
id: main_backlight
|
||||
pin: 1
|
||||
enable_on_boot: true
|
||||
|
||||
display:
|
||||
- platform: axs15231
|
||||
- platform: qspi_dbi
|
||||
model: axs15231
|
||||
data_rate: 40MHz #20mhz is default
|
||||
#spi_mode: MODE2
|
||||
id: main_display
|
||||
@@ -126,10 +113,7 @@ display:
|
||||
height: 480
|
||||
width: 320
|
||||
cs_pin: 45
|
||||
backlight_pin: 1
|
||||
brightness: 50
|
||||
transform:
|
||||
swap_xy: false
|
||||
rotation: 90
|
||||
auto_clear_enabled: false
|
||||
show_test_card: true
|
||||
|
||||
Reference in New Issue
Block a user