feat(drv): Implement Arduino SD driver (#5968)
This commit is contained in:
24
docs/libs/arduino-sd.rst
Normal file
24
docs/libs/arduino-sd.rst
Normal file
@@ -0,0 +1,24 @@
|
||||
.. _arduino_sd:
|
||||
|
||||
==========
|
||||
Arduino SD
|
||||
==========
|
||||
|
||||
Enables reading and writing on SD cards.
|
||||
Once an SD memory card is connected to the SPI interface of the Arduino or Genuino board you can create files
|
||||
and read/write on them. You can also move through directories on the SD card..
|
||||
|
||||
Detailed introduction:
|
||||
- https://www.arduino.cc/reference/en/libraries/sd/
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Enable :c:macro:`LV_USE_FS_ARDUINO_SD` and define a :c:macro`LV_FS_ARDUINO_SD_LETTER` in ``lv_conf.h``.
|
||||
You probably need to configure the :c:macro:`LV_FS_ARDUINO_SD_CS_PIN` and :c:macro:`LV_FS_ARDUINO_SD_FREQUENCY` that
|
||||
corresponds to the pin connected and the frequency used by the chip of the SD CARD.
|
||||
|
||||
|
||||
API
|
||||
---
|
||||
@@ -16,6 +16,7 @@ LVG has built in support for:
|
||||
- MEMFS (read a file from a memory buffer)
|
||||
- LITTLEFS (a little fail-safe filesystem designed for microcontrollers)
|
||||
- Arduino ESP LITTLEFS (a little fail-safe filesystem designed for Arduino ESP)
|
||||
- Arduino SD (allows for reading from and writing to SD cards)
|
||||
|
||||
You still need to provide the drivers and libraries, this extension
|
||||
provides only the bridge between FATFS, STDIO, POSIX, WIN32 and LVGL.
|
||||
|
||||
@@ -23,4 +23,5 @@
|
||||
ffmpeg
|
||||
rle
|
||||
arduino_esp_littlefs
|
||||
arduino_sd
|
||||
lfs
|
||||
|
||||
Reference in New Issue
Block a user