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>`_, 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
========= =========