fix base adresses in sam3 devices with multiple sram blocks, add nfc section
This commit is contained in:
@@ -59,6 +59,9 @@ MEMORY
|
||||
#if defined(_XDRAM)
|
||||
xdram (rw) : ORIGIN = _XDRAM_OFF, LENGTH = _XDRAM
|
||||
#endif
|
||||
#if defined(_NFCRAM)
|
||||
nfcram (rw) : ORIGIN _NFCRAM_OFF, LENGTH = _NFCRAM
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Define sections. */
|
||||
@@ -169,6 +172,13 @@ SECTIONS
|
||||
} >xdram
|
||||
#endif
|
||||
|
||||
#if defined(_NFCRAM)
|
||||
.nfcram : {
|
||||
*(.nfcram*)
|
||||
. = ALIGN(4);
|
||||
} >nfcram
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The .eh_frame section appears to be used for C++ exception handling.
|
||||
* You may need to fix this if you're using C++.
|
||||
|
||||
Reference in New Issue
Block a user