mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
[nrf52, core] nrf52 core based on zephyr (#7049)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Samuel Sieb <samuel-github@sieb.net> Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
14
tests/components/gpio/test.nrf52-adafruit.yaml
Normal file
14
tests/components/gpio/test.nrf52-adafruit.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: 2
|
||||
id: gpio_binary_sensor
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: 3
|
||||
id: gpio_output
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: 4
|
||||
id: gpio_switch
|
14
tests/components/gpio/test.nrf52-mcumgr.yaml
Normal file
14
tests/components/gpio/test.nrf52-mcumgr.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: 2
|
||||
id: gpio_binary_sensor
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: 3
|
||||
id: gpio_output
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin: 4
|
||||
id: gpio_switch
|
7
tests/components/logger/test.nrf52-adafruit.yaml
Normal file
7
tests/components/logger/test.nrf52-adafruit.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- logger.log: Hello world
|
||||
|
||||
logger:
|
||||
level: DEBUG
|
7
tests/components/logger/test.nrf52-mcumgr.yaml
Normal file
7
tests/components/logger/test.nrf52-mcumgr.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- logger.log: Hello world
|
||||
|
||||
logger:
|
||||
level: DEBUG
|
1
tests/components/time/test.nrf52-adafruit.yaml
Normal file
1
tests/components/time/test.nrf52-adafruit.yaml
Normal file
@@ -0,0 +1 @@
|
||||
time:
|
1
tests/components/time/test.nrf52-mcumgr.yaml
Normal file
1
tests/components/time/test.nrf52-mcumgr.yaml
Normal file
@@ -0,0 +1 @@
|
||||
time:
|
10
tests/components/uptime/test.nrf52-adafruit.yaml
Normal file
10
tests/components/uptime/test.nrf52-adafruit.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
||||
- platform: uptime
|
||||
name: Uptime Sensor Seconds
|
||||
type: seconds
|
||||
|
||||
text_sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Text
|
10
tests/components/uptime/test.nrf52-mcumgr.yaml
Normal file
10
tests/components/uptime/test.nrf52-mcumgr.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Sensor
|
||||
- platform: uptime
|
||||
name: Uptime Sensor Seconds
|
||||
type: seconds
|
||||
|
||||
text_sensor:
|
||||
- platform: uptime
|
||||
name: Uptime Text
|
@@ -0,0 +1,16 @@
|
||||
esphome:
|
||||
name: componenttestnrf52
|
||||
friendly_name: $component_name
|
||||
|
||||
nrf52:
|
||||
board: adafruit_itsybitsy_nrf52840
|
||||
bootloader: adafruit_nrf52_sd140_v6
|
||||
|
||||
logger:
|
||||
level: VERY_VERBOSE
|
||||
|
||||
packages:
|
||||
component_under_test: !include
|
||||
file: $component_test_file
|
||||
vars:
|
||||
component_test_file: $component_test_file
|
@@ -0,0 +1,15 @@
|
||||
esphome:
|
||||
name: componenttestnrf52
|
||||
friendly_name: $component_name
|
||||
|
||||
nrf52:
|
||||
board: adafruit_feather_nrf52840
|
||||
|
||||
logger:
|
||||
level: VERY_VERBOSE
|
||||
|
||||
packages:
|
||||
component_under_test: !include
|
||||
file: $component_test_file
|
||||
vars:
|
||||
component_test_file: $component_test_file
|
Reference in New Issue
Block a user