mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Add sx127x tests and missing newline
This commit is contained in:
parent
a3dd681c47
commit
f1b6f5ef64
7 changed files with 97 additions and 1 deletions
|
@ -155,4 +155,4 @@ class SX127x : public Component,
|
|||
};
|
||||
|
||||
} // namespace sx127x
|
||||
} // namespace esphome
|
||||
} // namespace esphome
|
||||
|
|
16
tests/components/sx127x/test.esp32-ard.yaml
Normal file
16
tests/components/sx127x/test.esp32-ard.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
spi:
|
||||
clk_pin: GPIO5
|
||||
mosi_pin: GPIO27
|
||||
miso_pin: GPIO19
|
||||
|
||||
sx127x:
|
||||
id: sx127x_id
|
||||
nss_pin: GPIO18
|
||||
rst_pin: GPIO23
|
||||
pa_pin: BOOST
|
||||
pa_power: 17
|
||||
frequency: 433920000
|
||||
rx_bandwidth: 50_0kHz
|
||||
rx_floor: -90
|
||||
rx_start: true
|
||||
modulation: OOK
|
16
tests/components/sx127x/test.esp32-c3-ard.yaml
Normal file
16
tests/components/sx127x/test.esp32-c3-ard.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
spi:
|
||||
clk_pin: GPIO5
|
||||
mosi_pin: GPIO27
|
||||
miso_pin: GPIO19
|
||||
|
||||
sx127x:
|
||||
id: sx127x_id
|
||||
nss_pin: GPIO18
|
||||
rst_pin: GPIO23
|
||||
pa_pin: BOOST
|
||||
pa_power: 17
|
||||
frequency: 433920000
|
||||
rx_bandwidth: 50_0kHz
|
||||
rx_floor: -90
|
||||
rx_start: true
|
||||
modulation: OOK
|
16
tests/components/sx127x/test.esp32-c3-idf.yaml
Normal file
16
tests/components/sx127x/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
spi:
|
||||
clk_pin: GPIO5
|
||||
mosi_pin: GPIO27
|
||||
miso_pin: GPIO19
|
||||
|
||||
sx127x:
|
||||
id: sx127x_id
|
||||
nss_pin: GPIO18
|
||||
rst_pin: GPIO23
|
||||
pa_pin: BOOST
|
||||
pa_power: 17
|
||||
frequency: 433920000
|
||||
rx_bandwidth: 50_0kHz
|
||||
rx_floor: -90
|
||||
rx_start: true
|
||||
modulation: OOK
|
16
tests/components/sx127x/test.esp32-idf.yaml
Normal file
16
tests/components/sx127x/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
spi:
|
||||
clk_pin: GPIO5
|
||||
mosi_pin: GPIO27
|
||||
miso_pin: GPIO19
|
||||
|
||||
sx127x:
|
||||
id: sx127x_id
|
||||
nss_pin: GPIO18
|
||||
rst_pin: GPIO23
|
||||
pa_pin: BOOST
|
||||
pa_power: 17
|
||||
frequency: 433920000
|
||||
rx_bandwidth: 50_0kHz
|
||||
rx_floor: -90
|
||||
rx_start: true
|
||||
modulation: OOK
|
16
tests/components/sx127x/test.esp8266-ard.yaml
Normal file
16
tests/components/sx127x/test.esp8266-ard.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
spi:
|
||||
clk_pin: GPIO5
|
||||
mosi_pin: GPIO27
|
||||
miso_pin: GPIO19
|
||||
|
||||
sx127x:
|
||||
id: sx127x_id
|
||||
nss_pin: GPIO18
|
||||
rst_pin: GPIO23
|
||||
pa_pin: BOOST
|
||||
pa_power: 17
|
||||
frequency: 433920000
|
||||
rx_bandwidth: 50_0kHz
|
||||
rx_floor: -90
|
||||
rx_start: true
|
||||
modulation: OOK
|
16
tests/components/sx127x/test.rp2040-ard.yaml
Normal file
16
tests/components/sx127x/test.rp2040-ard.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
spi:
|
||||
clk_pin: GPIO5
|
||||
mosi_pin: GPIO27
|
||||
miso_pin: GPIO19
|
||||
|
||||
sx127x:
|
||||
id: sx127x_id
|
||||
nss_pin: GPIO18
|
||||
rst_pin: GPIO23
|
||||
pa_pin: BOOST
|
||||
pa_power: 17
|
||||
frequency: 433920000
|
||||
rx_bandwidth: 50_0kHz
|
||||
rx_floor: -90
|
||||
rx_start: true
|
||||
modulation: OOK
|
Loading…
Reference in a new issue