mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	add dfu config
This commit is contained in:
		
							
								
								
									
										43
									
								
								tests/test12.3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								tests/test12.3.yaml
									
									
									
									
									
										Normal 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: | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user