summaryrefslogtreecommitdiffstatshomepage
path: root/py/stackctrl.h
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@nxp.com>2019-12-19 15:31:50 -0600
committerDamien George <damien.p.george@gmail.com>2020-02-07 11:24:06 +1100
commitcc19cf2549d4cc8fc24bc35d8ba2187b23a6ab74 (patch)
tree960f4b7a533ec8c7f0724837a330a18bd15977b7 /py/stackctrl.h
parentdbed8f576d71ea373add62a6e35dfb6ad65720f2 (diff)
downloadmicropython-cc19cf2549d4cc8fc24bc35d8ba2187b23a6ab74.tar.gz
micropython-cc19cf2549d4cc8fc24bc35d8ba2187b23a6ab74.zip
zephyr: Implement block device protocol via zephyr disk access api.
Introduces a new zephyr.DiskAccess class that uses the zephyr disk access api to implement the uos.AbstractBlockDev protocol. This can be used with any type of zephyr disk access driver, which currently includes SDHC, RAM, and FLASH implementations. The SDHC driver is enabled on the mimxrt1050_evk board. Only the standard block device protocol (without the offset parameter) can be supported with the zephyr disk access api, therefore this class cannot be used with file systems like littlefs which require the extended interface. In the future it may be possible to implement the extended interface in a new class using the zephyr flash api.
Diffstat (limited to 'py/stackctrl.h')
0 files changed, 0 insertions, 0 deletions