You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
11
6
12
-
13
-
14
7
## Examples
15
8
16
9
*[**examples/SimpleStorageWriteRead**](https://github.com/arduino-libraries/Arduino_UnifiedStorage/blob/main/examples/SimpleStorageWriteRead/SimpleStorageWriteRead.ino) - Write/read simple data from SD, USB and internal storage
@@ -21,7 +14,7 @@ The Arduino_UnifiedStorage library provides a unified interface to access differ
21
14
22
15
*[**examples/Logger**](https://github.com/arduino-libraries/Arduino_UnifiedStorage/blob/main/examples/Logger/Logger.ino) - This example demonstrates how you can log sensor data into its internal storage and detect the insertion of a USB drive. When a USB drive is connected, it selectively transfers only the new data to the USB mass storage device. Even if you remove the USB drive, the device continues to log data in its internal storage. This capability is particularly valuable for accumulating training data required for embedded machine learning applications.
23
16
24
-
*[**examples/InternalStoragePartitioning**](https://github.com/arduino-libraries/Arduino_UnifiedStorage/blob/main/examples/InternalStoragePartitioning/InternalStoragePartitioning.ino) - Demonstrates how you can use the Arduino_UnifiedStorage library to create and read partitions on the Internal QSPI Storage.
17
+
*[**examples/InternalStoragePartitioning**](https://github.com/arduino-libraries/Arduino_UnifiedStorage/blob/main/examples/InternalStoragePartitioning/InternalStoragePartitioning.ino) - Demonstrates how you can use the Arduino_UnifiedStorage library to create and read partitions on the Internal QSPI Storage.
25
18
26
19
## 👀 Instructions
27
20
@@ -42,35 +35,30 @@ The Arduino_UnifiedStorage library provides a unified interface to access differ
42
35
* Register callbacks whenever a USB Mass Storage device has been inserted or removed
43
36
* Get verbose output of every action the library performs for seamless debugging
44
37
45
-
46
-
47
38
## Compatibility
48
39
49
40
This library has been tested with the following STM32 and Renesas based Arduino boards. The availability of storage mediums depends on the hardware interfaces:
50
41
51
42
***Portenta Machine Control**: USB and Internal QSPI Flash
52
-
***Portenta H7 + Portenta Breakout**: USB, &sd, and QSPI
43
+
***Portenta H7 + Portenta Breakout**: USB, SD, and QSPI
53
44
***Portenta H7 + Vision Shield**: SD and QSPI
54
-
***Portenta C33 + Portenta Breakout**: USB, &sd, and QSPI
45
+
***Portenta C33 + Portenta Breakout**: USB, SD, and QSPI
55
46
***Portenta C33 + Vision Shield**: SD and QSPI
56
47
***Opta**: Internal QSPI Flash and USB
57
48
58
-
59
49
60
50
The library allows you to connect a USB drives in a couple of different ways:
61
51
62
-
***Use the USB-C port on the board**: however you have to make sure you are not using the Serial functionality on the same port to avoid conflicts
63
-
***Connect to the USB-A port**on the breakout board
64
-
***Use a USB Hub**, however, we cannot guarantee compatibility with every USB Hub on the market especially the USB-C hubs with advanced features like Ethernet or HDMI.
52
+
***Use the USB-C port on the board**: Ensure Serial functionality is not in use on the same port to prevent conflicts.
53
+
***Connect to the USB-A port**: Located on the Portenta Breakout
54
+
***Use a USB Hub**: Note that while our some USB Hubs are supported, we cannot ensure compatibility with all USB Hubs. Especially for when used together with advanced features like Ethernet or HDMI, such as certain USB-C hubs.
65
55
66
-
Due to the extremely large selection of USB Mass Storage devices on the market, we cannot guarantee compatibility with your USB thumb drive. However, we had great results with drives from reputable brands such as Kingston, SanDisk, Samsung, etc.
56
+
**Note:**Due to the extremely large selection of USB Mass Storage devices on the market, we cannot guarantee compatibility with your USB thumb drive. However, we had great results with drives from reputable brands such as Kingston, SanDisk, Samsung, etc.
67
57
68
58
**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. Please note that the USB Callback functionality on the Portenta C33 boards might also be affected by this issue.
69
59
70
60
This limitation only affects Portenta C33 boards.
71
61
72
62
## 📖 Documentation
73
63
74
-
75
-
76
64
For more information about this library please read the documentation [here](./docs).
0 commit comments