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.
17 lines
478 B
17 lines
478 B
{
|
|
"llvm-target": "avr-atmel-none",
|
|
"build-tags": ["arduino", "atmega328p", "atmega", "avr5", "avr", "js", "wasm"],
|
|
"linker": "avr-gcc",
|
|
"pre-link-args": [
|
|
"-nostartfiles",
|
|
"-mmcu=avr5",
|
|
"-Wl,--defsym=_bootloader_size=512",
|
|
"-T", "src/device/avr/atmega328p.ld",
|
|
"-T", "targets/avr.ld",
|
|
"-Wl,--gc-sections",
|
|
"targets/avr.S",
|
|
"src/device/avr/atmega328p.s"
|
|
],
|
|
"objcopy": "avr-objcopy",
|
|
"flash": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}"
|
|
}
|
|
|