Skip to content

Commit 34982bb

Browse files
kartbennashif
authored andcommitted
doc: samples: use :zephyr-app: for in-tree samples
The zephyr-app-commands directive can output a helpful hint to the user when they are trying to build a sample that is in the Zephyr tree, telling them to ensure they are in the root folder of the Zephyr repo. Update all doc pages that were using :app: instead of :zephyr-app: so that the hint is displayed. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 0d25e30 commit 34982bb

File tree

46 files changed

+62
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+62
-62
lines changed

boards/01space/esp32c3_042_oled/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ To build the sample application using sysbuild, use this command:
130130

131131
.. zephyr-app-commands::
132132
:tool: west
133-
:app: samples/hello_world
133+
:zephyr-app: samples/hello_world
134134
:board: esp32c3_042_oled
135135
:goals: build
136136
:west-args: --sysbuild

boards/ct/ctcc/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Zephyr repositories using :ref:`west` tool.
155155
#. Flash other Zephyr application to fill in slot0 e.g:
156156

157157
.. zephyr-app-commands::
158-
:app: samples/subsys/usb/dfu
158+
:zephyr-app: samples/subsys/usb/dfu
159159
:board: ctcc/nrf52840
160160
:build-dir: dfu
161161
:goals: build

boards/espressif/esp32_devkitc_wroom/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ To build the sample application using sysbuild use the command:
156156

157157
.. zephyr-app-commands::
158158
:tool: west
159-
:app: samples/hello_world
159+
:zephyr-app: samples/hello_world
160160
:board: esp_wrover_kit
161161
:goals: build
162162
:west-args: --sysbuild

boards/espressif/esp32_devkitc_wrover/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ To build the sample application using sysbuild use the command:
156156

157157
.. zephyr-app-commands::
158158
:tool: west
159-
:app: samples/hello_world
159+
:zephyr-app: samples/hello_world
160160
:board: esp32_devkitc_wrover
161161
:goals: build
162162
:west-args: --sysbuild

boards/espressif/esp32_ethernet_kit/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ To build the sample application using sysbuild use the command:
478478

479479
.. zephyr-app-commands::
480480
:tool: west
481-
:app: samples/hello_world
481+
:zephyr-app: samples/hello_world
482482
:board: esp32_ethernet_kit/esp32/procpu
483483
:goals: build
484484
:west-args: --sysbuild

boards/espressif/esp32c3_devkitc/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ To build the sample application using sysbuild use the command:
131131

132132
.. zephyr-app-commands::
133133
:tool: west
134-
:app: samples/hello_world
134+
:zephyr-app: samples/hello_world
135135
:board: esp32c3_devkitc
136136
:goals: build
137137
:west-args: --sysbuild

boards/espressif/esp32c3_devkitm/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ To build the sample application using sysbuild use the command:
131131

132132
.. zephyr-app-commands::
133133
:tool: west
134-
:app: samples/hello_world
134+
:zephyr-app: samples/hello_world
135135
:board: esp32c3_devkitm
136136
:goals: build
137137
:west-args: --sysbuild

boards/espressif/esp32c3_rust/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ To build the sample application using sysbuild use the command:
176176

177177
.. zephyr-app-commands::
178178
:tool: west
179-
:app: samples/hello_world
179+
:zephyr-app: samples/hello_world
180180
:board: esp32c3_rust
181181
:goals: build
182182
:west-args: --sysbuild

boards/espressif/esp32c6_devkitc/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ To build the sample application using sysbuild use the command:
167167

168168
.. zephyr-app-commands::
169169
:tool: west
170-
:app: samples/hello_world
170+
:zephyr-app: samples/hello_world
171171
:board: esp32c6_devkitc
172172
:goals: build
173173
:west-args: --sysbuild

boards/espressif/esp32s2_devkitc/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ To build the sample application using sysbuild use the command:
127127

128128
.. zephyr-app-commands::
129129
:tool: west
130-
:app: samples/hello_world
130+
:zephyr-app: samples/hello_world
131131
:board: esp32s2_devkitc
132132
:goals: build
133133
:west-args: --sysbuild

0 commit comments

Comments
 (0)