
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 строки
392 Б
JSON
19 строки
392 Б
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"
|
|
],
|
|
"ldflags": [
|
|
"-T", "targets/nrf52840.ld"
|
|
],
|
|
"extra-files": [
|
|
"lib/nrfx/mdk/system_nrf52840.c",
|
|
"src/device/nrf/nrf52840.s"
|
|
]
|
|
}
|