aboutsummaryrefslogtreecommitdiffstats
path: root/lib/README
diff options
context:
space:
mode:
authorLasse Dalegaard <dalegaard@gmail.com>2022-01-03 23:28:54 +0100
committerKevinOConnor <kevin@koconnor.net>2022-01-06 17:32:54 -0500
commit7c0559c6e62506af73d0e8f22733615705664dd5 (patch)
tree67553ceb7751b4cd7601e01d7b00dd45cebeb3cd /lib/README
parent8a3727ef742f46923275ffca4651710952cfa114 (diff)
downloadkutter-7c0559c6e62506af73d0e8f22733615705664dd5.tar.gz
kutter-7c0559c6e62506af73d0e8f22733615705664dd5.tar.xz
kutter-7c0559c6e62506af73d0e8f22733615705664dd5.zip
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>
Diffstat (limited to 'lib/README')
-rw-r--r--lib/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/README b/lib/README
index 84c3e0d9..4a94c9f2 100644
--- a/lib/README
+++ b/lib/README
@@ -74,6 +74,11 @@ version 1.2.0 (bfcbefafc5d2a210551a4d9d80b4303d4ae0adf7). It has been
modified so that it can build outside of the pico sdk. See
rp2040.patch for the modifications.
+The rp2040_flash directory contains a light-weight bootsel flash tool.
+It uses C part of the the `picoboot_connection` directory found in:
+ https://github.com/raspberrypi/picotool.git
+version v1.1.0 (55fd880c3dc029b961fc1a0967a6cfdc0af02721).
+
The hub-ctrl directory contains code from:
https://github.com/codazoda/hub-ctrl.c/
revision 42095e522859059e8a5f4ec05c1e3def01a870a9.