summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Potter <7788329+michaelPotter@users.noreply.github.com>2021-01-19 11:07:47 -0800
committerGitHub <noreply@github.com>2021-01-19 11:07:47 -0800
commitc78291de65ffba9c0638a09eeef5cc264c4fb4ee (patch)
tree6f7126b3277ce74dd3e81dd202d8667fdbd69765 /doc
parentf1e7d0b46971c49ea293505425447a8e41547ff3 (diff)
Fix config file discrepancy
Fixes a discrepancy with config file naming. The config files it tells you to create end in ocd, but the example flash command uses a filename ending in cfg
Diffstat (limited to 'doc')
-rw-r--r--doc/openOCD.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/openOCD.md b/doc/openOCD.md
index a199bd7a..b3661cee 100644
--- a/doc/openOCD.md
+++ b/doc/openOCD.md
@@ -89,12 +89,12 @@ reset
## Examples
### Flash bootloader and application
```
-openocd -f ./openocd-stlink.cfg -f ./flash_bootloader_app.ocd
+openocd -f ./openocd-stlink.ocd -f ./flash_bootloader_app.ocd
```
### Flash graphics flasher
```
-openocd -f ./openocd-stlink.cfg -f ./flash_graphics.ocd
+openocd -f ./openocd-stlink.ocd -f ./flash_graphics.ocd
```
## Connect the STLinkV2 to the PineTime
@@ -102,4 +102,4 @@ Here is an example using the pogo pins:
![SWD pinout](../images/swd_pinout.jpg)
![Pogo pins](../images/pogopins.jpg)
-You can find more information about the SWD wiring [on the wiki](https://wiki.pine64.org/index.php?title=PineTime_devkit_wiring). \ No newline at end of file
+You can find more information about the SWD wiring [on the wiki](https://wiki.pine64.org/index.php?title=PineTime_devkit_wiring).