Skip to content

Commit aae8513

Browse files
author
Rohit Grover
committed
changes needed to support V7 of the nRF51822 soft-device 110
1 parent 2d4abbb commit aae8513

32 files changed

+7428
-6530
lines changed

libraries/mbed/targets/cmsis/TARGET_NORDIC/TARGET_NRF51822/TOOLCHAIN_ARM_STD/nRF51822.sct

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
;WITHOUT SOFTDEVICE:
2-
;LR_IROM1 0x00000000 0x00040000 {
3-
; ER_IROM1 0x00000000 0x00040000 {
2+
;LR_IROM1 0x00000000 0x00040000 {
3+
; ER_IROM1 0x00000000 0x00040000 {
44
; *.o (RESET, +First)
55
; *(InRoot$$Sections)
66
; .ANY (+RO)
77
; }
8-
; RW_IRAM1 0x20000000 0x00004000 {
8+
; RW_IRAM1 0x20000000 0x00004000 {
99
; .ANY (+RW +ZI)
1010
; }
1111
;}
1212
;
1313
;WITH SOFTDEVICE:
1414

15-
LR_IROM1 0x14000 0x002C000 {
16-
ER_IROM1 0x14000 0x002C000 {
15+
LR_IROM1 0x16000 0x002A000 {
16+
ER_IROM1 0x16000 0x002A000 {
1717
*.o (RESET, +First)
1818
*(InRoot$$Sections)
1919
.ANY (+RO)
2020
}
21-
RW_IRAM1 0x20002000 0x00002000 {
21+
RW_IRAM1 0x20002000 0x00002000 {
2222
.ANY (+RW +ZI)
2323
}
2424
}

libraries/mbed/targets/cmsis/TARGET_NORDIC/TARGET_NRF51822/TOOLCHAIN_GCC_ARM/NRF51822.ld

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
MEMORY
44
{
5-
FLASH (rx) : ORIGIN = 0x00014000, LENGTH = 0x2C000
6-
RAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x2000
5+
FLASH (rx) : ORIGIN = 0x00016000, LENGTH = 0x2A000
6+
RAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x2000
77
}
88

99
OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
@@ -12,7 +12,7 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
1212
* with other linker script that defines memory regions FLASH and RAM.
1313
* It references following symbols, which must be defined in code:
1414
* Reset_Handler : Entry of reset handler
15-
*
15+
*
1616
* It defines following symbols, which code can use without definition:
1717
* __exidx_start
1818
* __exidx_end
@@ -64,9 +64,9 @@ SECTIONS
6464

6565
*(.eh_frame*)
6666
} > FLASH
67-
6867

69-
.ARM.extab :
68+
69+
.ARM.extab :
7070
{
7171
*(.ARM.extab* .gnu.linkonce.armextab.*)
7272
} > FLASH
@@ -79,7 +79,7 @@ SECTIONS
7979
__exidx_end = .;
8080

8181
__etext = .;
82-
82+
8383
.data : AT (__etext)
8484
{
8585
__data_start__ = .;
@@ -123,7 +123,7 @@ SECTIONS
123123
. = ALIGN(4);
124124
__bss_end__ = .;
125125
} > RAM
126-
126+
127127
.heap (COPY):
128128
{
129129
__end__ = .;
@@ -145,7 +145,7 @@ SECTIONS
145145
__StackTop = ORIGIN(RAM) + LENGTH(RAM);
146146
__StackLimit = __StackTop - SIZEOF(.stack_dummy);
147147
PROVIDE(__stack = __StackTop);
148-
148+
149149
/* Check if data + heap + stack exceeds RAM limit */
150150
ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")
151151
}

libraries/mbed/targets/hal/TARGET_NORDIC/TARGET_NRF51822/Lib/s110_nrf51822_6_0_0/README.md

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)