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
@@ -3,7 +3,9 @@
|
||||
"cpu": "attiny85",
|
||||
"build-tags": ["attiny85", "attiny", "avr2", "avr25"],
|
||||
"cflags": [
|
||||
"-mmcu=attiny85"
|
||||
"-mmcu=attiny85",
|
||||
"-D__AVR_ARCH__=25",
|
||||
"-Qunused-arguments"
|
||||
],
|
||||
"ldflags": [
|
||||
"-mmcu=avr25"
|
||||
|
||||
Reference in New Issue
Block a user