Remove 'sudo' from idf.sh

This commit is contained in:
Andreas Tsouchlos 2023-08-25 12:48:13 +02:00
parent eafa002b5c
commit 41b761134f

2
idf.sh
View File

@ -6,4 +6,4 @@ USB_GUID=986
# the ESP32 board (e.g., '/dev/ttyUSB0' or '/dev/ttyACM0').
USB_DEV=/dev/ttyUSB0
sudo docker run --device=${USB_DEV} --rm --user $(id -u):${USB_GUID} -v $PWD:/project -w /project -it hyperlink idf.py $@
docker run --device=${USB_DEV} --rm --user $(id -u):${USB_GUID} -v $PWD:/project -w /project -it hyperlink idf.py $@