mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-02-20 19:32:17 -07:00
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> |
||
|---|---|---|
| .. | ||
| adc.c | ||
| bootrom.c | ||
| chipid.c | ||
| gpio.c | ||
| gpio.h | ||
| hard_pwm.c | ||
| i2c.c | ||
| internal.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| rp2040_link.lds.S | ||
| serial.c | ||
| spi.c | ||
| timer.c | ||
| usbserial.c | ||