File System

Fugazi
Posts: 42
Joined: Wed Apr 26, 2017 9:05 pm

File System

Postby Fugazi » Thu May 04, 2017 7:01 pm

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 !! :)

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: File System

Postby WiFive » Fri May 05, 2017 2:04 am


Fugazi
Posts: 42
Joined: Wed Apr 26, 2017 9:05 pm

Re: File System

Postby Fugazi » Fri May 05, 2017 7:55 am

Cant believe I missed that, what a muppet , need to update esp-idf:)

Thanks !

Olof Astrand
Posts: 27
Joined: Tue Jan 31, 2017 10:59 am

Re: File System

Postby Olof Astrand » Fri May 05, 2017 8:36 am

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

Olof Astrand
Posts: 27
Joined: Tue Jan 31, 2017 10:59 am

Re: File System

Postby Olof Astrand » Mon May 08, 2017 10:13 am

For the record. This has been fixed in 33b8b78.

madscientist_42
Posts: 95
Joined: Tue Feb 21, 2017 10:17 pm

Re: File System

Postby madscientist_42 » Mon May 08, 2017 7:19 pm

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...

Who is online

Users browsing this forum: Google [Bot] and 99 guests