[SOLVED] Broken library function in FlashEEPROM #5538
Replies: 1 comment
-
Posted at 2016-05-13 by @gfwilliams Maybe you could strip this down to just one or two functions that exhibit the problem? And also check that is happens on one of our builds - preferably on one of our boards like the Pico. If it says But actually my guess is you're building with an out of date firmware, and building for ESP8266 - I saw a regression that looked a bit like this yesterday and fixed it, and you might not have updated since then? Posted at 2016-05-13 by ceremcem Here you are:
As you might not see my edit in the previous post, the situation is the same with EditSame with current Posted at 2016-05-13 by @gfwilliams Works fine for me on a Pico with 1v85...
edit: moving this to ESP8266 - as this is not an issue with Espruino boards. Posted at 2016-05-13 by ceremcem It's absolutely relevant with my build. How can I trace this issue? What am I doing wrong? Posted at 2016-05-13 by @gfwilliams When you type Out of interest, why exactly are you doing your own build? Don't the travis ones do what you need? Posted at 2016-05-13 by ceremcem Well, I found the problem. I just forgot to rename new build folder after The reason I build on my own is because both being able to do so, and keep up with your latest fixes :) Nothing related with a hack or something. Posted at 2016-05-13 by ceremcem FYI: I moved these builds to a new repo: https://github.com/aktos-io/aktos-espruino-builds Posted at 2016-05-17 by @gfwilliams Ok - however the absolute latest builds are automatically compiled and put online anyway.
Posted at 2016-07-31 by ceremcem How can we calculate the Is it something a little bit more than Espruino size?
(0x076000 = 483328 > 477588) Posted at 2016-08-01 by Wilberforce @ceremcem
This method returns an array of objects of the form {addr : #, length : #}, representing contiguous areas of flash memory in the chip that are not used for anything. Posted at 2016-08-01 by @gfwilliams Note that FlashEEPROM is smart enough that you can just leave the argument out, and it'll automatically use Posted at 2016-08-01 by ceremcem If I use FlashEEPROM as is (without a parameter), any attempt to write something into EEprom causes
Posted at 2016-08-13 by ceremcem I figured out the problem: It's all about my bundling script that uses uglifyjs where it drops |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-13 by ceremcem
A working code now outputs an error:
I built Espruino by myself from commit 3d4047bf4fe5ab52f7b583257e41eae24a7fc947.
EDIT
Situation is the same with
git checkout tags/RELEASE_1V85
Beta Was this translation helpful? Give feedback.
All reactions