targets: add target for Microbit v2 with SoftDevice S140 support for both peripheral and central

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2025-04-24 20:45:23 +02:00
committed by Daniel Esteban
parent 8d5b7710cf
commit 0c2ab895b7
4 changed files with 27 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 0x00027000, LENGTH = 0x80000 - 0x00027000
RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 0x20000 - 0x000039c0
}
_stack_size = 4K + __softdevice_stack;
/* These values are needed for the Nordic SoftDevice. */
__app_ram_base = ORIGIN(RAM);
__softdevice_stack = DEFINED(__softdevice_stack) ? __softdevice_stack : 0;
INCLUDE "targets/arm.ld"