From c78291de65ffba9c0638a09eeef5cc264c4fb4ee Mon Sep 17 00:00:00 2001 From: Michael Potter <7788329+michaelPotter@users.noreply.github.com> Date: Tue, 19 Jan 2021 11:07:47 -0800 Subject: 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 --- doc/openOCD.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') 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). -- cgit v1.2.3