Merge pull request #472 from eZioPan/powershell-update

update powershell script
This commit is contained in:
Dario Nieuwenhuis 2024-04-26 20:42:38 +00:00 committed by GitHub
commit 823168933f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
d.ps1
View File

@ -6,13 +6,15 @@ param (
[string]$peri [string]$peri
) )
$REV="74b97817d4c4ed0db9d19a8eac46720b3c5b0d57"
Switch ($CMD) Switch ($CMD)
{ {
"download-all" { "download-all" {
rm -r -Force ./sources/ -ErrorAction SilentlyContinue rm -r -Force ./sources/ -ErrorAction SilentlyContinue
git clone https://github.com/embassy-rs/stm32-data-sources.git ./sources/ git clone https://github.com/embassy-rs/stm32-data-sources.git ./sources/
cd ./sources/ cd ./sources/
git checkout a2062c088cf299bd3dc5128eeaa96e07fff2087c git checkout $REV
cd .. cd ..
} }
"install-chiptool" { "install-chiptool" {