aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2020-03-20 15:06:51 +0100
committerRon Evans <[email protected]>2020-04-11 10:56:58 +0200
commit2078b042a4e7f9fb02359e61d78fd33553a37c98 (patch)
tree8dbe0706aa565ad3cce4d29bab2cfac60d03c0f3 /targets
parent9e453a5a291e9dabf8a9209a2f99ed0f09f8e692 (diff)
downloadtinygo-2078b042a4e7f9fb02359e61d78fd33553a37c98.tar.gz
tinygo-2078b042a4e7f9fb02359e61d78fd33553a37c98.zip
nrf: add lib/nrfx/mdk to include dirs
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.
Diffstat (limited to 'targets')
-rw-r--r--targets/nrf51.json3
-rw-r--r--targets/nrf52840.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/targets/nrf51.json b/targets/nrf51.json
index 60c0d5dc1..9959c6f79 100644
--- a/targets/nrf51.json
+++ b/targets/nrf51.json
@@ -6,7 +6,8 @@
"--target=armv6m-none-eabi",
"-Qunused-arguments",
"-DNRF51",
- "-I{root}/lib/CMSIS/CMSIS/Include"
+ "-I{root}/lib/CMSIS/CMSIS/Include",
+ "-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf51.ld",
"extra-files": [
diff --git a/targets/nrf52840.json b/targets/nrf52840.json
index 7afb24748..2c2eff7ca 100644
--- a/targets/nrf52840.json
+++ b/targets/nrf52840.json
@@ -7,7 +7,8 @@
"-mfloat-abi=soft",
"-Qunused-arguments",
"-DNRF52840_XXAA",
- "-I{root}/lib/CMSIS/CMSIS/Include"
+ "-I{root}/lib/CMSIS/CMSIS/Include",
+ "-I{root}/lib/nrfx/mdk"
],
"linkerscript": "targets/nrf52840.ld",
"extra-files": [