From bee032fc84c93d57d046ece4bcef87ad665a51f7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 1 May 2013 10:59:57 -0600 Subject: [PATCH] Add an optional byte-oriented write method to the MTD interface --- Documentation/NuttxPortingGuide.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index bb457ffd311..845f4e5d52c 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -3192,12 +3192,21 @@ extern void up_ledoff(int led);

Some devices may support byte oriented reads (optional). - Most MTD devices are inherently block oriented so byte-oriented writing is not supported. + Most MTD devices are inherently block oriented so byte-oriented accesses are not supported. It is recommended that low-level drivers not support read() if it requires buffering.

+

+ Some devices may also support byte oriented writes (optional). + Most MTD devices are inherently block oriented so byte-oriented accesses are not supported. + It is recommended that low-level drivers not support read() if it requires buffering. + This interface is only available if CONFIG_MTD_BYTE_WRITE is defined. +

+

Support other, less frequently used commands: