Add a ramfunc section in the data segment, which will be copied to ram on startup.
Add a RAMFUNC function attribute to have functions copied to and run from ram. Fix "blew circular buffer" error in hf 14a snoop by executing SnoopIso14443a from ram (eats about 3.5k of ram)
This commit is contained in:
1 parent
2c3685c26c
commit
6c1e2d95f4
3 files changed
+9
-4
No files matched your search
@@ -47,6 +47,7 @@ SECTIONS
|
||||
.data : {
|
||||
*(.data)
|
||||
*(.data.*)
|
||||
*(.ramfunc)
|
||||
. = ALIGN(4);
|
||||
} >ram AT>osimage :data
|
||||
|
||||
|
||||
Reference in new issue
Block a user