ESP8266-01M - littleFS - NVS Partition overwritten

Jojo1220
Posts: 1
Joined: Thu Aug 17, 2023 10:54 am

ESP8266-01M - littleFS - NVS Partition overwritten

Postby Jojo1220 » Thu Aug 17, 2023 11:02 am

Hello @all,

i got a problem with an ESP8266-01M in combination with the littleFS uploaded Filesystem and the partition NVS in combination with the preferences.h libary. I am using PlatformIO and the Arduino core.

My compiled sketch takes approximatly 58% of flash, and my filesystem takes approximatly 44kB of space. If i upload the code with the linker script 1M64.ld + the filesystem Image the written/readen parameters by preferences.h are not working. If i only upload the sketch, the prerferences works perfectly - so the sketch and the programming of these routines are working. I tryed it with a different esp12-f and a 2m256.ld script it also works with the sketch + filesystem. If i change it back to the original 1M64.ld the preferences are not working again...

The target should be, to write/read some project specific parameters which should be actually OK with the given linker script - what can these behaviour causes?

Who is online

Users browsing this forum: No registered users and 13 guests