Skip to content

Commit b2de146

Browse files
parthitcekartben
authored andcommitted
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>
1 parent 18360d5 commit b2de146

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

boards/ti/lp_mspm0g3507/doc/index.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -110,25 +110,25 @@ earlier versions to use a branch of open OCD onto the device.
110110
Before OpenOCD is public, one can clone `This Repo <https://github.com/openocd-org/openocd.git>`_,
111111
and then this can be built with
112112

113-
```
114-
cd <cloned_OPENOCD_dir>
115-
./bootstrap (when building from the git repository)
116-
./configure
117-
make
118-
sudo make install
119-
```
113+
.. code-block:: console
114+
115+
$ cd <cloned_OPENOCD_dir>
116+
$ ./bootstrap (when building from the git repository)
117+
$ ./configure
118+
$ make
119+
$ sudo make install
120120
121121
Then after the build, it is possible to flash the device by passing additional arguments to the flash command
122122

123-
```
124-
west flash --openocd <path to cloned dir>/src/openocd --openocd-search <path to cloned dir>/tcl
125-
```
123+
.. code-block:: console
124+
125+
$ west flash --openocd <path to cloned dir>/src/openocd --openocd-search <path to cloned dir>/tcl
126126
127127
Flashing using JLINK
128128

129-
```
130-
west flash --runner=jlink
131-
```
129+
.. code-block:: console
130+
131+
$ west flash --runner jlink
132132
133133
Debugging
134134
=========

0 commit comments

Comments
 (0)