From 0cd557f4d5dae09d8bb53d0a996274b68e409ff5 Mon Sep 17 00:00:00 2001 From: Nicu Hodos Date: Wed, 12 Oct 2022 16:20:40 +0200 Subject: [PATCH] stop ser2net to avoid conflicts when uploading --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index 23c1d1d..92054d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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