Remove writable flash regions support
Removing support for writable flash regions permits to save 1 page in the binary due to alignment constraints. It also permits to reduce the diff with libtock-rs which doesn't support writable flash regions. This commit also updates the `SyscallStorage` documentation.
This commit is contained in:
12
layout.ld
12
layout.ld
@@ -71,18 +71,6 @@ SECTIONS {
|
||||
. = ALIGN(32);
|
||||
} > FLASH =0xFF
|
||||
|
||||
/* App state section. Used for persistent app data.
|
||||
* We put this first because this is what libtock-c does. They provide the
|
||||
* following explanation: if the app code changes but the persistent data
|
||||
* doesn't, the app_state can be preserved.
|
||||
*/
|
||||
.wfr.app_state :
|
||||
{
|
||||
. = ALIGN(4K);
|
||||
KEEP (*(.app_state))
|
||||
. = ALIGN(4K);
|
||||
} > FLASH =0xFFFFFFFF
|
||||
|
||||
/* Text section, Code! */
|
||||
.text :
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user