klipper/lib/rp2040
Lasse Dalegaard 7c0559c6e6 rp2040: add make flash support
This adds `make flash` support for the rp2040 target. Flashing is
performed using a custom `rp2040_flash` tool that uses the PICOBOOT
protocol. Root is not required.

The user specifies the serial device of the rp2040 they wish to flash as
the device. This device is reset into bootsel mode and `rp2040_flash`
is invoked on the original USB device path.

If the device is already in bootloader mode, the user can specify
'first' as `FLASH_DEVICE` which will simply invoke `rp2040_flash` with
no bus/address options.

Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
2022-01-06 17:32:54 -05:00
..
boot rp2040: add make flash support 2022-01-06 17:32:54 -05:00
boot_stage2 lib: Changes to rp2040 build files to work in Klipper build system 2021-07-04 10:11:02 -04:00
cmsis_include
elf2uf2
hardware lib: Changes to rp2040 build files to work in Klipper build system 2021-07-04 10:11:02 -04:00
pico rp2040: add make flash support 2022-01-06 17:32:54 -05:00
rp2040.patch lib: Changes to rp2040 build files to work in Klipper build system 2021-07-04 10:11:02 -04:00