Skip to content

Commit 48db6a3

Browse files
committed
fixed flash_firmware.py
1 parent 60b1baa commit 48db6a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/flash_firmware.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# from machine import reset
22
from arduino_alvik import update_firmware
33

4+
# this is a patch to fix possible running threads on Alvik
5+
from arduino_alvik import ArduinoAlvik
6+
alvik = ArduinoAlvik()
7+
alvik.stop()
8+
49
update_firmware('./firmware.bin')
5-
# reset()
10+
# reset()

0 commit comments

Comments
 (0)