
Previously this was set to arm-none-eabi-gdb, but that has been replaced by gdb-multiarch in recent Debian/Ubuntu versions.
28 строки
560 Б
JSON
28 строки
560 Б
JSON
{
|
|
"build-tags": ["cortexm", "baremetal", "linux", "arm"],
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"compiler": "clang",
|
|
"gc": "conservative",
|
|
"scheduler": "tasks",
|
|
"linker": "ld.lld",
|
|
"rtlib": "compiler-rt",
|
|
"cflags": [
|
|
"-Oz",
|
|
"-mthumb",
|
|
"-Werror",
|
|
"-fshort-enums",
|
|
"-nostdlibinc",
|
|
"-Wno-macro-redefined",
|
|
"-fno-exceptions", "-fno-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"--gc-sections"
|
|
],
|
|
"extra-files": [
|
|
"src/device/arm/cortexm.s",
|
|
"src/runtime/scheduler_cortexm.S"
|
|
],
|
|
"gdb": "gdb-multiarch"
|
|
}
|