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
main
Michael Potter 2021-01-19 11:07:47 +07:00 committed by GitHub
parent f1e7d0b469
commit c78291de65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

@ -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).
You can find more information about the SWD wiring [on the wiki](https://wiki.pine64.org/index.php?title=PineTime_devkit_wiring).