1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-11 21:30:29 +01:00

add dfu config

This commit is contained in:
Tomasz Duda 2024-02-19 22:37:33 +01:00
parent b9163b4f70
commit 91ed57b64f

43
tests/test12.3.yaml Normal file
View File

@ -0,0 +1,43 @@
---
nrf52:
board: adafruit_itsybitsy_nrf52840
framework:
type: zephyr
variant: nrf-sdk
esphome:
name: nrf52-test-nrf-adafruit
logger:
level: DEBUG
logs:
switch: NONE
switch:
- platform: gpio
pin:
number: 15
inverted: true
mode:
output: true
id: gpio_15
interval:
- interval: 500ms
then:
- switch.toggle: gpio_15
output:
- platform: gpio
pin:
number: 14
inverted: true
mode:
output: true
id: rest_gpio
dfu:
reset_output: rest_gpio
zephyr_ble_server: