mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
9392ef900d
Blinking the on-board LED works. Nothing else has been tested yet.
18 lines
464 B
JSON
18 lines
464 B
JSON
{
|
|
"inherits": ["avr"],
|
|
"llvm-target": "avr-atmel-none",
|
|
"build-tags": ["arduino", "atmega328p", "atmega", "avr5"],
|
|
"pre-link-args": [
|
|
"-nostartfiles",
|
|
"-mmcu=avr5",
|
|
"-Wl,--defsym=_bootloader_size=512",
|
|
"-Wl,--defsym=_stack_size=512",
|
|
"-T", "src/device/avr/atmega328p.ld",
|
|
"-T", "targets/avr.ld",
|
|
"-Wl,--gc-sections",
|
|
"targets/avr.S",
|
|
"src/device/avr/atmega328p.s"
|
|
],
|
|
"flash": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}"
|
|
}
|