fix base adresses in sam3 devices with multiple sram blocks, add nfc section

This commit is contained in:
Felix Held
2014-02-06 23:01:50 +01:00
parent 8d5ad52e0f
commit 1f702cd940
2 changed files with 26 additions and 10 deletions

View File

@@ -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++.