mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
1f0595438e
This commit avoids setting the working directory to the TinyGo root when invocating Clang. This helps to weed out issues before we add support for bundling Clang in a release.
20 lines
380 B
JSON
20 lines
380 B
JSON
{
|
|
"inherits": ["cortex-m"],
|
|
"llvm-target": "armv7em-none-eabi",
|
|
"build-tags": ["nrf52", "nrf"],
|
|
"cflags": [
|
|
"--target=armv7em-none-eabi",
|
|
"-mfloat-abi=soft",
|
|
"-Qunused-arguments",
|
|
"-DNRF52832_XXAA",
|
|
"-I{root}/lib/CMSIS/CMSIS/Include"
|
|
],
|
|
"ldflags": [
|
|
"-T", "targets/nrf52.ld"
|
|
],
|
|
"extra-files": [
|
|
"lib/nrfx/mdk/system_nrf52.c",
|
|
"src/device/nrf/nrf52.s"
|
|
]
|
|
}
|