Page 1 of 1

File System

Posted: Thu May 04, 2017 7:01 pm
by Fugazi
Hi

This is the last thing I need to get my project moved from the esp8266 where I use SPIFFS to save data.

Is there anyway to replicate this yet, or another way to save a few KB of data on the esp32 easily - I have looked into the LUA port of SPIFFs, but not a good enough coder to work it out.

Any examples ?

Thanks for your help - nearly there, just need this last thing !! :)

Re: File System

Posted: Fri May 05, 2017 2:04 am
by WiFive

Re: File System

Posted: Fri May 05, 2017 7:55 am
by Fugazi
Cant believe I missed that, what a muppet , need to update esp-idf:)

Thanks !

Re: File System

Posted: Fri May 05, 2017 8:36 am
by Olof Astrand
However, the big question is, does the example work?

I got this result,

https://github.com/Ebiroll/qemu_esp32/b ... creenlog.0

Code: Select all

flash: ff_wl_ioctl: cmd=3
V (680) ff_diskio_spiflash: ff_wl_ioctl: cmd=2
V (690) ff_diskio_spiflash: ff_wl_read - pdrv=0, sector=0, count=1
V (690) wl_flash: read - src_addr=0x00000000, size=0x00001000[0m
V (700) wl_flash: calcAddr - addr=0x00000000 -> result=0x00001000[0m
E (700) vfs_fat_spiflash: f_mkfs failed (14)[0m
E (710) example: Failed to mount FATFS (0xffffffff)[0m

Did not work for me

Re: File System

Posted: Mon May 08, 2017 10:13 am
by Olof Astrand
For the record. This has been fixed in 33b8b78.

Re: File System

Posted: Mon May 08, 2017 7:19 pm
by madscientist_42
Olof Astrand wrote:For the record. This has been fixed in 33b8b78.
Probably has been...I know one of my woes a bit back was just simply fixed. We're likely to find that grabbing an update to the IDF is going to fix many things. Only drawback to getting silicon a bit earlier than the dev framework being finished. Always gettin' zapped... :twisted:

I'm a patient sort...well, after a fashion. I want to be able to get Classic fully going on these things for my own inscrutable purposes. A pet project to fix an annoyance that the BT SIG inflicted on us with these profiles that not all support yet...