Skip to content

Commit

Permalink
feat(android): Add a language to each code-block
Browse files Browse the repository at this point in the history
For some U-Boot command listings, are not specifying a
language for the code-block.
This is checked by rstcheck and is mandatory.

Add console to these code-blocks to resolve the rstcheck warnings.

Signed-off-by: Mattijs Korpershoek <[email protected]>
  • Loading branch information
makohoek committed Dec 4, 2024
1 parent 51908e5 commit eaf743c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/android/Overview_Flashing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Once the build is complete, follow the steps below to flash the images to eMMC.

Ensure the default U-Boot environment is configured with:

.. code-block::
.. code-block:: console
=> env default -f -a; saveenv;
## Resetting to default environment
Expand All @@ -219,7 +219,7 @@ Once the build is complete, follow the steps below to flash the images to eMMC.

If you build with ``TARGET_AVB_ENABLE=true`` or flash user images you need to run this:

.. code-block::
.. code-block:: console
=> setenv force_avb "1"; saveenv;
Saving Environment to MMC... Writing to MMC(0)... OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DTBOs can be enabled from U-Boot when extra peripherals are connected to the boa
It's possible to change the ``adtbo_idx`` from the U-Boot shell.
For example:

.. code-block::
.. code-block:: console
=> env set adtbo_idx 1
=> saveenv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DTBOs can be enabled from U-Boot when extra peripherals are connected to the boa
It's possible to change the ``adtbo_idx`` from the U-Boot shell.
For example:

.. code-block::
.. code-block:: console
=> env set adtbo_idx 1
=> saveenv
Expand Down

0 comments on commit eaf743c

Please sign in to comment.