Skip to content

Commit

Permalink
samples: drivers: spi_flash: Extend requirements description
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Adam Wojasinski authored and fabiobaltieri committed Dec 8, 2023
1 parent 8fdb800 commit 7b78393
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions samples/drivers/spi_flash/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ savings is correctly implemented.
Building and Running
********************

The application will build only for a target that has a :ref:`devicetree
<dt-guide>` entry with ``jedec,spi-nor`` as a compatible.
The application will build only for a target that has a :ref:`devicetree <dt-guide>`
``spi-flash0`` alias that refers to an entry with one of the following bindings as a compatible:

* :dtcompatible:`jedec,spi-nor`,
* :dtcompatible:`st,stm32-qspi-nor`,
* :dtcompatible:`st,stm32-ospi-nor`,
* :dtcompatible:`nordic,qspi-nor`.

.. zephyr-app-commands::
:zephyr-app: samples/drivers/spi_flash
Expand Down

0 comments on commit 7b78393

Please sign in to comment.