klipper/src/rp2040
Lasse Dalegaard a7b01857f5 flash_usb: use sudo for rp2040 flashing
The rp2040 can be flashed without sudo when using udev rules to give the
user permission, but in a standard configuration sudo is required.

Here we make it possible for flash_usb to use sudo for the rp2040
target, and make it the default when using `make flash` for the rp2040.
As for other targets, one can set `NOSUDO=1` to not call through sudo.

Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
2022-01-31 11:10:02 -05:00
..
Kconfig rp2040: implement I2C 2022-01-12 11:44:31 -05:00
Makefile flash_usb: use sudo for rp2040 flashing 2022-01-31 11:10:02 -05:00
adc.c
bootrom.c
chipid.c
gpio.c
gpio.h rp2040: implement I2C 2022-01-12 11:44:31 -05:00
hard_pwm.c
i2c.c rp2040: implement I2C 2022-01-12 11:44:31 -05:00
internal.h
main.c
rp2040_link.lds.S
serial.c
spi.c
timer.c
usbserial.c