Half size of flash #2
-
In the code below, it appears to set up 256K worth of Flash, but start the flash block device at 512K. Does this mean there is only the 0-0.5M for code/data? What happens to the other 256Kbytes? Did you ever find out why it was crashing?
Inside FS_Nano33BLE.h:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @robzed Thanks for your interest in the library and your discussion, which help me to recheck the library using the latest ArduinoCore-mbed core v2.6.1. The mentioned crash issue has been somehow fixed by the core (I don't have time to check how and where) and now I can use the correct Flash Address start without wasting any flash space. For example
That means if you're using only 64KB of Flash for LittleFS, the reserved flash will be only the last 64KB of 1MB Flash. The remaining 1024-64 = 960KB of Flash will be free to use for your program and/or other purpose. I'll published a new release to reflex this new useful update. As you know, I currently have too many libraries to manage, update and create, and normally wouldn't have time to recheck the written libraries, unless there are some known bugs or issues reported by users. The library will be better and better thanks to contributing users like you. |
Beta Was this translation helpful? Give feedback.
Hi @robzed
Thanks for your interest in the library and your discussion, which help me to recheck the library using the latest ArduinoCore-mbed core v2.6.1.
The mentioned crash issue has been somehow fixed by the core (I don't have time to check how and where) and now I can use the correct Flash Address start without wasting any flash space.
For example
That means if you're using only 64KB of Flash for LittleFS, the reserved flash will be only the last 64K…