sprig icon indicating copy to clipboard operation
sprig copied to clipboard

Get version number from console & check in web editor on upload.

Open recursiveforte opened this issue 10 months ago • 1 comments

On each upload of a game to the sprig device, the web editor will check if it is running the latest version. If it's running a legacy version (created before this commit & using the old serial interface), the web UI will force the user to update to a later version. If it's running a version that uses the new serial interface, the UI will issue a warning.

I was running into heap overflow issues, so I reduced Jerryscript's heap size from 202kb to 150kb. We're not currently able to compile Jerryscript, so I copied the compiled Jerryscript files from an earlier version of spade that had a heap size of 150kb. Jerryscript's internal heap is allocated in the BSS section, which was eating into our normal heap space and explains why we were seeing only 16kb of available heap space.

The latest version number is declared in firmware/spade/src/shared/version.json

recursiveforte avatar Apr 24 '24 19:04 recursiveforte

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sprig ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 1:14pm

vercel[bot] avatar Apr 24 '24 19:04 vercel[bot]