Skip to content

Commit 0c9359c

Browse files
Fix picoprobe and pico-debug upload recipes (#577)
Need to munge the platform.txt on release. Fixes #576
1 parent dbf855e commit 0c9359c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package/build_boards_manager_package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ sed 's/^tools.uf2conv.cmd=.*//g' | \
110110
sed 's/^#tools.uf2conv.cmd=/tools.uf2conv.cmd=/g' | \
111111
sed 's/^tools.picoprobe.cmd=.*//g' | \
112112
sed 's/^#tools.picoprobe.cmd=/tools.picoprobe.cmd=/g' | \
113+
sed 's/^tools.picodebug.cmd=.*//g' | \
114+
sed 's/^#tools.picodebug.cmd=/tools.picodebug.cmd=/g' | \
113115
sed "s/version=.*/version=$ver/g" |\
114116
sed -E "s/name=([a-zA-Z0-9\ -]+).*/name=\1($ver)/g"\
115117
> $outdir/platform.txt

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ tools.uf2conv.upload.params.verbose=
146146
tools.uf2conv.upload.params.quiet=
147147
tools.uf2conv.upload.pattern="{cmd}" -I "{runtime.platform.path}/tools/uf2conv.py" --serial "{serial.port}" --family RP2040 --deploy "{build.path}/{build.project_name}.uf2"
148148

149-
150149
#tools.picoprobe.cmd={runtime.tools.pqt-openocd.path}
151150
tools.picoprobe.cmd={runtime.platform.path}/system/openocd
152151
tools.picoprobe.upload.protocol=picoprobe
153152
tools.picoprobe.upload.params.verbose=
154153
tools.picoprobe.upload.params.quiet=
155154
tools.picoprobe.upload.pattern="{cmd}/bin/openocd" -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -s "{cmd}/share/openocd/scripts" -c "program {{build.path}/{build.project_name}.elf} verify reset exit"
156155

156+
#tools.picodebug.cmd={runtime.tools.pqt-openocd.path}
157157
tools.picodebug.cmd={runtime.platform.path}/system/openocd
158158
tools.picodebug.upload.protocol=pico-debug
159159
tools.picodebug.upload.params.verbose=

0 commit comments

Comments
 (0)