Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By martinayotte
#25849 Hi Roger,

Yes, in the thread you've mentioned, I've even provided some bug fixes to IGRR, some are already mreged.
There still a bug remaining, but probably not on mkspiffs side, but on ESP side, is that files can't be bigger than 4096 bytes.

BTW, maybe the same SPIFFS object can be implemented in a library on our STM32 github ... ;)

Ciao !
User avatar
By RogerClark
#25856 Hi Martin,

I suppose SPIFFS could be implemented in STM32, in fact for EMW3165 its almost certainly needed.

I'm not sure how much use SPIFFS is going to be much use for general STM32F103 users with 128kb flash devices, but I guess it could come in handy for storing small images for UI stuff on displays.

Like on the ESP we'd need to upload it separately into a defined area of Flash.
User avatar
By martinayotte
#25858
RogerClark wrote:I suppose SPIFFS could be implemented in STM32, in fact for EMW3165 its almost certainly needed.


Yes, like we discussed on stm32duino forum, EMW3165 is using something that look like SPIFFS, since there is about 400K of some kind of filesystems according to your discovery.

RogerClark wrote:I'm not sure how much use SPIFFS is going to be much use for general STM32F103 users with 128kb flash devices, but I guess it could come in handy for storing small images for UI stuff on displays.

Ohoh ! you still think about F103 chair ... Maybe you need to remember that even if I have some MapleMini, my primary interest is F4xx, since I own a stm32f4stamp and a Netduino (both F405) which has 1M of Flash ... ;)
Also, I've received some W25Q128 today, hooking those up on either ESP or STM32 SPI port, that's provides 16MB ! Wow ! :D

RogerClark wrote:Like on the ESP we'd need to upload it separately into a defined area of Flash.

Yes, as a kind of "default factory", at a well known defined address. But after that, firmware can handle that itself with Web Upload or some kind of Data OTA.
User avatar
By RogerClark
#25860 Yes. F103 is my primary focus, mainly as the majority of the STM32duino forum seems to be using some flavour of that device

But I agree, I should diversify

BTW. I just did a couple of videos on the EMW3165,
https://www.youtube.com/watch?v=Ow3AqO7-udE

Apologies about the audio, I can't seem to get the mic level quite right. (even after 3 takes)

(Video 2 is still processing and will be online soon)