diff options
author | Nikolas Sepos <[email protected]> | 2019-11-14 20:34:35 +0200 |
---|---|---|
committer | Ayke <[email protected]> | 2019-11-20 16:43:55 +0100 |
commit | c09724bfc500e0808ab73cedfed70a3918d13d89 (patch) | |
tree | 2445ffac748708defcc7f39c0a78c9e05861c6a8 /targets | |
parent | 00f745e351406864e65b3e2a333213375435571f (diff) | |
download | tinygo-c09724bfc500e0808ab73cedfed70a3918d13d89.tar.gz tinygo-c09724bfc500e0808ab73cedfed70a3918d13d89.zip |
nrf: support for SoftDevice s140 PCA10056 board
Diffstat (limited to 'targets')
-rw-r--r-- | targets/nrf52840-s140v7.json | 4 | ||||
-rw-r--r-- | targets/nrf52840-s140v7.ld | 10 | ||||
-rw-r--r-- | targets/pca10056-s140v7.json | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/targets/nrf52840-s140v7.json b/targets/nrf52840-s140v7.json new file mode 100644 index 000000000..ab6e609f4 --- /dev/null +++ b/targets/nrf52840-s140v7.json @@ -0,0 +1,4 @@ +{ + "build-tags": ["softdevice", "s140v7"], + "linkerscript": "targets/nrf52840-s140v7.ld" +} diff --git a/targets/nrf52840-s140v7.ld b/targets/nrf52840-s140v7.ld new file mode 100644 index 000000000..dde80182b --- /dev/null +++ b/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" diff --git a/targets/pca10056-s140v7.json b/targets/pca10056-s140v7.json new file mode 100644 index 000000000..7419ae941 --- /dev/null +++ b/targets/pca10056-s140v7.json @@ -0,0 +1,3 @@ +{ + "inherits": ["pca10056", "nrf52840-s140v7"] +} |