-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use of settings consumes more flash (V2) - need to reflect this in available flash for app #5535
Comments
There are target-specific settings for end of flash
There is no way to override on a package basis, so we would need some special case coding somewhere for this... or we just hard code the limit, assuming settings is used. |
Note that the above flashUsableEnd already is incorrect, as it doesn't reflect the memory map: https://github.com/lancaster-university/codal-microbit-v2/blob/master/docs/MemoryMap.md. From the memory map for the V2, the flashUsableEnd is now 0x73000, which is 471,040. Subtracting 32k for settings get us down to 0x6b000 = 438,272 |
On further reflection, it seems rather severe to take away 32k for settings. On the other hand, most micro:bit programs are tiny! Thoughts? |
@abchatra - Do we have a set of test programs we can benchmark on? |
@carlosperate - can you please give me a set of the largest MakeCode programs for the micro:bit. |
See #5548 |
Is that the CODAL MicroBitStorage (or similar) settings. If not, this could be also related:
I don't have anything specifically created for this purpose, mostly just encountered some examples (also from your own testing) like these: |
I am assuming this doesn't need to be tracked as an issue. Closing. If not let me know. |
The text was updated successfully, but these errors were encountered: