From b2de146ea8ce53663da24f91508f94541a02d64e Mon Sep 17 00:00:00 2001 From: Parthiban Nallathambi Date: Wed, 21 May 2025 21:40:46 +0530 Subject: [PATCH] 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 --- boards/ti/lp_mspm0g3507/doc/index.rst | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 =========