tinygo/targets/atmega328p.json
Ayke van Laethem b99175a436 avr: configure emulator in board files
Instead of specifying the emulator command in atmega328p.json, specify
it in the two boards based on it (arduino and arduino-nano). This makes
the configuration consistent with the machine package, which only
defines the CPUFrequency function in the board files (and not in
machine_atmega328p.json).
2020-09-09 13:05:14 +02:00

16 строки
289 Б
JSON

{
"inherits": ["avr"],
"cpu": "atmega328p",
"build-tags": ["atmega328p", "atmega", "avr5"],
"cflags": [
"-mmcu=atmega328p"
],
"ldflags": [
"-mmcu=avr5"
],
"linkerscript": "src/device/avr/atmega328p.ld",
"extra-files": [
"targets/avr.S",
"src/device/avr/atmega328p.s"
]
}