mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
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.
This commit is contained in:
committed by
Ron Evans
parent
9e453a5a29
commit
2078b042a4
+2
-1
@@ -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": [
|
||||
|
||||
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user