Delete openocd.ps1

This commit is contained in:
Kevin Thomas
2025-09-12 09:28:00 -07:00
committed by GitHub
parent bc2a5fa702
commit b6f38f0335

View File

@@ -1,14 +0,0 @@
# store the current location
$originalLocation = Get-Location
try {
# change the location to the OpenOCD scripts directory
Set-Location -Path "C:\Program Files\Raspberry Pi\Pico SDK v1.5.0\openocd\scripts"
# run OpenOCD
../openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"
}
finally {
# return to the original location
Set-Location -Path $originalLocation
}