annotate board/tasks.py @ 11:020b84ff0c7f

board
author drewp@bigasterisk.com
date Wed, 26 Jun 2024 22:23:34 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
drewp@bigasterisk.com
parents:
diff changeset
1 from invoke import task
drewp@bigasterisk.com
parents:
diff changeset
2
drewp@bigasterisk.com
parents:
diff changeset
3
drewp@bigasterisk.com
parents:
diff changeset
4 @task
drewp@bigasterisk.com
parents:
diff changeset
5 def reprogram(ctx):
drewp@bigasterisk.com
parents:
diff changeset
6 # no OTA on door strike esp32.
drewp@bigasterisk.com
parents:
diff changeset
7 ctx.run('pdm run esphome run door.yaml --device /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_019011FE-if00-port0', pty=True)