mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
enable rp2040 for online_image (#7769)
This commit is contained in:
parent
846b091aac
commit
5e27a8df1f
@ -98,6 +98,7 @@ CONFIG_SCHEMA = cv.Schema(
|
||||
# esp8266_arduino=cv.Version(2, 7, 0),
|
||||
esp32_arduino=cv.Version(0, 0, 0),
|
||||
esp_idf=cv.Version(4, 0, 0),
|
||||
rp2040_arduino=cv.Version(0, 0, 0),
|
||||
),
|
||||
)
|
||||
)
|
||||
|
19
tests/components/online_image/common-rp2040.yaml
Normal file
19
tests/components/online_image/common-rp2040.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
<<: !include common.yaml
|
||||
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 18
|
||||
mosi_pin: 19
|
||||
miso_pin: 16
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: main_lcd
|
||||
model: ili9342
|
||||
cs_pin: 20
|
||||
dc_pin: 17
|
||||
reset_pin: 21
|
||||
invert_colors: true
|
||||
lambda: |-
|
||||
it.fill(Color(0, 0, 0));
|
||||
it.image(0, 0, id(online_rgba_image));
|
4
tests/components/online_image/test.rp2040-ard.yaml
Normal file
4
tests/components/online_image/test.rp2040-ard.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
<<: !include common-rp2040.yaml
|
||||
|
||||
http_request:
|
||||
verify_ssl: false
|
Loading…
Reference in New Issue
Block a user