samples/soc_flash_nrf: Fix soc_flash_nrf doc and printfs
The commit fixes soc_flash_nrf sample documentation where incorrect partition names has been used and removes information of CONFIG_TRUSTED_EXECUTION_NONSECURE affecting which partition is used as this is no longer true. The printf message reporting start of sample has been modified to print "Nordic nRF5 Flash Sample" instead of "Nordic nRF5 Flash Testing", which is more accurate for code residing in samples. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
parent
e898de52df
commit
2f530cfbbd
1 changed files with 6 additions and 6 deletions
|
|
@ -8,9 +8,9 @@ Overview
|
||||||
********
|
********
|
||||||
|
|
||||||
This sample demonstrates using the :ref:`Flash API <flash_api>` on an SoC internal storage.
|
This sample demonstrates using the :ref:`Flash API <flash_api>` on an SoC internal storage.
|
||||||
The sample uses :ref:`Flash map API <flash_map_api>` to obtain a device that has
|
The sample uses :ref:`Flash map API <flash_map_api>` to obtain a device that has one
|
||||||
partition defined with label `storage_partition`, then uses :ref:`Flash API <flash_api>`
|
partition defined with the label ``storage_partition``, then uses :ref:`Flash API <flash_api>`
|
||||||
to directly access and modify contents of a device, within area defined for said
|
to directly access and modify the contents of a device within the area defined for said
|
||||||
partition.
|
partition.
|
||||||
|
|
||||||
Within the sample, user may observe how read/write/erase operations
|
Within the sample, user may observe how read/write/erase operations
|
||||||
|
|
@ -20,9 +20,9 @@ ready for operation.
|
||||||
Building and Running
|
Building and Running
|
||||||
********************
|
********************
|
||||||
|
|
||||||
The application will build for any SoC with internal storage
|
The sample will be built for any SoC with internal storage, as long as
|
||||||
access enabled, as it is default for SoC devices with defined
|
there is a fixed-partition named ``storage_partition`` defined
|
||||||
fixed-partition, over that internal storage, labeled `storage_partition`.
|
on that internal storage.
|
||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/drivers/soc_flash_nrf
|
:zephyr-app: samples/drivers/soc_flash_nrf
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue