Skip to content

Read and write files to flash, USB mass storage and SD cards in a unified way.

License

Notifications You must be signed in to change notification settings

arduino-libraries/Arduino_UnifiedStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💾 Unified Storage Library

Check Arduino Compile Examples Spell Check Sync Labels

The Arduino_UnifiedStorage library provides a unified interface to access different types of storage, including internal storage, SD cards, and USB mass storage devices. It simplifies the handling of files and directories across multiple storage mediums on Portenta, Opta, and some Nicla boards.

Examples

👀 Instructions

  1. Download and install this library
  2. Check compatibility with your platform

✨ Features

  • Access files and directories on internal storage, SD cards, and USB mass storage devices.
  • Read and write data to files.
  • Create, remove, and rename files and directories.
  • Copy and move files and directories.
  • List files and subfolders in a directory.
  • Manipulate files and folders from one storage medium to another
  • Format partitions and drives (FAT and LittleFS)
  • Create and modify partitions on the internal storage

Compatibility

This library has been tested with the following STM32 and Renesas based Arduino boards. The availability of storage mediums depends on the hardware interfaces:

  • Portenta Machine Control: USB and Internal QSPI Flash
  • Portenta H7 + Portenta Breakout: USB, &sd, and QSPI
  • Portenta H7 + Vision Shield: SD and QSPI
  • Portenta C33 + Portenta Breakout: USB, &sd, and QSPI
  • Portenta C33 + Vision Shield: SD and QSPI
  • Opta: Internal QSPI Flash and USB

Note: Due to an unforeseen compatibility issue on the Portenta Breakout Board, inserting a USB drive on the USB-A port of the breakout board may occasionally cause a reboot on Portenta C33 boards. You can work around this issue by connecting your USB Mass Storage device through a USB hub. This limitation only affects Portenta C33 boards.

📖 Documentation

For more information about this library please read the documentation here.

About

Read and write files to flash, USB mass storage and SD cards in a unified way.

Resources

License

Stars

Watchers

Forks

Packages

No packages published