From 25fa25a5a95360ec39e6cd966357f7595f056ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Thu, 5 Sep 2024 17:55:49 +0200 Subject: [PATCH] doc: :zephyr-app: should point to existing in-tree folders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As there is no check (yet!) in the directive, many .. zephyr-app-commands:: in the documentation are pointing to non-existing sample applications, which is problematic for users who typically expect to just copy-paste the commands and have them work. This commit fixes all offending references to point to existing samples, or converts them to simple ":app:" instead of ":zephyr-app:" when the intent wasn't to refer to in-tree samples. Signed-off-by: Benjamin Cabé --- boards/bcdevices/plt_demo_v2/doc/index.rst | 4 ++-- boards/nxp/frdm_mcxn947/doc/index.rst | 5 +++-- .../phyboard_lyra/doc/phyboard_lyra_am62xx_m4.rst | 2 +- boards/shields/frdm_cr20a/doc/index.rst | 2 +- boards/shields/mikroe_accel13_click/doc/index.rst | 2 +- boards/shields/mikroe_adc_click/doc/index.rst | 2 +- boards/shields/x_nucleo_bnrg2a1/doc/index.rst | 2 +- boards/shields/x_nucleo_idb05a1/doc/index.rst | 2 +- boards/shields/x_nucleo_wb05kn1/doc/index.rst | 4 ++-- boards/ti/cc3220sf_launchxl/doc/index.rst | 4 ++-- boards/ti/cc3235sf_launchxl/doc/index.rst | 4 ++-- boards/ti/sk_am62/doc/index.rst | 2 +- doc/develop/debug/index.rst | 2 +- doc/hardware/emulator/bus_emulators.rst | 2 +- doc/hardware/porting/shields.rst | 4 ++-- samples/boards/google_twinkie_v2_pda/README.rst | 2 +- samples/boards/stm32/i2c_timing/README.rst | 2 +- samples/drivers/i2c/custom_target/README.rst | 4 ++-- samples/drivers/i2c/target_eeprom/README.rst | 4 ++-- samples/drivers/led/is31fl3194/README.rst | 2 +- samples/drivers/lora/receive/README.rst | 2 +- samples/drivers/lora/send/README.rst | 2 +- samples/drivers/smbus/README.rst | 2 +- samples/modules/cmsis_dsp/moving_average/README.rst | 2 +- samples/modules/compression/lz4/README.rst | 2 +- samples/subsys/mgmt/updatehub/README.rst | 12 ++++++------ samples/subsys/smf/hsm_psicc2/README.rst | 2 +- samples/subsys/zbus/priority_boost/README.rst | 6 ++++-- samples/sysbuild/with_mcuboot/README.rst | 2 +- 29 files changed, 46 insertions(+), 43 deletions(-) diff --git a/boards/bcdevices/plt_demo_v2/doc/index.rst b/boards/bcdevices/plt_demo_v2/doc/index.rst index c733c7656aa..cf4df2dcb87 100644 --- a/boards/bcdevices/plt_demo_v2/doc/index.rst +++ b/boards/bcdevices/plt_demo_v2/doc/index.rst @@ -125,7 +125,7 @@ an external programmer. The programmer is attached to the SWD header. Build the Zephyr kernel and the :zephyr:code-sample:`led-strip` sample application. .. zephyr-app-commands:: - :zephyr-app: samples/drivers/led/apa102 + :zephyr-app: samples/drivers/led/led_strip :board: blueclover_plt_demo_v2/nrf52832 :goals: build :compact: @@ -133,7 +133,7 @@ Build the Zephyr kernel and the :zephyr:code-sample:`led-strip` sample applicati Flash the image. .. zephyr-app-commands:: - :zephyr-app: samples/drivers/led/apa102 + :zephyr-app: samples/drivers/led/led_strip :board: blueclover_plt_demo_v2/nrf52832 :goals: flash :compact: diff --git a/boards/nxp/frdm_mcxn947/doc/index.rst b/boards/nxp/frdm_mcxn947/doc/index.rst index aea56679ec6..5febc07a861 100644 --- a/boards/nxp/frdm_mcxn947/doc/index.rst +++ b/boards/nxp/frdm_mcxn947/doc/index.rst @@ -211,8 +211,9 @@ Flashing to QSPI Here is an example for the :ref:`hello_world` application. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/hello_world -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\" -DCONFIG_BOOTLOADER_MCUBOOT=y + :app: zephyr/samples/hello_world :board: frdm_mcxn947/mcxn947/cpu0/qspi + :gen-args: -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\" -DCONFIG_BOOTLOADER_MCUBOOT=y :goals: flash @@ -220,7 +221,7 @@ In order to load Zephyr application from QSPI you should program a bootloader li MCUboot bootloader to internal flash. Here are the steps. .. zephyr-app-commands:: - :zephyr-app: bootloader/mcuboot/boot/zephyr + :app: bootloader/mcuboot/boot/zephyr :board: frdm_mcxn947/mcxn947/cpu0/qspi :goals: flash diff --git a/boards/phytec/phyboard_lyra/doc/phyboard_lyra_am62xx_m4.rst b/boards/phytec/phyboard_lyra/doc/phyboard_lyra_am62xx_m4.rst index 0736292446c..bfd3ff5579f 100644 --- a/boards/phytec/phyboard_lyra/doc/phyboard_lyra_am62xx_m4.rst +++ b/boards/phytec/phyboard_lyra/doc/phyboard_lyra_am62xx_m4.rst @@ -137,7 +137,7 @@ Debugging The board is equipped with an XDS110 JTAG debugger. To debug a binary, utilize the `debug` build target: .. zephyr-app-commands:: - :zephyr-app: + :app: :board: phyboard_lyra/am6234/m4 :maybe-skip-config: :goals: debug diff --git a/boards/shields/frdm_cr20a/doc/index.rst b/boards/shields/frdm_cr20a/doc/index.rst index aa2284121e9..1e24e6ed2c2 100644 --- a/boards/shields/frdm_cr20a/doc/index.rst +++ b/boards/shields/frdm_cr20a/doc/index.rst @@ -55,7 +55,7 @@ Programming Set ``--shield frdm_cr20a`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/net/wpanusb + :zephyr-app: samples/net/wpan_serial :board: frdm_k64f :shield: frdm_cr20a :goals: build diff --git a/boards/shields/mikroe_accel13_click/doc/index.rst b/boards/shields/mikroe_accel13_click/doc/index.rst index e55b02f9dd2..4290dfa2138 100644 --- a/boards/shields/mikroe_accel13_click/doc/index.rst +++ b/boards/shields/mikroe_accel13_click/doc/index.rst @@ -38,7 +38,7 @@ Set ``--shield mikro_accel13_click`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: test/boards/board_shell + :zephyr-app: samples/sensor/sensor_shell :board: lpcxpresso55s69 :shield: mikroe_accel13_click :goals: build diff --git a/boards/shields/mikroe_adc_click/doc/index.rst b/boards/shields/mikroe_adc_click/doc/index.rst index f1dc242bd93..c75d322a334 100644 --- a/boards/shields/mikroe_adc_click/doc/index.rst +++ b/boards/shields/mikroe_adc_click/doc/index.rst @@ -35,7 +35,7 @@ Set ``--shield mikro_adc_click`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: + :app: :board: lpcxpresso55s16 :shield: mikroe_adc_click :goals: build diff --git a/boards/shields/x_nucleo_bnrg2a1/doc/index.rst b/boards/shields/x_nucleo_bnrg2a1/doc/index.rst index 03bd0b98c3b..411c4982818 100644 --- a/boards/shields/x_nucleo_bnrg2a1/doc/index.rst +++ b/boards/shields/x_nucleo_bnrg2a1/doc/index.rst @@ -68,7 +68,7 @@ of the shield for the project build by adding the ``--shield`` arg to the build command: .. zephyr-app-commands:: - :zephyr-app: your_app + :app: your_app :board: your_board_name :shield: x_nucleo_bnrg2a1 :goals: build diff --git a/boards/shields/x_nucleo_idb05a1/doc/index.rst b/boards/shields/x_nucleo_idb05a1/doc/index.rst index dd8a2dd70f5..57e23ae92e8 100644 --- a/boards/shields/x_nucleo_idb05a1/doc/index.rst +++ b/boards/shields/x_nucleo_idb05a1/doc/index.rst @@ -78,7 +78,7 @@ of the shield for the project build by adding the ``--shield`` arg to the build command: .. zephyr-app-commands:: - :zephyr-app: your_app + :app: your_app :board: your_board_name :shield: x_nucleo_idb05a1 :goals: build diff --git a/boards/shields/x_nucleo_wb05kn1/doc/index.rst b/boards/shields/x_nucleo_wb05kn1/doc/index.rst index 04f8bb5c052..5247294f5f3 100644 --- a/boards/shields/x_nucleo_wb05kn1/doc/index.rst +++ b/boards/shields/x_nucleo_wb05kn1/doc/index.rst @@ -71,7 +71,7 @@ Activate the presence of the shield for the project build by adding the ``west build`` based on UART or SPI interface: .. zephyr-app-commands:: - :zephyr-app: your_app + :app: your_app :board: your_board_name :shield: x_nucleo_wb05kn1_uart :goals: build @@ -79,7 +79,7 @@ Activate the presence of the shield for the project build by adding the or .. zephyr-app-commands:: - :zephyr-app: your_app + :app: your_app :board: your_board_name :shield: x_nucleo_wb05kn1_spi :goals: build diff --git a/boards/ti/cc3220sf_launchxl/doc/index.rst b/boards/ti/cc3220sf_launchxl/doc/index.rst index dd58c203daa..cc14840d999 100644 --- a/boards/ti/cc3220sf_launchxl/doc/index.rst +++ b/boards/ti/cc3220sf_launchxl/doc/index.rst @@ -172,7 +172,7 @@ Flashing To build and flash an application, execute the following commands for : .. zephyr-app-commands:: - :zephyr-app: + :app: :board: cc3220sf_launchxl :goals: flash @@ -199,7 +199,7 @@ To debug a previously flashed image, after resetting the board, use the 'debug' build target: .. zephyr-app-commands:: - :zephyr-app: + :app: :board: cc3220sf_launchxl :maybe-skip-config: :goals: debug diff --git a/boards/ti/cc3235sf_launchxl/doc/index.rst b/boards/ti/cc3235sf_launchxl/doc/index.rst index cf865b89028..69c5bae82f6 100644 --- a/boards/ti/cc3235sf_launchxl/doc/index.rst +++ b/boards/ti/cc3235sf_launchxl/doc/index.rst @@ -172,7 +172,7 @@ Flashing To build and flash an application, execute the following commands for : .. zephyr-app-commands:: - :zephyr-app: + :app: :board: cc3235sf_launchxl :goals: flash @@ -199,7 +199,7 @@ To debug a previously flashed image, after resetting the board, use the 'debug' build target: .. zephyr-app-commands:: - :zephyr-app: + :app: :board: cc3235sf_launchxl :maybe-skip-config: :goals: debug diff --git a/boards/ti/sk_am62/doc/index.rst b/boards/ti/sk_am62/doc/index.rst index 3dd92386321..f7bb4f66b91 100644 --- a/boards/ti/sk_am62/doc/index.rst +++ b/boards/ti/sk_am62/doc/index.rst @@ -125,7 +125,7 @@ Debugging The board is equipped with an XDS110 JTAG debugger. To debug a binary, utilize the `debug` build target: .. zephyr-app-commands:: - :zephyr-app: + :app: :board: sk_am62/am6234/m4 :maybe-skip-config: :goals: debug diff --git a/doc/develop/debug/index.rst b/doc/develop/debug/index.rst index 0e163241472..932d6484add 100644 --- a/doc/develop/debug/index.rst +++ b/doc/develop/debug/index.rst @@ -225,7 +225,7 @@ Generate and Import an Eclipse Project .. zephyr-app-commands:: :tool: all - :zephyr-app: samples\synchronization + :zephyr-app: samples/synchronization :host-os: win :board: frdm_k64f :gen-args: -G"Eclipse CDT4 - Ninja" diff --git a/doc/hardware/emulator/bus_emulators.rst b/doc/hardware/emulator/bus_emulators.rst index ffe7730fd80..e46ba985946 100644 --- a/doc/hardware/emulator/bus_emulators.rst +++ b/doc/hardware/emulator/bus_emulators.rst @@ -184,7 +184,7 @@ Here are some examples present in Zephyr: #. Bosch BMI160 sensor driver connected via both I2C and SPI to an emulator: .. zephyr-app-commands:: - :zephyr-app: tests/drivers/sensor/accel/ + :zephyr-app: tests/drivers/sensor/bmi160 :board: native_sim :goals: build diff --git a/doc/hardware/porting/shields.rst b/doc/hardware/porting/shields.rst index 79b52413a79..baf2a611fb7 100644 --- a/doc/hardware/porting/shields.rst +++ b/doc/hardware/porting/shields.rst @@ -111,7 +111,7 @@ Activate support for one or more shields by adding the matching ``--shield`` arg to the west command: .. zephyr-app-commands:: - :zephyr-app: your_app + :app: your_app :shield: x_nucleo_idb05a1,x_nucleo_iks01a1 :goals: build @@ -139,7 +139,7 @@ possible to provide multiple version of the shields description: In this case, a shield-particular revision name can be used: .. zephyr-app-commands:: - :zephyr-app: your_app + :app: your_app :shield: shield_v2 :goals: build diff --git a/samples/boards/google_twinkie_v2_pda/README.rst b/samples/boards/google_twinkie_v2_pda/README.rst index 3d2d1b813c7..2911f617b27 100644 --- a/samples/boards/google_twinkie_v2_pda/README.rst +++ b/samples/boards/google_twinkie_v2_pda/README.rst @@ -15,7 +15,7 @@ Building and Running Build and flash Twinkie as follows: .. zephyr-app-commands:: - :zephyr-app: samples/boards/google_pda + :zephyr-app: samples/boards/google_twinkie_v2_pda :board: google_twinkie_v2 :goals: build flash :compact: diff --git a/samples/boards/stm32/i2c_timing/README.rst b/samples/boards/stm32/i2c_timing/README.rst index 75d9d301b13..929740f3ead 100644 --- a/samples/boards/stm32/i2c_timing/README.rst +++ b/samples/boards/stm32/i2c_timing/README.rst @@ -45,7 +45,7 @@ In order to run this sample, make sure to - alias the **i2c-0** to your ``i2c`` node of the board **overlay** file .. zephyr-app-commands:: - :zephyr-app: samples/boards/stm32/i2c_config + :zephyr-app: samples/boards/stm32/i2c_timing :board: b_u585i_iot02a :goals: build :compact: diff --git a/samples/drivers/i2c/custom_target/README.rst b/samples/drivers/i2c/custom_target/README.rst index a3d86482888..5237b49a501 100644 --- a/samples/drivers/i2c/custom_target/README.rst +++ b/samples/drivers/i2c/custom_target/README.rst @@ -20,12 +20,12 @@ This sample has been tested on :ref:`lpcxpresso55s69`. Building and Running ******************** -The code for this sample can be found in :zephyr_file:`samples/drivers/i2c_target`. +The code for this sample can be found in :zephyr_file:`samples/drivers/i2c/custom_target`. To build and flash the application: .. zephyr-app-commands:: - :zephyr-app: samples/drivers/i2c_target + :zephyr-app: samples/drivers/i2c/custom_target :board: lpcxpresso55s69/lpc55s69/cpu0 :goals: flash :compact: diff --git a/samples/drivers/i2c/target_eeprom/README.rst b/samples/drivers/i2c/target_eeprom/README.rst index 6b91aa0c1f5..620a24819ef 100644 --- a/samples/drivers/i2c/target_eeprom/README.rst +++ b/samples/drivers/i2c/target_eeprom/README.rst @@ -20,12 +20,12 @@ This sample has been tested on :ref:`lpcxpresso55s69`. Building and Running ******************** -The code for this sample can be found in :zephyr_file:`samples/drivers/i2c_target`. +The code for this sample can be found in :zephyr_file:`samples/drivers/i2c/target_eeprom`. To build and flash the application: .. zephyr-app-commands:: - :zephyr-app: samples/drivers/i2c_target + :zephyr-app: samples/drivers/i2c/target_eeprom :board: lpcxpresso55s69/lpc55s69/cpu0 :goals: flash :compact: diff --git a/samples/drivers/led/is31fl3194/README.rst b/samples/drivers/led/is31fl3194/README.rst index 0773587a4f8..cee837f4fe9 100644 --- a/samples/drivers/led/is31fl3194/README.rst +++ b/samples/drivers/led/is31fl3194/README.rst @@ -18,7 +18,7 @@ any board where the devicetree has an I2C device node with compatible controller node also being enabled. .. zephyr-app-commands:: - :zephyr-app: samples/drivers/led/issi_is31fl3194 + :zephyr-app: samples/drivers/led/is31fl3194 :board: arduino_nicla_sense_me :goals: build flash :compact: diff --git a/samples/drivers/lora/receive/README.rst b/samples/drivers/lora/receive/README.rst index 8d08a5445ef..1d142f8bb8f 100644 --- a/samples/drivers/lora/receive/README.rst +++ b/samples/drivers/lora/receive/README.rst @@ -25,7 +25,7 @@ Build and flash the sample as follows, changing ``b_l072z_lrwan1`` for your board, where your board has a ``lora0`` alias in the devicetree. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/drivers/lora/receive + :zephyr-app: samples/drivers/lora/receive :host-os: unix :board: b_l072z_lrwan1 :goals: build flash diff --git a/samples/drivers/lora/send/README.rst b/samples/drivers/lora/send/README.rst index f2b46bcc917..e4a9c341cd3 100644 --- a/samples/drivers/lora/send/README.rst +++ b/samples/drivers/lora/send/README.rst @@ -21,7 +21,7 @@ Build and flash the sample as follows, changing ``b_l072z_lrwan1`` for your board, where your board has a ``lora0`` alias in the devicetree. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/drivers/lora/send + :zephyr-app: samples/drivers/lora/send :host-os: unix :board: b_l072z_lrwan1 :goals: build flash diff --git a/samples/drivers/smbus/README.rst b/samples/drivers/smbus/README.rst index 28558247706..6fd69ce9050 100644 --- a/samples/drivers/smbus/README.rst +++ b/samples/drivers/smbus/README.rst @@ -18,7 +18,7 @@ Zephyr tree. The sample can be built and run as follows for the ``qemu_x86_64`` board: .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/drivers/smbus + :zephyr-app: samples/drivers/smbus :host-os: unix :board: qemu_x86_64 :goals: run diff --git a/samples/modules/cmsis_dsp/moving_average/README.rst b/samples/modules/cmsis_dsp/moving_average/README.rst index dd99f5885e3..3fedc2586e4 100644 --- a/samples/modules/cmsis_dsp/moving_average/README.rst +++ b/samples/modules/cmsis_dsp/moving_average/README.rst @@ -41,7 +41,7 @@ Building and Running The demo can be built as follows: .. zephyr-app-commands:: - :zephyr-app: samples/modules/cmsis-dsp/moving_average + :zephyr-app: samples/modules/cmsis_dsp/moving_average :host-os: unix :board: qemu_cortex_m0 :goals: run diff --git a/samples/modules/compression/lz4/README.rst b/samples/modules/compression/lz4/README.rst index 3cdeea47f72..eae8eec069f 100644 --- a/samples/modules/compression/lz4/README.rst +++ b/samples/modules/compression/lz4/README.rst @@ -22,7 +22,7 @@ Add the lz4 module to your West manifest and pull it: The sample can be built and executed on nrf52840dk/nrf52840 as follows: .. zephyr-app-commands:: - :zephyr-app: samples/compression/lz4 + :zephyr-app: samples/modules/compression/lz4 :board: nrf52840dk/nrf52840 :goals: build flash :compact: diff --git a/samples/subsys/mgmt/updatehub/README.rst b/samples/subsys/mgmt/updatehub/README.rst index aa2969441c6..db63a8ae80a 100644 --- a/samples/subsys/mgmt/updatehub/README.rst +++ b/samples/subsys/mgmt/updatehub/README.rst @@ -73,7 +73,7 @@ documentation page. Flash the resulting image file using west on ``terminal 1``. .. zephyr-app-commands:: - :zephyr-app: bootloader/mcuboot/boot/zephyr + :app: bootloader/mcuboot/boot/zephyr :board: frdm_k64f :build-dir: mcuboot-frdm_k64f :goals: build flash @@ -172,7 +172,7 @@ Step 4.1: Build for Ethernet The ethernet depends only from base configuration. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/subsys/mgmt/updatehub + :zephyr-app: samples/subsys/mgmt/updatehub :board: [ frdm_k64f | nucleo_f767zi ] :build-dir: app :gen-args: -DEXTRA_CONF_FILE=overlay-prj.conf @@ -187,7 +187,7 @@ connectivity using, for instance, arduino headers. See :ref:`module_esp_8266` for details. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/subsys/mgmt/updatehub + :zephyr-app: samples/subsys/mgmt/updatehub :board: [ frdm_k64f | nrf52840dk/nrf52840 | nucleo_f767zi ] :build-dir: app :gen-args: -DEXTRA_CONF_FILE="overlay-wifi.conf;overlay-prj.conf" @@ -209,7 +209,7 @@ at this moment provide support since it is experimental. The gateway was tested with both native linux driver and ``atusb``. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/subsys/mgmt/updatehub + :zephyr-app: samples/subsys/mgmt/updatehub :board: nrf52840dk/nrf52840 :build-dir: app :gen-args: -DEXTRA_CONF_FILE="overlay-802154.conf;overlay-prj.conf" @@ -217,7 +217,7 @@ tested with both native linux driver and ``atusb``. :compact: .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/subsys/mgmt/updatehub + :zephyr-app: samples/subsys/mgmt/updatehub :board: [ frdm_k64f | nucleo_f767zi ] :build-dir: app :gen-args: -DEXTRA_CONF_FILE="overlay-802154.conf;overlay-prj.conf" @@ -236,7 +236,7 @@ out of scope at this moment provide support since it is experimental. The gateway was tested using two boards with OpenThread 1.1.1 on NCP mode. .. zephyr-app-commands:: - :zephyr-app: zephyr/samples/subsys/mgmt/updatehub + :zephyr-app: samples/subsys/mgmt/updatehub :board: nrf52840dk/nrf52840 :build-dir: app :gen-args: -DEXTRA_CONF_FILE="overlay-ot.conf;overlay-prj.conf" diff --git a/samples/subsys/smf/hsm_psicc2/README.rst b/samples/subsys/smf/hsm_psicc2/README.rst index 0b79cbb540c..e6215dee7c5 100644 --- a/samples/subsys/smf/hsm_psicc2/README.rst +++ b/samples/subsys/smf/hsm_psicc2/README.rst @@ -19,7 +19,7 @@ Building and Running for ST Disco L475 IOT01 (B-L475E-IOT01A) The sample can be built and executed for the :ref:`disco_l475_iot1_board` as follows: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/smf/psicc2 + :zephyr-app: samples/subsys/smf/hsm_psicc2 :board: disco_l475_iot1 :goals: build flash :compact: diff --git a/samples/subsys/zbus/priority_boost/README.rst b/samples/subsys/zbus/priority_boost/README.rst index ca903a7183c..cd1fd3ba1bc 100644 --- a/samples/subsys/zbus/priority_boost/README.rst +++ b/samples/subsys/zbus/priority_boost/README.rst @@ -47,7 +47,8 @@ disabled. It can be built and executed on QEMU as follows: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/zbus/priority_boost -- -DCONFIG_ZBUS_PRIORITY_BOOST=n + :zephyr-app: samples/subsys/zbus/priority_boost + :gen-args: -DCONFIG_ZBUS_PRIORITY_BOOST=n :host-os: unix :board: qemu_x86 :goals: run @@ -127,7 +128,8 @@ The developer must enable the priority boost and properly attach all the observe To execute the sample with priority boost feature enabled, run the following command: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/zbus/priority_boost -- -DCONFIG_ZBUS_PRIORITY_BOOST=y + :zephyr-app: samples/subsys/zbus/priority_boost + :gen-args: -DCONFIG_ZBUS_PRIORITY_BOOST=y :host-os: unix :board: qemu_x86 :goals: run diff --git a/samples/sysbuild/with_mcuboot/README.rst b/samples/sysbuild/with_mcuboot/README.rst index e814eb1ffb3..7428406a62e 100644 --- a/samples/sysbuild/with_mcuboot/README.rst +++ b/samples/sysbuild/with_mcuboot/README.rst @@ -32,7 +32,7 @@ To build both the sample and MCUboot with ``west`` for the ``reel_board``, run: .. zephyr-app-commands:: :tool: west - :zephyr-app: samples/application_development/sysbuild/with_mcuboot + :zephyr-app: samples/sysbuild/with_mcuboot :board: reel_board :goals: build :west-args: --sysbuild