nano-33-ble: SoftDevice s140v7 support
Этот коммит содержится в:
родитель
02ef64f012
коммит
c2165f74d8
4 изменённых файлов: 12 добавлений и 5 удалений
6
targets/nano-33-ble-s140v7.json
Обычный файл
6
targets/nano-33-ble-s140v7.json
Обычный файл
|
@ -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"],
|
"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
|
RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 256K - 0x000039c0
|
||||||
}
|
}
|
||||||
|
|
||||||
_stack_size = 4K;
|
_stack_size = 4K + __softdevice_stack;
|
||||||
|
|
||||||
/* This value is needed by the Nordic SoftDevice. */
|
/* This value is needed by the Nordic SoftDevice. */
|
||||||
__app_ram_base = ORIGIN(RAM);
|
__app_ram_base = ORIGIN(RAM);
|
||||||
|
__softdevice_stack = DEFINED(__softdevice_stack) ? __softdevice_stack : 0;
|
||||||
|
|
||||||
INCLUDE "targets/arm.ld"
|
INCLUDE "targets/arm.ld"
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче