
This is one step towards an avr-gcc free TinyGo toolchain, something that will make it easier to use AVR targets in TinyGo.
18 строки
336 Б
JSON
18 строки
336 Б
JSON
{
|
|
"inherits": ["avr"],
|
|
"cpu": "attiny85",
|
|
"build-tags": ["attiny85", "attiny", "avr2", "avr25"],
|
|
"cflags": [
|
|
"-mmcu=attiny85",
|
|
"-D__AVR_ARCH__=25",
|
|
"-Qunused-arguments"
|
|
],
|
|
"ldflags": [
|
|
"-mmcu=avr25"
|
|
],
|
|
"linkerscript": "src/device/avr/attiny85.ld",
|
|
"extra-files": [
|
|
"targets/avr.S",
|
|
"src/device/avr/attiny85.s"
|
|
]
|
|
}
|