nrf: support for SoftDevice s140 PCA10056 board
Этот коммит содержится в:
родитель
00f745e351
коммит
c09724bfc5
4 изменённых файлов: 19 добавлений и 0 удалений
2
Makefile
2
Makefile
|
@ -233,6 +233,8 @@ smoketest:
|
|||
@$(MD5SUM) test.hex
|
||||
$(TINYGO) build -size short -o test.hex -target=x9pro examples/blinky1
|
||||
@$(MD5SUM) test.hex
|
||||
$(TINYGO) build -size short -o test.hex -target=pca10056-s140v7 examples/blinky1
|
||||
@$(MD5SUM) test.hex
|
||||
ifneq ($(AVR), 0)
|
||||
$(TINYGO) build -size short -o test.hex -target=arduino examples/blinky1
|
||||
@$(MD5SUM) test.hex
|
||||
|
|
4
targets/nrf52840-s140v7.json
Обычный файл
4
targets/nrf52840-s140v7.json
Обычный файл
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"build-tags": ["softdevice", "s140v7"],
|
||||
"linkerscript": "targets/nrf52840-s140v7.ld"
|
||||
}
|
10
targets/nrf52840-s140v7.ld
Обычный файл
10
targets/nrf52840-s140v7.ld
Обычный файл
|
@ -0,0 +1,10 @@
|
|||
|
||||
MEMORY
|
||||
{
|
||||
FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 0x00027000, LENGTH = 1M - 0x00027000
|
||||
RAM (xrw) : ORIGIN = 0x20000000 + 0x000039c0, LENGTH = 256K - 0x000039c0
|
||||
}
|
||||
|
||||
_stack_size = 4K;
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
3
targets/pca10056-s140v7.json
Обычный файл
3
targets/pca10056-s140v7.json
Обычный файл
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"inherits": ["pca10056", "nrf52840-s140v7"]
|
||||
}
|
Загрузка…
Создание таблицы
Сослаться в новой задаче