From 2f530cfbbdfa478ccc448917f2cb2833c8ce50f8 Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Mon, 5 Feb 2024 16:08:27 +0000 Subject: [PATCH] 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 --- samples/drivers/soc_flash_nrf/README.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/drivers/soc_flash_nrf/README.rst b/samples/drivers/soc_flash_nrf/README.rst index 9f34ee631b6..3dc23bd9e0a 100644 --- a/samples/drivers/soc_flash_nrf/README.rst +++ b/samples/drivers/soc_flash_nrf/README.rst @@ -8,9 +8,9 @@ Overview ******** This sample demonstrates using the :ref:`Flash API ` on an SoC internal storage. -The sample uses :ref:`Flash map API ` to obtain a device that has -partition defined with label `storage_partition`, then uses :ref:`Flash API ` -to directly access and modify contents of a device, within area defined for said +The sample uses :ref:`Flash map API ` to obtain a device that has one +partition defined with the label ``storage_partition``, then uses :ref:`Flash API ` +to directly access and modify the contents of a device within the area defined for said partition. Within the sample, user may observe how read/write/erase operations @@ -20,9 +20,9 @@ ready for operation. Building and Running ******************** -The application will build for any SoC with internal storage -access enabled, as it is default for SoC devices with defined -fixed-partition, over that internal storage, labeled `storage_partition`. +The sample will be built for any SoC with internal storage, as long as +there is a fixed-partition named ``storage_partition`` defined +on that internal storage. .. zephyr-app-commands:: :zephyr-app: samples/drivers/soc_flash_nrf