samples: boards: nrf: group Nordic board samples
Group all Nordic board samples in samples/boards/nordic to keep samples/boards/ organized by vendor Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
|
|
@ -3800,7 +3800,7 @@ nRF Platforms:
|
|||
- drivers/*/*nrf*.c
|
||||
- drivers/*/*nordic*/
|
||||
- soc/nordic/
|
||||
- samples/boards/nrf/
|
||||
- samples/boards/nordic/
|
||||
- dts/*/nordic/
|
||||
- dts/bindings/*/nordic,*
|
||||
- tests/drivers/*/*nrf*/
|
||||
|
|
|
|||
|
|
@ -225,6 +225,17 @@ REDIRECTS = [
|
|||
('samples/boards/esp32/spiram_test/README', 'samples/boards/espressif/spiram_test/README'),
|
||||
('samples/boards/esp32/wifi_apsta_mode/README', 'samples/boards/espressif/wifi_apsta_mode/README'),
|
||||
('samples/boards/esp32/xt_wdt/README', 'samples/boards/espressif/xt_wdt/README'),
|
||||
('samples/boards/nrf/battery/README', 'samples/boards/nordic/battery/README'),
|
||||
('samples/boards/nrf/clock_skew/README', 'samples/boards/nordic/clock_skew/README'),
|
||||
('samples/boards/nrf/dynamic_pinctrl/README', 'samples/boards/nordic/dynamic_pinctrl/README'),
|
||||
('samples/boards/nrf/ieee802154/802154_rpmsg/README', 'samples/boards/nordic/ieee802154/802154_rpmsg/README'),
|
||||
('samples/boards/nrf/mesh/onoff-app/README', 'samples/boards/nordic/mesh/onoff-app/README'),
|
||||
('samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/README', 'samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/README'),
|
||||
('samples/boards/nrf/nrf53_sync_rtc/README', 'samples/boards/nordic/nrf53_sync_rtc/README'),
|
||||
('samples/boards/nrf/nrf_led_matrix/README', 'samples/boards/nordic/nrf_led_matrix/README'),
|
||||
('samples/boards/nrf/nrfx/README', 'samples/boards/nordic/nrfx/README'),
|
||||
('samples/boards/nrf/nrfx_prs/README', 'samples/boards/nordic/nrfx_prs/README'),
|
||||
('samples/boards/nrf/system_off/README', 'samples/boards/nordic/system_off/README'),
|
||||
('samples/drivers/adc/README', 'samples/drivers/adc/adc_dt/README'),
|
||||
('samples/drivers/kscan_touch', 'samples/subsys/input/input'),
|
||||
('samples/drivers/led_apa102/README', 'samples/drivers/led_strip/README'),
|
||||
|
|
|
|||
|
|
@ -69,10 +69,10 @@ devicetree configuration as noted above.
|
|||
Building and Running
|
||||
********************
|
||||
|
||||
The code can be found in :zephyr_file:`samples/boards/nrf/battery`.
|
||||
The code can be found in :zephyr_file:`samples/boards/nordic/battery`.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/battery
|
||||
:zephyr-app: samples/boards/nordic/battery
|
||||
:board: thingy52/nrf52832
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
|
@ -27,7 +27,7 @@ Building, Flashing and Running
|
|||
******************************
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/clock_skew
|
||||
:zephyr-app: samples/boards/nordic/clock_skew
|
||||
:board: nrf52dk/nrf52832
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
|
@ -35,7 +35,7 @@ nRF52840 DK
|
|||
The diagram below shows the pins assigned to the default and alternative
|
||||
configurations.
|
||||
|
||||
.. figure:: images/nrf52840dk-dynamic-pinctrl.png
|
||||
.. figure:: images/nrf52840dk-dynamic-pinctrl.webp
|
||||
|
||||
Configuration for nRF52840 DK
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ Building and Running
|
|||
You can build this application for the nRF52840 DK as follows:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/dynamic_pinctrl
|
||||
:zephyr-app: samples/boards/nordic/dynamic_pinctrl
|
||||
:board: nrf52840dk/nrf52840
|
||||
:goals: build
|
||||
:compact:
|
||||
|
After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
|
|
@ -18,7 +18,7 @@ Requirements
|
|||
Building and Running
|
||||
********************
|
||||
|
||||
This sample can be found under :zephyr_file:`samples/boards/nrf/ieee802154/802154_rpmsg`
|
||||
This sample can be found under :zephyr_file:`samples/boards/nordic/ieee802154/802154_rpmsg`
|
||||
in the Zephyr tree.
|
||||
|
||||
To use this application, you need a board with nRF53 SoC.
|
||||
|
|
@ -44,13 +44,13 @@ likely also run on the nrf52dk/nrf52832 board.
|
|||
Building and Running
|
||||
********************
|
||||
|
||||
This sample can be found under :zephyr_file:`samples/boards/nrf/mesh/onoff-app` in the
|
||||
This sample can be found under :zephyr_file:`samples/boards/nordic/mesh/onoff-app` in the
|
||||
Zephyr tree.
|
||||
|
||||
The following commands build the application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/mesh/onoff-app
|
||||
:zephyr-app: samples/boards/nordic/mesh/onoff-app
|
||||
:board: nrf52840dk/nrf52840
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
|
@ -61,13 +61,13 @@ likely also run on the nrf52dk/nrf52832 board.
|
|||
|
||||
Building and Running
|
||||
********************
|
||||
This sample can be found under :zephyr_file:`samples/boards/nrf/mesh/onoff_level_lighting_vnd_app` in the
|
||||
This sample can be found under :zephyr_file:`samples/boards/nordic/mesh/onoff_level_lighting_vnd_app` in the
|
||||
Zephyr tree.
|
||||
|
||||
The following commands build the application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/mesh/onoff_level_lighting_vnd_app
|
||||
:zephyr-app: samples/boards/nordic/mesh/onoff_level_lighting_vnd_app
|
||||
:board: nrf52840dk/nrf52840
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
|
@ -26,7 +26,7 @@ Building the application for nrf5340dk/nrf5340/cpuapp
|
|||
*****************************************************
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/nrf53_sync_rtc
|
||||
:zephyr-app: samples/boards/nordic/nrf53_sync_rtc
|
||||
:board: nrf5340dk/nrf5340/cpuapp
|
||||
:goals: flash
|
||||
:flash-args: --hex-file build/nrf53_sync_rtc/zephyr/zephyr.hex
|
||||
|
|
@ -82,7 +82,7 @@ Building the application for the simulated nrf5340bsim
|
|||
******************************************************
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/nrf53_sync_rtc
|
||||
:zephyr-app: samples/boards/nordic/nrf53_sync_rtc
|
||||
:host-os: unix
|
||||
:board: nrf5340bsim/nrf5340/cpuapp
|
||||
:goals: build
|
||||
|
|
@ -22,12 +22,12 @@ node.
|
|||
Building and Running
|
||||
********************
|
||||
|
||||
The code can be found in :zephyr_file:`samples/boards/nrf/nrf_led_matrix`.
|
||||
The code can be found in :zephyr_file:`samples/boards/nordic/nrf_led_matrix`.
|
||||
|
||||
To build and flash the application:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/nrf_led_matrix
|
||||
:zephyr-app: samples/boards/nordic/nrf_led_matrix
|
||||
:board: bbc_microbit_v2
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
|
@ -34,12 +34,12 @@ This sample has been tested on the NordicSemiconductor nRF9160 DK
|
|||
Building and Running
|
||||
********************
|
||||
|
||||
The code can be found in :zephyr_file:`samples/boards/nrf/nrfx`.
|
||||
The code can be found in :zephyr_file:`samples/boards/nordic/nrfx`.
|
||||
|
||||
To build and flash the application:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/boards/nrf/nrfx
|
||||
:zephyr-app: samples/boards/nordic/nrfx
|
||||
:board: nrf9160dk/nrf9160
|
||||
:goals: build flash
|
||||
:compact:
|
||||