-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
type: enhancementProposed improvementProposed improvement
Metadata
Metadata
Assignees
Labels
type: enhancementProposed improvementProposed improvement
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
dansiviter commentedon Jun 5, 2024
Relates to arduino-libraries/Arduino_POSIXStorage#24.
Vidbuf commentedon Mar 29, 2025
This seems like an excellent solution and I was hoping I could use it on a GIGA WiFi too.... just a note here to say there's definitely interest in GIGA compatibility.
BikMe commentedon Apr 8, 2025
HI, I recently modified some files in Arduino_PosixStorage library and Arduino_UnifiedStorage to be compatible with giga board and seems that works ( tested with exemple SimpleStorageWriteRead.ino ->it works, however, I tested with Logger.ino but not working because issue with SDMMCBlockDevice() library -> I guess). any interest in sharing this in order to contribute or how can I do this ?
Vidbuf commentedon Apr 10, 2025
I happened to look at the Logger code this morning and it seems to use the Internal Storage and USB. I didn't see it needing the SD card???
In any case I got everything to compile for the GIGA too. I moved the Portenta SD library into my library folder to satisfy the SDMMC dependencies. But I don't have an SD reader so I haven't tested that yet.
It sure would be great if there were an official release of this for the GIGA too.
BikMe commentedon Apr 13, 2025
Hi,
some instructions to share to implement this library on Giga board
into your /arduino/hardware/mbed_giga/4.2.2/libraries
architectures=
for the followings 3 libraries:Arduino_PosixStorage, Arduino_UnifiedStorage, and SDMMCBlockDevice is compatible with Giga board
architectures=renesas_portenta,mbed_portenta,mbed_opta,mbed_giga
to prevent IDE's library incompatibility message
I share my modifed files
Arduino_POSIXStorage.cpp.txt
Arduino_POSIXStorage.h.txt
Boards.h.txt
Note: I don't know how to by-pass SDMMC dependencies checks, I also did'nt test internal storage but seems that Logger.ino works. Note: I don't know how to by-pass SDMMC dependencies checks, I also did'nt test internal storage but seems that Logger.ino works.
I hope that Arduino would upgrade this for Giga too ;-)
seems that begin() function dosen't work ouside setup() routine I tried to call begin() function but it dosen't work
anyone as an idea?
Note: I don't know how to by-pass SDMMC dependencies checks, I also did'nt test internal storage but seems that Logger.ino works.
exemple_Giga_USBCallbacks.ino.txt
thanks for any feedback
Vidbuf commentedon Apr 13, 2025
I've also been testing my very similar port to the GIGA. I noticed if the InternalStorage class encounters an error during initialization outside of the Setup function it blocks and hangs the whole sketch. In my case I had the fourth partition already set up as TDBS to store my KeyValue settings (without a file system) and the InternalStorage class output a nice error message if I instantiated it in the Setup function, but if I instantiated it as a global then it just hung my whole sketch. After repartitioning my FLASH (eliminating the TDBS partition) I can instantiate InternalStorage globally OK. So it's a bit touchy about handling unexpected situations gracefully....