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