mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
nrf: add microbit-s110v8 target
This makes it possible to use Bluetooth on the BBC micro:bit. Note that you need to use -programmer=cmsis-dap otherwise the SoftDevice will be erased while flashing something that uses Bluetooth.
This commit is contained in:
committed by
Ron Evans
parent
e69131c0d3
commit
67ac4fdd8e
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": ["microbit", "nrf51-s110v8"]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"build-tags": ["softdevice", "s110v8"],
|
||||
"linkerscript": "targets/nrf51-s110v8.ld"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
/* This SoftDevice requires 96K flash and 8K RAM according to the release
|
||||
* notes of version 8.0.0 */
|
||||
FLASH_TEXT (rw) : ORIGIN = 0x00000000 + 96K, LENGTH = 256K - 96K
|
||||
RAM (xrw) : ORIGIN = 0x20000000 + 8K, LENGTH = 16K - 8K
|
||||
}
|
||||
|
||||
_stack_size = 2K;
|
||||
|
||||
INCLUDE "targets/arm.ld"
|
||||
Reference in New Issue
Block a user