cc19cf2549
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.
4 lines
94 B
Plaintext
4 lines
94 B
Plaintext
# Required for zephyr.DiskAccess block devices
|
|
CONFIG_DISK_ACCESS=y
|
|
CONFIG_DISK_ACCESS_SDHC=y
|