
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.
19 строки
439 Б
JSON
19 строки
439 Б
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"
|
|
}
|