Skip to content

Commit 0a8a221

Browse files
Adam Wojasinskicvinayak
authored andcommitted
[nrf fromtree] samples: drivers: spi_flash: Extend requirements description
The patch updates README with detailed description of the requirements regarding target devicetree needed to correctly build the sample. Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 7b78393)
1 parent 46c7f77 commit 0a8a221

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

samples/drivers/spi_flash/README.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ savings is correctly implemented.
1414
Building and Running
1515
********************
1616

17-
The application will build only for a target that has a :ref:`devicetree
18-
<dt-guide>` entry with ``jedec,spi-nor`` as a compatible.
17+
The application will build only for a target that has a :ref:`devicetree <dt-guide>`
18+
``spi-flash0`` alias that refers to an entry with one of the following bindings as a compatible:
19+
20+
* :dtcompatible:`jedec,spi-nor`,
21+
* :dtcompatible:`st,stm32-qspi-nor`,
22+
* :dtcompatible:`st,stm32-ospi-nor`,
23+
* :dtcompatible:`nordic,qspi-nor`.
1924

2025
.. zephyr-app-commands::
2126
:zephyr-app: samples/drivers/spi_flash

0 commit comments

Comments
 (0)