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:
Parthiban Nallathambi 2025-05-21 21:40:46 +05:30 committed by Benjamin Cabé
commit b2de146ea8

View file

@ -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>`_,
and then this can be built with
```
cd <cloned_OPENOCD_dir>
./bootstrap (when building from the git repository)
./configure
make
sudo make install
```
.. code-block:: console
$ cd <cloned_OPENOCD_dir>
$ ./bootstrap (when building from the git repository)
$ ./configure
$ make
$ sudo make install
Then after the build, it is possible to flash the device by passing additional arguments to the flash command
```
west flash --openocd <path to cloned dir>/src/openocd --openocd-search <path to cloned dir>/tcl
```
.. code-block:: console
$ west flash --openocd <path to cloned dir>/src/openocd --openocd-search <path to cloned dir>/tcl
Flashing using JLINK
```
west flash --runner=jlink
```
.. code-block:: console
$ west flash --runner jlink
Debugging
=========