mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
914cd56ca5
This makes sure the compiler itself can build/link an ELF file that works on an Arduino.
7 lines
208 B
JSON
7 lines
208 B
JSON
{
|
|
"llvm-target": "avr-atmel-none",
|
|
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"],
|
|
"linker": "avr-gcc",
|
|
"pre-link-args": ["-nostdlib", "-T", "avr.ld", "-Wl,--gc-sections", "avr.S"]
|
|
}
|