boards: ti: lp_mspm0g3507: fix doc to use code-block
fix documentation to use code-block for west commands to flash. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
parent
18360d574b
commit
b2de146ea8
1 changed files with 13 additions and 13 deletions
|
@ -110,25 +110,25 @@ earlier versions to use a branch of open OCD onto the device.
|
||||||
Before OpenOCD is public, one can clone `This Repo <https://github.com/openocd-org/openocd.git>`_,
|
Before OpenOCD is public, one can clone `This Repo <https://github.com/openocd-org/openocd.git>`_,
|
||||||
and then this can be built with
|
and then this can be built with
|
||||||
|
|
||||||
```
|
.. code-block:: console
|
||||||
cd <cloned_OPENOCD_dir>
|
|
||||||
./bootstrap (when building from the git repository)
|
$ cd <cloned_OPENOCD_dir>
|
||||||
./configure
|
$ ./bootstrap (when building from the git repository)
|
||||||
make
|
$ ./configure
|
||||||
sudo make install
|
$ make
|
||||||
```
|
$ sudo make install
|
||||||
|
|
||||||
Then after the build, it is possible to flash the device by passing additional arguments to the flash command
|
Then after the build, it is possible to flash the device by passing additional arguments to the flash command
|
||||||
|
|
||||||
```
|
.. code-block:: console
|
||||||
west flash --openocd <path to cloned dir>/src/openocd --openocd-search <path to cloned dir>/tcl
|
|
||||||
```
|
$ west flash --openocd <path to cloned dir>/src/openocd --openocd-search <path to cloned dir>/tcl
|
||||||
|
|
||||||
Flashing using JLINK
|
Flashing using JLINK
|
||||||
|
|
||||||
```
|
.. code-block:: console
|
||||||
west flash --runner=jlink
|
|
||||||
```
|
$ west flash --runner jlink
|
||||||
|
|
||||||
Debugging
|
Debugging
|
||||||
=========
|
=========
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue