You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/04/10 18:05:01 UTC

[1/2] incubator-mynewt-core git commit: nrf51 bsp fixes from discussion https://github.com/apache/incubator-mynewt-core/pull/198/files

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/master 95935c62c -> b8a354970


nrf51 bsp fixes from discussion https://github.com/apache/incubator-mynewt-core/pull/198/files


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/f1779916
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f1779916
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f1779916

Branch: refs/heads/master
Commit: f1779916f044bc2e785a1bca7eb2033d267b6caf
Parents: e23872d
Author: Jacob Rosenthal <ja...@gmail.com>
Authored: Sun Apr 9 20:51:20 2017 -0700
Committer: Jacob Rosenthal <ja...@gmail.com>
Committed: Sun Apr 9 20:51:20 2017 -0700

----------------------------------------------------------------------
 hw/bsp/bmd200/src/sbrk.c                        | 2 --
 hw/bsp/bmd300eval/src/sbrk.c                    | 2 --
 hw/bsp/nrf51-blenano/split-nrf51dk.ld           | 4 ++--
 hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld | 4 ++--
 hw/bsp/nrf51dk-16kbram/src/sbrk.c               | 2 --
 hw/bsp/nrf51dk/src/sbrk.c                       | 2 --
 hw/bsp/usbmkw41z/src/sbrk.c                     | 2 --
 7 files changed, 4 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/bmd200/src/sbrk.c
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd200/src/sbrk.c b/hw/bsp/bmd200/src/sbrk.c
index 5df43c9..3fe253e 100644
--- a/hw/bsp/bmd200/src/sbrk.c
+++ b/hw/bsp/bmd200/src/sbrk.c
@@ -17,8 +17,6 @@
  * under the License.
  */
 
-#include <hal/hal_bsp.h>
-
 /* put these in the data section so they are not cleared by _start */
 static char *sbrkBase __attribute__ ((section (".data")));
 static char *sbrkLimit __attribute__ ((section (".data")));

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/bmd300eval/src/sbrk.c
----------------------------------------------------------------------
diff --git a/hw/bsp/bmd300eval/src/sbrk.c b/hw/bsp/bmd300eval/src/sbrk.c
index 5df43c9..3fe253e 100644
--- a/hw/bsp/bmd300eval/src/sbrk.c
+++ b/hw/bsp/bmd300eval/src/sbrk.c
@@ -17,8 +17,6 @@
  * under the License.
  */
 
-#include <hal/hal_bsp.h>
-
 /* put these in the data section so they are not cleared by _start */
 static char *sbrkBase __attribute__ ((section (".data")));
 static char *sbrkLimit __attribute__ ((section (".data")));

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/nrf51-blenano/split-nrf51dk.ld
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51-blenano/split-nrf51dk.ld b/hw/bsp/nrf51-blenano/split-nrf51dk.ld
index bd8c2be..55d154e 100755
--- a/hw/bsp/nrf51-blenano/split-nrf51dk.ld
+++ b/hw/bsp/nrf51-blenano/split-nrf51dk.ld
@@ -116,7 +116,7 @@ SECTIONS
          _loader_ram_end = .;
     } > RAM
 
-    .data : AT (__etext)
+    .data :
     {
         __data_start__ = .;
         *(.data*)
@@ -146,7 +146,7 @@ SECTIONS
         . = ALIGN(4);
         /* All data end */
         __data_end__ = .;
-    } > RAM
+    } > RAM AT > FLASH
 
     .bss :
     {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld b/hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld
index 3847e7c..9c051f8 100755
--- a/hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld
+++ b/hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld
@@ -116,7 +116,7 @@ SECTIONS
          _loader_ram_end = .;
     } > RAM
 
-    .data : AT (__etext)
+    .data :
     {
         __data_start__ = .;
         *(.data*)
@@ -146,7 +146,7 @@ SECTIONS
         . = ALIGN(4);
         /* All data end */
         __data_end__ = .;
-    } > RAM
+    } > RAM AT > FLASH
 
     .bss :
     {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/nrf51dk-16kbram/src/sbrk.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk-16kbram/src/sbrk.c b/hw/bsp/nrf51dk-16kbram/src/sbrk.c
index 5df43c9..3fe253e 100644
--- a/hw/bsp/nrf51dk-16kbram/src/sbrk.c
+++ b/hw/bsp/nrf51dk-16kbram/src/sbrk.c
@@ -17,8 +17,6 @@
  * under the License.
  */
 
-#include <hal/hal_bsp.h>
-
 /* put these in the data section so they are not cleared by _start */
 static char *sbrkBase __attribute__ ((section (".data")));
 static char *sbrkLimit __attribute__ ((section (".data")));

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/nrf51dk/src/sbrk.c
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf51dk/src/sbrk.c b/hw/bsp/nrf51dk/src/sbrk.c
index 5df43c9..3fe253e 100644
--- a/hw/bsp/nrf51dk/src/sbrk.c
+++ b/hw/bsp/nrf51dk/src/sbrk.c
@@ -17,8 +17,6 @@
  * under the License.
  */
 
-#include <hal/hal_bsp.h>
-
 /* put these in the data section so they are not cleared by _start */
 static char *sbrkBase __attribute__ ((section (".data")));
 static char *sbrkLimit __attribute__ ((section (".data")));

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f1779916/hw/bsp/usbmkw41z/src/sbrk.c
----------------------------------------------------------------------
diff --git a/hw/bsp/usbmkw41z/src/sbrk.c b/hw/bsp/usbmkw41z/src/sbrk.c
index 5df43c9..3fe253e 100644
--- a/hw/bsp/usbmkw41z/src/sbrk.c
+++ b/hw/bsp/usbmkw41z/src/sbrk.c
@@ -17,8 +17,6 @@
  * under the License.
  */
 
-#include <hal/hal_bsp.h>
-
 /* put these in the data section so they are not cleared by _start */
 static char *sbrkBase __attribute__ ((section (".data")));
 static char *sbrkLimit __attribute__ ((section (".data")));


[2/2] incubator-mynewt-core git commit: This closes #225.

Posted by ma...@apache.org.
This closes #225.

Merge branch 'nrf51-bsp-fixes' of https://github.com/jacobrosenthal/incubator-mynewt-core


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/b8a35497
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b8a35497
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b8a35497

Branch: refs/heads/master
Commit: b8a35497008409735e6a61d80fc0ab54ab62c34f
Parents: 95935c6 f177991
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Apr 10 10:17:14 2017 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Apr 10 10:17:14 2017 -0700

----------------------------------------------------------------------
 hw/bsp/bmd200/src/sbrk.c                        | 2 --
 hw/bsp/bmd300eval/src/sbrk.c                    | 2 --
 hw/bsp/nrf51-blenano/split-nrf51dk.ld           | 4 ++--
 hw/bsp/nrf51dk-16kbram/split-nrf51dk-16kbram.ld | 4 ++--
 hw/bsp/nrf51dk-16kbram/src/sbrk.c               | 2 --
 hw/bsp/nrf51dk/src/sbrk.c                       | 2 --
 hw/bsp/usbmkw41z/src/sbrk.c                     | 2 --
 7 files changed, 4 insertions(+), 14 deletions(-)
----------------------------------------------------------------------