Skip to content

Commit

Permalink
Merge pull request #5425 from locicontrols/cc2538-ldscript
Browse files Browse the repository at this point in the history
cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead
  • Loading branch information
Andreas "Paul" Pauli committed May 19, 2016
2 parents c805853 + 10b001c commit 9693c3c
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 159 deletions.
155 changes: 0 additions & 155 deletions cpu/cc2538/ldscripts/cc2538.ld

This file was deleted.

11 changes: 10 additions & 1 deletion cpu/cc2538/ldscripts/cc2538nf11.ld
Expand Up @@ -25,6 +25,15 @@ MEMORY
ram (rwx) : ORIGIN = 0x20004000, LENGTH = 16K
}

INCLUDE cc2538.ld
/* MCU Specific Section Definitions */
SECTIONS
{
.flashcca :
{
KEEP(*(.flashcca))
} > cca
}

INCLUDE cortexm_base.ld

/* @} */
11 changes: 10 additions & 1 deletion cpu/cc2538/ldscripts/cc2538nf23.ld
Expand Up @@ -26,6 +26,15 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
}

INCLUDE cc2538.ld
/* MCU Specific Section Definitions */
SECTIONS
{
.flashcca :
{
KEEP(*(.flashcca))
} > cca
}

INCLUDE cortexm_base.ld

/* @} */
11 changes: 10 additions & 1 deletion cpu/cc2538/ldscripts/cc2538nf53.ld
Expand Up @@ -26,6 +26,15 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
}

INCLUDE cc2538.ld
/* MCU Specific Section Definitions */
SECTIONS
{
.flashcca :
{
KEEP(*(.flashcca))
} > cca
}

INCLUDE cortexm_base.ld

/* @} */
11 changes: 10 additions & 1 deletion cpu/cc2538/ldscripts/cc2538sf53.ld
Expand Up @@ -24,6 +24,15 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
}

INCLUDE cc2538.ld
/* MCU Specific Section Definitions */
SECTIONS
{
.flashcca :
{
KEEP(*(.flashcca))
} > cca
}

INCLUDE cortexm_base.ld

/* @} */

0 comments on commit 9693c3c

Please sign in to comment.