mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +00:00
avr: use Clang for compiling C and assembly files
This is one step towards an avr-gcc free TinyGo toolchain, something that will make it easier to use AVR targets in TinyGo.
This commit is contained in:
committed by
Ron Evans
parent
9c8ef5c48f
commit
801bd2a7ff
+4
-1
@@ -3,11 +3,14 @@
|
||||
"build-tags": ["avr", "baremetal", "linux", "arm"],
|
||||
"goos": "linux",
|
||||
"goarch": "arm",
|
||||
"compiler": "avr-gcc",
|
||||
"compiler": "clang",
|
||||
"gc": "conservative",
|
||||
"linker": "avr-gcc",
|
||||
"scheduler": "none",
|
||||
"default-stack-size": 256,
|
||||
"cflags": [
|
||||
"--target=avr-unknown-unknown"
|
||||
],
|
||||
"ldflags": [
|
||||
"-T", "targets/avr.ld",
|
||||
"-Wl,--gc-sections"
|
||||
|
||||
Reference in New Issue
Block a user