mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
2078b042a4
This directory is needed for nrf.h and other headers that are used by the SoftDevice. It is definitely needed for nrf52840 for example, but I've also added it to the nrf51 as it will likely also require adding this directory.
20 lines
439 B
JSON
20 lines
439 B
JSON
{
|
|
"inherits": ["cortex-m"],
|
|
"llvm-target": "armv7em-none-eabi",
|
|
"build-tags": ["nrf52840", "nrf"],
|
|
"cflags": [
|
|
"--target=armv7em-none-eabi",
|
|
"-mfloat-abi=soft",
|
|
"-Qunused-arguments",
|
|
"-DNRF52840_XXAA",
|
|
"-I{root}/lib/CMSIS/CMSIS/Include",
|
|
"-I{root}/lib/nrfx/mdk"
|
|
],
|
|
"linkerscript": "targets/nrf52840.ld",
|
|
"extra-files": [
|
|
"lib/nrfx/mdk/system_nrf52840.c",
|
|
"src/device/nrf/nrf52840.s"
|
|
],
|
|
"openocd-target": "nrf51"
|
|
}
|