mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 12:59:04 +00:00
all: support Arduino in the compiler driver
This makes sure the compiler itself can build/link an ELF file that works on an Arduino.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"]
|
||||
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"],
|
||||
"linker": "avr-gcc",
|
||||
"pre-link-args": ["-nostdlib", "-T", "avr.ld", "-Wl,--gc-sections", "avr.S"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user