added chapter 3 and refactor of chapter 1 and chapter 2

This commit is contained in:
Kevin Thomas
2023-10-15 13:12:32 -04:00
parent 8f4ad8bf72
commit 5998a54304
24 changed files with 8130 additions and 362 deletions
+14
View File
@@ -0,0 +1,14 @@
# 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
}