mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 14:55:05 +00:00
[ethernet] Add W6100 and W6300 support for RP2040 (#15543)
This commit is contained in:
18
tests/components/ethernet/common-w6100-rp2040.yaml
Normal file
18
tests/components/ethernet/common-w6100-rp2040.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
ethernet:
|
||||
type: W6100
|
||||
clk_pin: 18
|
||||
mosi_pin: 19
|
||||
miso_pin: 16
|
||||
cs_pin: 17
|
||||
interrupt_pin: 21
|
||||
reset_pin: 20
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
||||
mac_address: "02:AA:BB:CC:DD:01"
|
||||
on_connect:
|
||||
- logger.log: "Ethernet connected!"
|
||||
on_disconnect:
|
||||
- logger.log: "Ethernet disconnected!"
|
||||
18
tests/components/ethernet/common-w6300-rp2040.yaml
Normal file
18
tests/components/ethernet/common-w6300-rp2040.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
ethernet:
|
||||
type: W6300
|
||||
clk_pin: 18
|
||||
mosi_pin: 19
|
||||
miso_pin: 16
|
||||
cs_pin: 17
|
||||
interrupt_pin: 21
|
||||
reset_pin: 20
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
||||
mac_address: "02:AA:BB:CC:DD:01"
|
||||
on_connect:
|
||||
- logger.log: "Ethernet connected!"
|
||||
on_disconnect:
|
||||
- logger.log: "Ethernet disconnected!"
|
||||
1
tests/components/ethernet/test-w6100.rp2040-ard.yaml
Normal file
1
tests/components/ethernet/test-w6100.rp2040-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common-w6100-rp2040.yaml
|
||||
1
tests/components/ethernet/test-w6300.rp2040-ard.yaml
Normal file
1
tests/components/ethernet/test-w6300.rp2040-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common-w6300-rp2040.yaml
|
||||
Reference in New Issue
Block a user