diff options
-rw-r--r-- | config/data/pico-serprog/mkhelper.cfg | 2 | ||||
-rw-r--r-- | include/rom.sh | 2 | ||||
-rw-r--r-- | include/vendor.sh | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/config/data/pico-serprog/mkhelper.cfg b/config/data/pico-serprog/mkhelper.cfg index d81f1e85..ccfdc0df 100644 --- a/config/data/pico-serprog/mkhelper.cfg +++ b/config/data/pico-serprog/mkhelper.cfg @@ -6,4 +6,4 @@ sersrc="src/pico-serprog" serx="$sersrc/build/pico_serprog.uf2" picosdk="src/pico-sdk" serdir="$picosdk/src/boards/include/boards" -premake="mkserprog rp2040" +premake="mkserprog pico" diff --git a/include/rom.sh b/include/rom.sh index f1b8fa65..0ea791d2 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -11,7 +11,7 @@ mkserprog() basename -as .h "$serdir/"*.h > "$TMPDIR/ser" || $err "!mk $1 $TMPDIR" while read -r sertarget; do - [ "$1" = "rp2040" ] && + [ "$1" = "pico" ] && x_ rm -rf "$sersrc/build" \ && (pt=$(x_ grep "pico_cmake_set" \ "$picosdk/src/boards/include/boards/$sertarget.h" \ diff --git a/include/vendor.sh b/include/vendor.sh index aa7256c4..7d1356f2 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -375,7 +375,8 @@ detect_board() readcfg() { if [ "$board" = "serprog_rp2040" ] || \ - [ "$board" = "serprog_stm32" ]; then + [ "$board" = "serprog_stm32" ] || \ + [ "$board" = "serprog_pico" ]; then return 1 fi; boarddir="$cbcfgsdir/$board" eval `setcfg "$boarddir/target.cfg"`; chkvars vcfg tree |