2023-02-19 14:38:27 +01:00
|
|
|
# Tests for ESP32-S3 boards
|
|
|
|
---
|
|
|
|
wifi:
|
|
|
|
ssid: "ssid"
|
|
|
|
|
2023-09-27 10:38:43 +02:00
|
|
|
network:
|
|
|
|
enable_ipv6: true
|
|
|
|
|
2023-02-19 14:38:27 +01:00
|
|
|
esp32:
|
2023-05-21 22:08:33 +02:00
|
|
|
board: esp32s3box
|
2023-02-19 14:38:27 +01:00
|
|
|
variant: ESP32S3
|
|
|
|
framework:
|
|
|
|
type: arduino
|
|
|
|
|
|
|
|
esphome:
|
2023-03-09 02:54:51 +01:00
|
|
|
name: esp32-s3-test
|
2023-02-19 14:38:27 +01:00
|
|
|
|
|
|
|
logger:
|
|
|
|
|
2023-09-05 04:02:59 +02:00
|
|
|
debug:
|
|
|
|
|
|
|
|
psram:
|
|
|
|
|
2023-02-19 14:38:27 +01:00
|
|
|
light:
|
|
|
|
- platform: neopixelbus
|
|
|
|
type: GRB
|
|
|
|
variant: WS2812
|
2023-07-12 03:19:19 +02:00
|
|
|
pin: GPIO38
|
2023-02-19 14:38:27 +01:00
|
|
|
num_leds: 1
|
|
|
|
id: neopixel
|
|
|
|
method: esp32_rmt
|
2023-03-09 02:54:51 +01:00
|
|
|
name: neopixel-enable
|
2023-02-19 14:38:27 +01:00
|
|
|
internal: false
|
|
|
|
restore_mode: ALWAYS_OFF
|
2023-09-11 04:20:06 +02:00
|
|
|
- platform: spi_led_strip
|
|
|
|
num_leds: 4
|
|
|
|
color_correct: [80%, 60%, 100%]
|
|
|
|
id: rgb_led
|
|
|
|
name: "RGB LED"
|
|
|
|
data_rate: 8MHz
|
2024-05-16 01:49:04 +02:00
|
|
|
- platform: binary
|
|
|
|
name: "Red Info Light"
|
|
|
|
output: board_info_ed
|
|
|
|
entity_category: diagnostic
|
|
|
|
restore_mode: ALWAYS_OFF
|
2023-07-12 03:19:19 +02:00
|
|
|
|
|
|
|
spi:
|
2023-09-08 09:27:19 +02:00
|
|
|
id: spi_id_1
|
2023-07-12 03:19:19 +02:00
|
|
|
clk_pin: GPIO7
|
|
|
|
mosi_pin: GPIO6
|
2023-09-08 09:27:19 +02:00
|
|
|
interface: any
|
|
|
|
|
|
|
|
spi_device:
|
|
|
|
id: spidev
|
|
|
|
data_rate: 2MHz
|
|
|
|
spi_id: spi_id_1
|
|
|
|
mode: 3
|
|
|
|
bit_order: lsb_first
|
2023-07-12 03:19:19 +02:00
|
|
|
|
2024-03-11 10:03:39 +01:00
|
|
|
font:
|
|
|
|
- file: "gfonts://Roboto"
|
|
|
|
id: roboto
|
|
|
|
size: 20
|
|
|
|
|
2023-07-12 03:19:19 +02:00
|
|
|
display:
|
|
|
|
- platform: ili9xxx
|
2023-12-12 23:56:01 +01:00
|
|
|
id: displ8
|
2023-07-12 03:19:19 +02:00
|
|
|
model: ili9342
|
|
|
|
cs_pin: GPIO5
|
|
|
|
dc_pin: GPIO4
|
2023-12-05 00:56:53 +01:00
|
|
|
reset_pin:
|
|
|
|
number: GPIO48
|
|
|
|
allow_other_uses: true
|
2024-03-11 10:03:39 +01:00
|
|
|
lambda: |-
|
|
|
|
it.printf(10, 100, id(roboto), Color(0x123456), COLOR_OFF, display::TextAlign::BASELINE, "%f", id(heap_free).state);
|
2023-07-12 03:19:19 +02:00
|
|
|
|
|
|
|
i2c:
|
|
|
|
scl: GPIO18
|
|
|
|
sda: GPIO8
|
|
|
|
|
2024-05-16 01:49:04 +02:00
|
|
|
output:
|
|
|
|
- platform: gpio
|
|
|
|
id: board_info_ed
|
|
|
|
pin:
|
|
|
|
# This pin is reserved on the ESP32S3!
|
|
|
|
number: 26
|
|
|
|
ignore_pin_validation_error: true
|
|
|
|
|
2023-07-12 03:19:19 +02:00
|
|
|
touchscreen:
|
|
|
|
- platform: tt21100
|
2023-12-12 23:56:01 +01:00
|
|
|
display: displ8
|
2023-10-19 02:04:53 +02:00
|
|
|
interrupt_pin:
|
|
|
|
number: GPIO3
|
|
|
|
ignore_strapping_warning: true
|
2023-12-05 00:56:53 +01:00
|
|
|
allow_other_uses: false
|
|
|
|
reset_pin:
|
|
|
|
number: GPIO48
|
|
|
|
allow_other_uses: true
|
2023-07-12 03:19:19 +02:00
|
|
|
|
|
|
|
binary_sensor:
|
|
|
|
- platform: tt21100
|
|
|
|
name: Home Button
|
|
|
|
index: 1
|
2023-09-05 04:02:59 +02:00
|
|
|
|
|
|
|
sensor:
|
|
|
|
- platform: debug
|
|
|
|
free:
|
2024-03-11 10:03:39 +01:00
|
|
|
id: heap_free
|
2023-09-05 04:02:59 +02:00
|
|
|
name: "Heap Free"
|
|
|
|
block:
|
|
|
|
name: "Max Block Free"
|
|
|
|
loop_time:
|
|
|
|
name: "Loop Time"
|
|
|
|
psram:
|
|
|
|
name: "PSRAM Free"
|
2023-12-20 11:33:05 +01:00
|
|
|
|
|
|
|
# Purposely test that `animation:` does auto-load `image:`
|
|
|
|
# Keep the `image:` undefined.
|
|
|
|
# image:
|
|
|
|
|
|
|
|
animation:
|
|
|
|
- id: rgb565_animation
|
|
|
|
file: pnglogo.png
|
|
|
|
type: RGB565
|
2024-02-21 05:14:30 +01:00
|
|
|
use_transparency: false
|