Replies: 1 comment
-
In case, someone wants to confirm I'm setting it up right and/or try to re-create it to see what I'm seeing, here is the sketch. I've uploaded to LittleFS a second V0.bin sketch that is simply the Blink sketch.
In the first TEST just to prove the second executable works with the standard UpdaterClass, everything works as expected and here is the output (and the LED blinks :)
Here is the second TEST results. (Simply comment out the #define GOOD_TEST at the top.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation is pretty thin. SDK 3.0.2 simply says,
The source code doesn't exist in the install or the Internet (that I've been able to find so far). If fact, a Google search of "ESP8266 system_restart_enhance" only finds about a dozen hits in the world with none implying successful use, much less showing code.
I've tried using it... even pointing to the user1.bin or user2.bin locations. It only has a bool return value that is always FALSE. I finally tried adding debug level for CORE... UPDATER... and I get the message: failed: need boot >= 1.3. Doing a search on the entire (installed) code base, I cannot find "need boot" anywhere. Startup output gives a eboot version of 4deb0:
system_get_boot_version() returns 31 on the NodeMCU, I'm using at the moment.
I'm pretty much stumped on my next thing to pull on. Does anyone have any experience or suggestions using system_restart_enhance()?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions