thermosphere: rework linkscrips, use discardable sections, better sp pivot on crash

This commit is contained in:
TuxSH
2019-08-02 00:47:48 +02:00
parent e6c5eb3928
commit e0339049b3
9 changed files with 92 additions and 56 deletions

View File

@@ -0,0 +1,8 @@
MEMORY
{
NULL : ORIGIN = 0, LENGTH = 0x1000
main : ORIGIN = 0x80000000, LENGTH = 0xD000
/* This area is overwritten by the secure monitor when preparing for deep sleep. */
temp : ORIGIN = 0xFF800000, LENGTH = 0x400000
}