Upload of large code (15 kb fails) #1100
Replies: 4 comments
-
Posted at 2018-05-21 by @gfwilliams Are you using firmware 1v98? and on Puck.js? Which IDE are you using? The Windows Native one? The IDE should be splitting those writes into a series of function calls, but it doesn't appear to be (I guess it might be an old one, or maybe I didn't update the Windows Native IDE). It looks like the flash write fails because of the write size being greater than 4k though - I'll fix that in the firmware (but with the right IDE it shouldn't be an issue anyway). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-05-21 by AntiCat I'm using a Mac, WebIDE version is 0.68.6 and a Puck with the latest travis build 1v98+1. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-05-21 by @gfwilliams Ahh - if you try just However if you use one of the travis builds it should now be fixed in the firmware as well. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-05-21 by AntiCat It works now - thank your for resolving the issue so quickly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-05-19 by AntiCat
I've a pretty large application consisting of 5 modules (loaded with require) and a main.
I've enabled "Save on Send" and set "Minification" as well as "Module Minification" to "Closure Simple".
The upload kind of succeeds but the execution fails with
Further more the saved code is garbage:
If reduce my code size by deleting functions, everything turns back to normal.
Can this be fixed? I'm also happy with a solution where I upload the modules and the main separately.
Beta Was this translation helpful? Give feedback.
All reactions