You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got an issue i want to share with you and maybe someone can help me with that problem.
In a project i use ESP8266-01M. I want to access some parameters of the project by webserver which are saved by the preferences.h libary into the nvs. Actually, the project works fine - but now i got an issue, that my with preferences.h defined parameters are not saved after a power on cycle after i loaded the full sketch + filesystem image LittleFS to the esp8266 by platformio. If i load only the sketch - the parameters are successfully saved after power on cycle. If i add the filesystem image the parameters are only reading "0" - or better to say nothing....
I tried the sketch also on a esp12-f with an additional linker script board_build.ldscript = eagle.flash.2m512.ld which is working great - even if i add to the skecth the filesystem. But if i change back to the original one it is not working any more. The original linker script i use is: board_build.ldscript = eagle.flash.1m64.ld which should acuallty work fine because my sketch size is about 58% of rom (data from PlatformIO build) and the filesystemdata is 44kB which should be also fine.
Someone has an idea why it is not working in the "original" configuration?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
i got an issue i want to share with you and maybe someone can help me with that problem.
In a project i use ESP8266-01M. I want to access some parameters of the project by webserver which are saved by the preferences.h libary into the nvs. Actually, the project works fine - but now i got an issue, that my with preferences.h defined parameters are not saved after a power on cycle after i loaded the full sketch + filesystem image LittleFS to the esp8266 by platformio. If i load only the sketch - the parameters are successfully saved after power on cycle. If i add the filesystem image the parameters are only reading "0" - or better to say nothing....
I tried the sketch also on a esp12-f with an additional linker script board_build.ldscript = eagle.flash.2m512.ld which is working great - even if i add to the skecth the filesystem. But if i change back to the original one it is not working any more. The original linker script i use is: board_build.ldscript = eagle.flash.1m64.ld which should acuallty work fine because my sketch size is about 58% of rom (data from PlatformIO build) and the filesystemdata is 44kB which should be also fine.
Someone has an idea why it is not working in the "original" configuration?
Beta Was this translation helpful? Give feedback.
All reactions