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
This commit is contained in:
parent
f1e7d0b469
commit
c78291de65
1 changed files with 3 additions and 3 deletions
|
@ -89,12 +89,12 @@ reset
|
||||||
## Examples
|
## Examples
|
||||||
### Flash bootloader and application
|
### 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
|
### 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
|
## Connect the STLinkV2 to the PineTime
|
||||||
|
@ -102,4 +102,4 @@ Here is an example using the pogo pins:
|
||||||
![SWD pinout](../images/swd_pinout.jpg)
|
![SWD pinout](../images/swd_pinout.jpg)
|
||||||
![Pogo pins](../images/pogopins.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).
|
||||||
|
|
Loading…
Reference in a new issue