doc: samples: display: update documentation

- fixes sample codes' relative paths
- updates instructions to build and run for native posix
platforms on its 64 flavor.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
Glauber Maroto Ferreira 2021-12-06 10:14:25 -03:00 committed by Anas Nashif
commit 0dfc2ea103
6 changed files with 11 additions and 8 deletions

View file

@ -21,7 +21,7 @@ Building and Running
Build this sample application with the following commands: Build this sample application with the following commands:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/display/cfb :zephyr-app: samples/subsys/display/cfb
:board: reel_board :board: reel_board
:goals: build :goals: build
:compact: :compact:

View file

@ -32,7 +32,7 @@ directory:
Example building for the reel_board with SSD16XX display support: Example building for the reel_board with SSD16XX display support:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/display/cfb_custom_font :zephyr-app: samples/subsys/display/cfb_custom_font
:host-os: unix :host-os: unix
:board: reel_board :board: reel_board
:goals: flash :goals: flash

View file

@ -14,7 +14,7 @@ Building and Running
Build the sample app by choosing the target board, for example: Build the sample app by choosing the target board, for example:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/display/cfb_shell :zephyr-app: samples/subsys/display/cfb_shell
:board: reel_board :board: reel_board
:goals: build :goals: build

View file

@ -41,7 +41,7 @@ shield interface. For example, it can be run on the FRDM K64F board as
described below: described below:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/display/grove_display :zephyr-app: samples/subsys/display/grove_display
:board: frdm_k64f :board: frdm_k64f
:goals: flash :goals: flash
:compact: :compact:

View file

@ -49,7 +49,7 @@ Building and Running
Example building for :ref:`nrf52840dk_nrf52840`: Example building for :ref:`nrf52840dk_nrf52840`:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/display/lvgl :zephyr-app: samples/subsys/display/lvgl
:board: nrf52840dk_nrf52840 :board: nrf52840dk_nrf52840
:shield: adafruit_2_8_tft_touch_v2 :shield: adafruit_2_8_tft_touch_v2
:goals: build flash :goals: build flash
@ -57,9 +57,12 @@ Example building for :ref:`nrf52840dk_nrf52840`:
Example building for :ref:`native_posix`: Example building for :ref:`native_posix`:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/display/lvgl :zephyr-app: samples/subsys/display/lvgl
:board: native_posix :board: native_posix
:goals: build flash :goals: build run
Alternatively, if building from a 64-bit host machine, the previous target
board argument may also be replaced by ``native_posix_64``.
References References
********** **********

View file

@ -39,7 +39,7 @@ tests:
tags: shield tags: shield
sample.display.dummy: sample.display.dummy:
build_only: true build_only: true
platform_allow: native_posix platform_allow: native_posix native_posix_64
extra_args: DTC_OVERLAY_FILE="dummy_dc.overlay" extra_args: DTC_OVERLAY_FILE="dummy_dc.overlay"
extra_configs: extra_configs:
- CONFIG_DUMMY_DISPLAY=y - CONFIG_DUMMY_DISPLAY=y