diff --git a/boards/arm/adafruit_feather_nrf52840/doc/index.rst b/boards/arm/adafruit_feather_nrf52840/doc/index.rst index 6110da15dca..d198ec9e337 100644 --- a/boards/arm/adafruit_feather_nrf52840/doc/index.rst +++ b/boards/arm/adafruit_feather_nrf52840/doc/index.rst @@ -116,7 +116,7 @@ an external programmer. The programmer is attached to the SWD header. Build the Zephyr kernel and the :ref:`blinky-sample` sample application. .. zephyr-app-commands:: - :zephyr-app: samples/blinky + :zephyr-app: samples/basic/blinky :board: adafruit_feather_nrf52840 :goals: build :compact: @@ -124,7 +124,7 @@ Build the Zephyr kernel and the :ref:`blinky-sample` sample application. Flash the image. .. zephyr-app-commands:: - :zephyr-app: samples/blinky + :zephyr-app: samples/basic/blinky :board: adafruit_feather_nrf52840 :goals: flash :compact: diff --git a/boards/arm/ebyte_e73_tbb_nrf52832/doc/index.rst b/boards/arm/ebyte_e73_tbb_nrf52832/doc/index.rst index d679b5f30c4..8fd7dde6967 100644 --- a/boards/arm/ebyte_e73_tbb_nrf52832/doc/index.rst +++ b/boards/arm/ebyte_e73_tbb_nrf52832/doc/index.rst @@ -187,7 +187,7 @@ To flash the board connect pins: SWDIO, SWDCLK, RST, GND from E73-TBB to corresponding pins on your J-Link device, then build and flash the application in the usual way. .. zephyr-app-commands:: - :zephyr-app: samples/blinky + :zephyr-app: samples/basic/blinky :board: ebyte_e73_tbb_nrf52832 :goals: build flash diff --git a/boards/arm/pinetime_devkit0/doc/index.rst b/boards/arm/pinetime_devkit0/doc/index.rst index 0a50bf07f60..16a04cd329c 100644 --- a/boards/arm/pinetime_devkit0/doc/index.rst +++ b/boards/arm/pinetime_devkit0/doc/index.rst @@ -116,10 +116,10 @@ Building ******** In order to get started with Zephyr on the PineTime, you can use the -board-specific sample: +basic button sample: .. zephyr-app-commands:: - :zephyr-app: samples/boards/pine64_pinetime + :zephyr-app: samples/basic/button :board: pinetime_devkit0 :goals: build diff --git a/boards/shields/arceli_eth_w5500/doc/index.rst b/boards/shields/arceli_eth_w5500/doc/index.rst index d87c767a8b9..359a91e482a 100644 --- a/boards/shields/arceli_eth_w5500/doc/index.rst +++ b/boards/shields/arceli_eth_w5500/doc/index.rst @@ -42,7 +42,7 @@ Programming Set ``-DSHIELD=arceli_eth_w5500`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/net/dhcp_client + :zephyr-app: samples/net/dhcpv4_client :board: nrf52840dk_nrf52840 :shield: arceli_eth_w5500 :goals: build diff --git a/boards/shields/boostxl_ulpsense/doc/index.rst b/boards/shields/boostxl_ulpsense/doc/index.rst index d206f77af53..d90717814e4 100644 --- a/boards/shields/boostxl_ulpsense/doc/index.rst +++ b/boards/shields/boostxl_ulpsense/doc/index.rst @@ -26,7 +26,7 @@ Programming Set ``-DSHIELD=boostxl_ulpsense`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/sensor/adxl362 + :zephyr-app: samples/sensor/accel_polling/ :board: cc1352r1_launchxl :shield: boostxl_ulpsense :goals: build diff --git a/boards/shields/lmp90100_evb/doc/index.rst b/boards/shields/lmp90100_evb/doc/index.rst index 3e06d70abdd..f3a1ff36ed3 100644 --- a/boards/shields/lmp90100_evb/doc/index.rst +++ b/boards/shields/lmp90100_evb/doc/index.rst @@ -44,7 +44,7 @@ Programming Set ``-DSHIELD=lmp90100_evb`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/shields/lmp90100_evb/thermocouple + :zephyr-app: samples/shields/lmp90100_evb/rtd :board: frdm_k64f :shield: lmp90100_evb :goals: build diff --git a/boards/shields/mikroe_eth_click/doc/index.rst b/boards/shields/mikroe_eth_click/doc/index.rst index 334e57fa714..3344765fa6d 100644 --- a/boards/shields/mikroe_eth_click/doc/index.rst +++ b/boards/shields/mikroe_eth_click/doc/index.rst @@ -44,7 +44,7 @@ Programming Set ``-DSHIELD=mikroe_eth_click`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/net/dhcp_client + :zephyr-app: samples/net/dhcpv4_client :board: lpcxpresso55s69 :shield: mikroe_eth_click :goals: build diff --git a/boards/shields/semtech_sx1272mb2das/doc/index.rst b/boards/shields/semtech_sx1272mb2das/doc/index.rst index fe56e6118cf..8dcea32f3a5 100644 --- a/boards/shields/semtech_sx1272mb2das/doc/index.rst +++ b/boards/shields/semtech_sx1272mb2das/doc/index.rst @@ -54,7 +54,7 @@ Set ``-DSHIELD=semtech_sx1272mb2das`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/lorawan/class_a + :zephyr-app: samples/subsys/lorawan/class_a :board: nucleo_f429zi :shield: semtech_sx1272mb2das :goals: build diff --git a/boards/shields/semtech_sx1276mb1mas/doc/index.rst b/boards/shields/semtech_sx1276mb1mas/doc/index.rst index bfdb9e41e67..bdf85d4d3c1 100644 --- a/boards/shields/semtech_sx1276mb1mas/doc/index.rst +++ b/boards/shields/semtech_sx1276mb1mas/doc/index.rst @@ -62,7 +62,7 @@ Set ``-DSHIELD=semtech_sx1271mb1mas`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/lorawan/class_a + :zephyr-app: samples/subsys/lorawan/class_a :board: nucleo_l073rz :shield: semtech_sx1276mb1mas :goals: build diff --git a/boards/shields/st7735r/doc/index.rst b/boards/shields/st7735r/doc/index.rst index 3a8fb5414cd..015396b9690 100644 --- a/boards/shields/st7735r/doc/index.rst +++ b/boards/shields/st7735r/doc/index.rst @@ -53,7 +53,7 @@ Programming Set ``-DSHIELD=st7735r_ada_160x128`` when you invoke ``west build``. For example: .. zephyr-app-commands:: - :zephyr-app: samples/gui/lvgl + :zephyr-app: samples/subsys/display/lvgl :board: nrf52840dk_nrf52840 :shield: st7735r_ada_160x128 :goals: build diff --git a/samples/arch/mpu/mpu_test/README.rst b/samples/arch/mpu/mpu_test/README.rst index e4b4cc89359..750bdda41bc 100644 --- a/samples/arch/mpu/mpu_test/README.rst +++ b/samples/arch/mpu/mpu_test/README.rst @@ -21,7 +21,7 @@ Building and Running This project can be built and executed as follows: .. zephyr-app-commands:: - :zephyr-app: samples/mpu/mpu_test + :zephyr-app: samples/arch/mpu/mpu_test :board: v2m_beetle :goals: build flash :compact: @@ -30,7 +30,7 @@ To build the single thread version, use the supplied configuration file for single thread: :file:`prj_single.conf`: .. zephyr-app-commands:: - :zephyr-app: samples/mpu/mpu_test + :zephyr-app: samples/arch/mpu/mpu_test :board: v2m_beetle :conf: prj_single.conf :goals: run diff --git a/samples/boards/nrf/system_off/README.rst b/samples/boards/nrf/system_off/README.rst index 00022708850..77eb93766dc 100644 --- a/samples/boards/nrf/system_off/README.rst +++ b/samples/boards/nrf/system_off/README.rst @@ -40,7 +40,7 @@ Building, Flashing and Running ****************************** .. zephyr-app-commands:: - :zephyr-app: samples/boards/nrf52/system_off + :zephyr-app: samples/boards/nrf/system_off :board: nrf52dk_nrf52832 :goals: build flash :compact: diff --git a/samples/boards/stm32/backup_sram/README.rst b/samples/boards/stm32/backup_sram/README.rst index 2762eb2df34..620f64faec9 100644 --- a/samples/boards/stm32/backup_sram/README.rst +++ b/samples/boards/stm32/backup_sram/README.rst @@ -26,7 +26,7 @@ In order to run this sample, make sure to enable ``backup_sram`` node in your board DT file. .. zephyr-app-commands:: - :zephyr-app: samples/memc/stm32_backup_sram + :zephyr-app: samples/boards/stm32/backup_sram :board: nucleo_h743zi :goals: build :compact: diff --git a/samples/boards/stm32/power_mgmt/standby_shutdown/README.rst b/samples/boards/stm32/power_mgmt/standby_shutdown/README.rst index 3efd2b08a93..5b027c69ee2 100644 --- a/samples/boards/stm32/power_mgmt/standby_shutdown/README.rst +++ b/samples/boards/stm32/power_mgmt/standby_shutdown/README.rst @@ -30,7 +30,7 @@ Building and Running Build and flash standby_shutdown as follows, changing ``nucleo_L476RG`` for your board: .. zephyr-app-commands:: - :zephyr-app: samples/samples/boards/stm32/power_mgmt/standby_shutdown + :zephyr-app: samples/boards/stm32/power_mgmt/standby_shutdown :board: nucleo_L476RG :goals: build flash :compact: diff --git a/samples/boards/ti/cc13x2_cc26x2/system_off/README.rst b/samples/boards/ti/cc13x2_cc26x2/system_off/README.rst index 381bb1ef1d8..b9173549242 100644 --- a/samples/boards/ti/cc13x2_cc26x2/system_off/README.rst +++ b/samples/boards/ti/cc13x2_cc26x2/system_off/README.rst @@ -28,7 +28,7 @@ Building, Flashing and Running ****************************** .. zephyr-app-commands:: - :zephyr-app: samples/boards/cc13x2_cc26x2/system_off + :zephyr-app: samples/boards/ti/cc13x2_cc26x2/system_off :board: cc1352r1_launchxl :goals: build flash :compact: diff --git a/samples/cpp/cpp_synchronization/README.rst b/samples/cpp/cpp_synchronization/README.rst index 629622e3b3c..d50e3df8e78 100644 --- a/samples/cpp/cpp_synchronization/README.rst +++ b/samples/cpp/cpp_synchronization/README.rst @@ -22,7 +22,7 @@ This kernel project outputs to the console. It can be built and executed on QEMU as follows: .. zephyr-app-commands:: - :zephyr-app: samples/cpp_synchronization + :zephyr-app: samples/cpp/cpp_synchronization :host-os: unix :board: qemu_x86 :goals: run diff --git a/samples/drivers/misc/grove_display/README.rst b/samples/drivers/misc/grove_display/README.rst index af3920255c5..a1838d0ec5c 100644 --- a/samples/drivers/misc/grove_display/README.rst +++ b/samples/drivers/misc/grove_display/README.rst @@ -41,7 +41,7 @@ shield interface. For example, it can be run on the FRDM K64F board as described below: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/display/grove_display + :zephyr-app: samples/drivers/misc/grove_display :board: frdm_k64f :goals: flash :compact: diff --git a/samples/sensor/adc_cmp_npcx/README.rst b/samples/sensor/adc_cmp_npcx/README.rst index 5efd18d7126..2054ee72c00 100644 --- a/samples/sensor/adc_cmp_npcx/README.rst +++ b/samples/sensor/adc_cmp_npcx/README.rst @@ -21,7 +21,7 @@ to ADC channel 8, when voltages cross upper/lower limits, detection messages will be printed. .. zephyr-app-commands:: - :zephyr-app: samples/sensor/adc_cmp + :zephyr-app: samples/sensor/adc_cmp_npcx :board: npcx9m6f_evb :goals: flash :compact: diff --git a/samples/sensor/dps310/README.rst b/samples/sensor/dps310/README.rst index fae1ef99e70..57ad36d2982 100644 --- a/samples/sensor/dps310/README.rst +++ b/samples/sensor/dps310/README.rst @@ -22,7 +22,7 @@ Build and flash this sample (for example, for the nrf52840dk_nrf52840 board) using these commands: .. zephyr-app-commands:: - :zephyr-app: samples/sensors/dps310 + :zephyr-app: samples/sensor/dps310 :board: nrf52840dk_nrf52840 :goals: flash :compact: diff --git a/samples/sensor/mcux_acmp/README.rst b/samples/sensor/mcux_acmp/README.rst index adbfa7eb696..832a3098db5 100644 --- a/samples/sensor/mcux_acmp/README.rst +++ b/samples/sensor/mcux_acmp/README.rst @@ -27,7 +27,7 @@ Build the application for the :ref:`twr_ke18f` board, and adjust the ACMP input voltage by turning the on-board potentiometer. .. zephyr-app-commands:: - :zephyr-app: samples/drivers/mcux_acmp + :zephyr-app: samples/sensor/mcux_acmp :board: twr_ke18f :goals: flash :compact: @@ -38,7 +38,7 @@ Build the application for the MIMXRT1170-EVK board, and adjust the ACMP input voltage by changing the voltage input to J25-13. .. zephyr-app-commands:: - :zephyr-app: samples/drivers/mcux_acmp + :zephyr-app: samples/sensor/mcux_acmp :board: mimxrt1170_evk_cm7 :goals: flash :compact: diff --git a/samples/subsys/usb_c/sink/README.rst b/samples/subsys/usb_c/sink/README.rst index 00de60ec1ed..8b8a4657c81 100644 --- a/samples/subsys/usb_c/sink/README.rst +++ b/samples/subsys/usb_c/sink/README.rst @@ -30,7 +30,7 @@ Building and Running Build and flash as follows, changing ``b_g474e_dpow1`` for your board: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/usb-c/sink + :zephyr-app: samples/subsys/usb_c/sink :board: b_g474e_dpow1 :goals: build flash :compact: diff --git a/samples/subsys/usb_c/source/README.rst b/samples/subsys/usb_c/source/README.rst index 82096b5b13b..06cb38eab37 100644 --- a/samples/subsys/usb_c/source/README.rst +++ b/samples/subsys/usb_c/source/README.rst @@ -29,7 +29,7 @@ Building and Running Build and flash as follows, changing ``stm32g081b_eval`` for your board: .. zephyr-app-commands:: - :zephyr-app: samples/subsys/usb-c/source + :zephyr-app: samples/subsys/usb_c/source :board: stm32g081b_eval :goals: build flash :compact: diff --git a/samples/subsys/video/capture/README.rst b/samples/subsys/video/capture/README.rst index bf6790df161..4609da6a7de 100644 --- a/samples/subsys/video/capture/README.rst +++ b/samples/subsys/video/capture/README.rst @@ -32,7 +32,7 @@ Building and Running For :ref:`mimxrt1064_evk`, build this sample application with the following commands: .. zephyr-app-commands:: - :zephyr-app: samples/video/mt9m114 + :zephyr-app: samples/subsys/video/capture :board: mimxrt1064_evk :goals: build :compact: diff --git a/samples/subsys/video/tcpserversink/README.rst b/samples/subsys/video/tcpserversink/README.rst index 5258fde26ea..df856011091 100644 --- a/samples/subsys/video/tcpserversink/README.rst +++ b/samples/subsys/video/tcpserversink/README.rst @@ -31,7 +31,7 @@ Building and Running For :ref:`mimxrt1064_evk`, build this sample application with the following commands: .. zephyr-app-commands:: - :zephyr-app: samples/video/mt9m114 + :zephyr-app: samples/subsys/video/tcpserversink :board: mimxrt1064_evk :goals: build :compact: