You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/05/17 20:51:40 UTC
[17/50] [abbrv] incubator-mynewt-core git commit: Fix incorrect RAM
allocation (was 32K; now 16K)
Fix incorrect RAM allocation (was 32K; now 16K)
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/c70353c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/c70353c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/c70353c1
Branch: refs/heads/master
Commit: c70353c193bf3e91a095cfc5076ac578f8e1bc69
Parents: 4146b1a
Author: William San Filippo <wi...@runtime.io>
Authored: Tue May 10 20:47:41 2016 -0700
Committer: William San Filippo <wi...@runtime.io>
Committed: Tue May 10 21:15:22 2016 -0700
----------------------------------------------------------------------
hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld | 2 +-
hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/c70353c1/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld b/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld
index bf06c92..133ba36 100755
--- a/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld
+++ b/hw/bsp/nrf51-arduino_101/nrf51dk-16kbram_no_boot.ld
@@ -20,7 +20,7 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000
- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x8000
+ RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
/* Linker script to place sections and symbol values. Should be used together
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/c70353c1/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld b/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld
index b5547fc..3c12335 100755
--- a/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld
+++ b/hw/bsp/nrf51dk-16kbram/nrf51dk-16kbram_no_boot.ld
@@ -20,14 +20,14 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000
- RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x8000
+ RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000
}
/* Linker script to place sections and symbol values. Should be used together
* with other linker script that defines memory regions FLASH and RAM.
* It references following symbols, which must be defined in code:
* Reset_Handler : Entry of reset handler
- *
+ *
* It defines following symbols, which code can use without definition:
* __exidx_start
* __exidx_end
@@ -85,7 +85,7 @@ SECTIONS
} > FLASH
- .ARM.extab :
+ .ARM.extab :
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
. = ALIGN(4);
@@ -109,7 +109,7 @@ SECTIONS
. = . + (__isr_vector_end - __isr_vector_start);
. = ALIGN(4);
} > RAM
-
+
.data : AT (__etext)
{
__data_start__ = .;