mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
455 B
19 lines
455 B
{
|
|
"inherits": ["avr"],
|
|
"llvm-target": "avr-atmel-none",
|
|
"cpu": "atmega328p",
|
|
"build-tags": ["arduino", "atmega328p", "atmega", "avr5"],
|
|
"cflags": [
|
|
"-mmcu=atmega328p"
|
|
],
|
|
"ldflags": [
|
|
"-Wl,--defsym=_bootloader_size=512",
|
|
"-Wl,--defsym=_stack_size=512",
|
|
"-T", "src/device/avr/atmega328p.ld"
|
|
],
|
|
"extra-files": [
|
|
"targets/avr.S",
|
|
"src/device/avr/atmega328p.s"
|
|
],
|
|
"flash": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}"
|
|
}
|
|
|