Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By piersfinlayson
#55771
KevinA wrote:I hope the NodeMCU group gets the hint, along with the SPIFFS Ardnuio people and the RBOOT person.


I don't use nodemcu or spiffs so can't comment on these, but there's not a great deal to do to rboot is there:
- rboot_bigflash.c looks like it already supports > 4MB flash
- esptool2 needs a tweak to support > 4096KB flash, but looks pretty straightforward
- rboot.c (find_image) needs to support the new > 4096KB setting written into boot config by esptool2, again pretty trivial.

I can't try it out cos I don't have a new > 4MB module (or have one on order, as I don't see a need right now).
User avatar
By KevinA
#55783 I thought rboot was broken; http://tech.scargill.net/esp-sdk-and-rboot-woes/
SPIFFS is in the SDK according to the ESP8266 Book and in the SDK docs there is "esp_spiffs_init" - other than the ESP8266 Book and the one example in EXP8266 RTOS SDK Programming Guide I can't find anything about the API for SPIFFS from Espressif.
I found it: ESP8266 RTOS SDK API Reference
Data Structures
• struct esp_spiffs_config
Functions
• sint32 esp_spiffs_init (struct esp_spiffs_config config)
Initialize spiffs.
• void esp_spiffs_deinit (uint8 format)
Deinitialize spiffs.
4.5.1 Detailed Description
Spiffs APIs.
More details about spiffs on https://github.com/pellepl/spiffs
:lol:
User avatar
By piersfinlayson
#55959
KevinA wrote:I thought rboot was broken; http://tech.scargill.net/esp-sdk-and-rboot-woes/


I can't really make out what problem was being seen from that article, but Pete suggests it's been resolved now. However, I've just found and fixed an issue in the version of rboot-ota I was using - see: http://richard.burtons.org/2015/05/23/rboot-tutorial-for-esp8266-ota-updates/#comment-193

This was with 1.5.2 of the SDK - I haven't tried anything later.

Just for kicks I've got some 128Mbit flash chips coming now so I can try my software out with 16MB :D