diff options
Diffstat (limited to 'lib/samd51')
-rw-r--r-- | lib/samd51/samd51.patch | 55 | ||||
-rw-r--r-- | lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld | 2 | ||||
-rw-r--r-- | lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld | 2 | ||||
-rw-r--r-- | lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld | 2 | ||||
-rw-r--r-- | lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld | 2 |
5 files changed, 4 insertions, 59 deletions
diff --git a/lib/samd51/samd51.patch b/lib/samd51/samd51.patch index 482e313b..f1c04eeb 100644 --- a/lib/samd51/samd51.patch +++ b/lib/samd51/samd51.patch @@ -1,58 +1,3 @@ -diff --git a/lib/samd51/samd51.patch b/lib/samd51/samd51.patch -new file mode 100644 -index 00000000..e69de29b -diff --git a/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld -index bee9c68d..551597dc 100644 ---- a/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld -+++ b/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld -@@ -35,7 +35,7 @@ SEARCH_DIR(.) - /* Memory Spaces Definitions */
- MEMORY
- {
-- rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000
-+ rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00080000 - FLASH_START
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
- bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
- qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
-diff --git a/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld -index 3dfbe0d4..07ee9864 100644 ---- a/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld -+++ b/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld -@@ -35,7 +35,7 @@ SEARCH_DIR(.) - /* Memory Spaces Definitions */
- MEMORY
- {
-- rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000
-+ rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00080000 - FLASH_START
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
- bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
- qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
-diff --git a/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld -index ae77ba71..1c595648 100644 ---- a/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld -+++ b/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld -@@ -35,7 +35,7 @@ SEARCH_DIR(.) - /* Memory Spaces Definitions */
- MEMORY
- {
-- rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000
-+ rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00080000 - FLASH_START
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
- bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
- qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
-diff --git a/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld -index 60f73b47..4d8ad695 100644 ---- a/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld -+++ b/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld -@@ -35,7 +35,7 @@ SEARCH_DIR(.) - /* Memory Spaces Definitions */
- MEMORY
- {
-- rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00100000
-+ rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00100000 - FLASH_START
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
- bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
- qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
diff --git a/lib/samd51/samd51a/gcc/gcc/startup_samd51.c b/lib/samd51/samd51a/gcc/gcc/startup_samd51.c index d00bd7a2..42575901 100644 --- a/lib/samd51/samd51a/gcc/gcc/startup_samd51.c diff --git a/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld index 551597dc..bee9c68d 100644 --- a/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld +++ b/lib/samd51/samd51a/gcc/gcc/samd51g19a_flash.ld @@ -35,7 +35,7 @@ SEARCH_DIR(.) /* Memory Spaces Definitions */
MEMORY
{
- rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00080000 - FLASH_START
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
diff --git a/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld index 07ee9864..3dfbe0d4 100644 --- a/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld +++ b/lib/samd51/samd51a/gcc/gcc/samd51j19a_flash.ld @@ -35,7 +35,7 @@ SEARCH_DIR(.) /* Memory Spaces Definitions */
MEMORY
{
- rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00080000 - FLASH_START
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
diff --git a/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld index 1c595648..ae77ba71 100644 --- a/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld +++ b/lib/samd51/samd51a/gcc/gcc/samd51n19a_flash.ld @@ -35,7 +35,7 @@ SEARCH_DIR(.) /* Memory Spaces Definitions */
MEMORY
{
- rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00080000 - FLASH_START
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00080000
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00030000
bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
diff --git a/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld b/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld index 4d8ad695..60f73b47 100644 --- a/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld +++ b/lib/samd51/samd51a/gcc/gcc/samd51p20a_flash.ld @@ -35,7 +35,7 @@ SEARCH_DIR(.) /* Memory Spaces Definitions */
MEMORY
{
- rom (rx) : ORIGIN = 0x00000000 + FLASH_START, LENGTH = 0x00100000 - FLASH_START
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x00100000
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00040000
bkupram (rwx) : ORIGIN = 0x47000000, LENGTH = 0x00002000
qspi (rwx) : ORIGIN = 0x04000000, LENGTH = 0x01000000
|