diff --git a/boards/ti/lp_mspm0g3507/doc/index.rst b/boards/ti/lp_mspm0g3507/doc/index.rst index db58807f21b..2824980f63d 100644 --- a/boards/ti/lp_mspm0g3507/doc/index.rst +++ b/boards/ti/lp_mspm0g3507/doc/index.rst @@ -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 `_, and then this can be built with -``` -cd -./bootstrap (when building from the git repository) -./configure -make -sudo make install -``` +.. code-block:: console + + $ cd + $ ./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 /src/openocd --openocd-search /tcl -``` +.. code-block:: console + + $ west flash --openocd /src/openocd --openocd-search /tcl Flashing using JLINK -``` -west flash --runner=jlink -``` +.. code-block:: console + + $ west flash --runner jlink Debugging =========