diff options
Diffstat (limited to 'contrib/Makefile')
-rw-r--r-- | contrib/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 15406b3..7250d5a 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -29,8 +29,8 @@ GCC_HOST := $(shell uname -m)-$(shell uname | tr '[:upper:]' '[:lower:]') GCC_SHA256SUM := 97dbb4f019ad1650b732faffcc881689cedc14e2b7ee863d390e0a41ef16c9a3 -all: download-picoprobe clone-openocd download-chibios download-gcc -clean: clean-picoprobe clean-openocd clean-chibios clean-gcc +all: download-picoprobe download-flash_nuke clone-openocd download-chibios download-gcc +clean: clean-picoprobe clean-flash_nuke clean-openocd clean-chibios clean-gcc download-picoprobe: picoprobe.u2f @@ -42,6 +42,15 @@ clean-picoprobe: rm -f picoprobe.u2f +download-flash_nuke: flash_nuke.u2f + +flash_nuke.u2f: + wget "https://datasheets.raspberrypi.com/soft/flash_nuke.uf2" -O "$@" + +clean-flash_nuke: + rm -f flash_nuke.u2f + + openocd/src/openocd: git clone https://github.com/raspberrypi/openocd.git --branch rp2040 --depth=1 --no-single-branch cd openocd; ./bootstrap; ./configure --enable-picoprobe; make -j 4 |