pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

filesystem support

Open kilograham opened this issue 3 years ago • 4 comments

maybe add some minimal stubs for common libraries like littlefs (i.e. make them trivial to use if the littlefs code is present)

kilograham avatar Jul 27 '21 18:07 kilograham

If it gets to the top of your pile soon enough, maybe we can get one of this year's interns to do some SD Card examples with littlefs for pico-examples?

aallan avatar Jul 28 '21 08:07 aallan

Glad to see this is on the radar, and +1 on examples of writing a file from host and reading it on the pi pico.

speedypotato avatar Aug 01 '21 18:08 speedypotato

i would very much like support for this

deanhuff avatar Aug 03 '21 19:08 deanhuff

Hello, please add support for this (sd card on spi) as it is basic requirements for many commercial products. We are only this support short of using rp2040. Please support this asap.

rmeshpresh avatar Jun 30 '22 16:06 rmeshpresh

I am also running into this issue. I've been trying to analyse the SDK but find no definitions of open nor fopen (somewhat unsurprisingly). Is there any realistic way to "hack" this in? My efforts of searching for the connection between f...() stdio functions and SDK implementations haven't yet yielded any results.

Interestingly, fmemopen() does currently seem to work.

robotman2412 avatar Feb 27 '23 12:02 robotman2412

I think they are not even made example for spi sd card. Even basic microcontroller provide this support out of box in their sdk.

On Mon, Feb 27, 2023, 18:27 Robot @.***> wrote:

I am also running into this issue. I've been trying to analyse the SDK but find no definitions of open nor fopen (somewhat unsurprisingly). Is there any realistic way to "hack" this in? My efforts of searching for the connection between f...() stdio functions and SDK implementations hasn't yet yielded any results.

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/pico-sdk/issues/531#issuecomment-1446278838, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJBWUBD44N7HTK34MTCF4DWZSQDRANCNFSM5BC2JDMA . You are receiving this because you commented.Message ID: @.***>

rmeshpresh avatar Feb 28 '23 16:02 rmeshpresh