mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 03:53:42 +00:00
nano-33-ble: SoftDevice s140v7 support
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"inherits": ["nano-33-ble", "nrf52840-s140v7"],
|
||||
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
|
||||
"flash-1200-bps-reset": "false",
|
||||
"openocd-interface": "jlink"
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"inherits": ["nano-33-ble"]
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"build-tags": ["softdevice", "s140v7"],
|
||||
"linkerscript": "targets/nrf52840-s140v7.ld"
|
||||
"linkerscript": "targets/nrf52840-s140v7.ld",
|
||||
"ldflags": [
|
||||
"--defsym=__softdevice_stack=0x700"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,9 +5,10 @@ MEMORY
|
||||
RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 256K - 0x000039c0
|
||||
}
|
||||
|
||||
_stack_size = 4K;
|
||||
_stack_size = 4K + __softdevice_stack;
|
||||
|
||||
/* This value is needed by the Nordic SoftDevice. */
|
||||
__app_ram_base = ORIGIN(RAM);
|
||||
__softdevice_stack = DEFINED(__softdevice_stack) ? __softdevice_stack : 0;
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
||||
|
||||
Reference in New Issue
Block a user