mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Initial Support for RP2040 platform (#3284)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
@@ -24,3 +24,4 @@ Current test_.yaml file contents.
|
||||
| test3.yaml | ESP8266 | wifi | N/A
|
||||
| test4.yaml | ESP32 | ethernet | None
|
||||
| test5.yaml | ESP32 | wifi | ble_server
|
||||
| test6.yaml | RP2040 | wifi | N/A
|
||||
|
||||
@@ -13,8 +13,9 @@ using namespace esphome;
|
||||
|
||||
void setup() {
|
||||
App.pre_setup("livingroom", __DATE__ ", " __TIME__, false);
|
||||
auto *log = new logger::Logger(115200, 512, logger::UART_SELECTION_UART0); // NOLINT
|
||||
auto *log = new logger::Logger(115200, 512); // NOLINT
|
||||
log->pre_setup();
|
||||
log->set_uart_selection(logger::UART_SELECTION_UART0);
|
||||
App.register_component(log);
|
||||
|
||||
auto *wifi = new wifi::WiFiComponent(); // NOLINT
|
||||
|
||||
39
tests/test6.yaml
Normal file
39
tests/test6.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
esphome:
|
||||
name: test6
|
||||
project:
|
||||
name: esphome.test6_project
|
||||
version: "1.0.0"
|
||||
|
||||
rp2040:
|
||||
board: rpipicow
|
||||
framework:
|
||||
# Waiting for https://github.com/platformio/platform-raspberrypi/pull/36
|
||||
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
|
||||
|
||||
|
||||
wifi:
|
||||
networks:
|
||||
- ssid: "MySSID"
|
||||
password: "password1"
|
||||
|
||||
api:
|
||||
|
||||
ota:
|
||||
|
||||
logger:
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO5
|
||||
id: pin_5_button
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: GPIO4
|
||||
id: pin_4
|
||||
|
||||
switch:
|
||||
- platform: output
|
||||
output: pin_4
|
||||
id: pin_4_switch
|
||||
Reference in New Issue
Block a user