
This adds support for the `-scheduler=tasks` flag for AVR. On most AVR chips you wouldn't want to run a real scheduler but it may be useful in some cases, especially on devices with more RAM. It is disabled by default.
16 строки
303 Б
JSON
16 строки
303 Б
JSON
{
|
|
"build-tags": ["avr", "baremetal", "linux", "arm"],
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"compiler": "avr-gcc",
|
|
"gc": "conservative",
|
|
"linker": "avr-gcc",
|
|
"scheduler": "none",
|
|
"ldflags": [
|
|
"-T", "targets/avr.ld",
|
|
"-Wl,--gc-sections"
|
|
],
|
|
"extra-files": [
|
|
"src/runtime/scheduler_avr.S"
|
|
]
|
|
}
|