nrf: add support for SoftDevices to PCA10040 board

This commit is contained in:
Ayke van Laethem
2019-04-27 19:56:16 +02:00
committed by Ron Evans
parent b153bd63f2
commit 16fbf53ae2
5 changed files with 22 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"build-tags": ["softdevice"],
"linkerscript": "targets/nrf52-s132v6.ld"
}
+10
View File
@@ -0,0 +1,10 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 0x00026000 , LENGTH = 256K - 0x00026000 /* .text */
RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 64K - 0x000039c0
}
_stack_size = 4K;
INCLUDE "targets/arm.ld"
+2 -1
View File
@@ -7,7 +7,8 @@
"-mfloat-abi=soft",
"-Qunused-arguments",
"-DNRF52832_XXAA",
"-I{root}/lib/CMSIS/CMSIS/Include"
"-I{root}/lib/CMSIS/CMSIS/Include",
"-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf52.ld",
"extra-files": [
+4
View File
@@ -0,0 +1,4 @@
{
"inherits": ["pca10040", "nrf52-s132v6"],
"ldscript": "targets/nrf52-s132v6.ld"
}