Download cubeprogdb and point the parser to that.

This commit is contained in:
Bob McWhirter 2021-08-02 11:05:50 -04:00
parent 4a67203c86
commit cd939ee553
2 changed files with 7 additions and 2 deletions

5
d
View File

@ -18,6 +18,7 @@ case "$CMD" in
./d download-svd
./d download-headers
./d download-cubedb
./d download-cubeprogdb
;;
download-mcufinder)
mkdir -p sources/mcufinder
@ -53,6 +54,10 @@ case "$CMD" in
rm -rf sources/cubedb
git clone --depth 1 https://github.com/embassy-rs/stm32cube-database.git sources/cubedb
;;
download-cubeprogdb)
rm -rf sources/cubeprogdb
git clone --depth 1 https://github.com/embassy-rs/stm32cubeprog-database.git sources/cubeprogdb
;;
install-chiptool)
cargo install --git https://github.com/embassy-rs/chiptool
;;

View File

@ -113,7 +113,7 @@ def parse_files(dir):
memories.append( chunk )
dir = sys.argv[1]
dir = "sources/cubeprogdb/db"
parse_files(dir)