stop ser2net to avoid conflicts when uploading
This commit is contained in:
parent
77c6c06a6a
commit
0cd557f4d5
@ -10,9 +10,11 @@ platform:
|
||||
steps:
|
||||
- name: upload
|
||||
commands:
|
||||
- service ser2net stop
|
||||
- cd gateway
|
||||
- pio run -e pro-mini
|
||||
- echo -n 'reset' > /dev/ttyUSB0; sleep 1s; avrdude -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:.pio/build/pro-mini/firmware.hex:i -v
|
||||
- service ser2net start
|
||||
when:
|
||||
target:
|
||||
- production
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user