Flash Pages (Code, FS, Bootloader, Softdevice) #3131
Replies: 2 comments
-
Posted at 2019-10-21 by @gfwilliams
Yes, you can! Obviously the start address needs to change too, but it should be pretty straightforward. Annoyingly It probably uses 100 bytes of data in most cases, but it requires 2x 4kB flash pages to function :( It may be possible to just not include fstorage in the build and then make your own stub functions for read/write that use Espruino's Storage implementation though? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-10-21 by AntiCat Thank you for the explanation. I've looked at the interface |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-10-19 by AntiCat
I've started to port old code that uses the (deprecated) Flash-Module to the Storage-Module.
With the Flash-Module I could disable features like NET, GRAPHICS and thereby increase the Storage available to me. (As far as I know, the Flash-Module uses the pages between the executable and the reserved area).
The Storage-Module, on the other hand, seems to use the pages defined by
pages: 10
.Can I simply increase
pages
and decreaseflash_available
by the same amount to move the free space from the Flash-Module to Storage-Module?What are the 2 pages reserved for
FS
for?Beta Was this translation helpful? Give feedback.
All reactions