docs/zephyr: Add zephyr FlashArea IDs docs.
Signed-off-by: Vdragon <mail@massdriver.space>
This commit is contained in:
parent
8728db3e41
commit
ced7ebb873
1 changed files with 2 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ Use the :ref:`zephyr.FlashArea <zephyr.FlashArea>` class to support filesystem::
|
|||
f.write('Hello world') # write to the file
|
||||
print(open('/flash/hello.txt').read()) # print contents of the file
|
||||
|
||||
The FlashAreas' IDs that are available are listed in the FlashArea module, as ID_*.
|
||||
|
||||
Sensor
|
||||
------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue