diff options
author | Ayke van Laethem <[email protected]> | 2020-06-30 16:09:19 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2020-06-30 20:48:42 +0200 |
commit | aa3481e06a9615f75b3c9283cfbd0d447c1fef1a (patch) | |
tree | a10f33a6774c135ba9a88de49ebdc1106e8cccab /targets | |
parent | 2136cb2f591f818ef515ec210393c5a8952db34d (diff) | |
download | tinygo-aa3481e06a9615f75b3c9283cfbd0d447c1fef1a.tar.gz tinygo-aa3481e06a9615f75b3c9283cfbd0d447c1fef1a.zip |
avr: fix target triple
It was `avr-atmel-none`, which is incorrect. It must be
`avr-unknown-unknown`.
Additionally, there is no reason to specify the target triple per chip,
it can be done for all AVR chips at once as it doesn't vary like
Cortex-M chips.
Diffstat (limited to 'targets')
-rw-r--r-- | targets/atmega1284p.json | 1 | ||||
-rw-r--r-- | targets/atmega2560.json | 1 | ||||
-rw-r--r-- | targets/atmega328p.json | 1 | ||||
-rw-r--r-- | targets/avr.json | 1 | ||||
-rw-r--r-- | targets/digispark.json | 1 |
5 files changed, 1 insertions, 4 deletions
diff --git a/targets/atmega1284p.json b/targets/atmega1284p.json index ef4239426..2c2d29e18 100644 --- a/targets/atmega1284p.json +++ b/targets/atmega1284p.json @@ -1,6 +1,5 @@ { "inherits": ["avr"], - "llvm-target": "avr-atmel-none", "cpu": "atmega1284p", "build-tags": ["atmega1284p", "atmega"], "cflags": [ diff --git a/targets/atmega2560.json b/targets/atmega2560.json index 420e803a6..f460c9c89 100644 --- a/targets/atmega2560.json +++ b/targets/atmega2560.json @@ -1,6 +1,5 @@ { "inherits": ["avr"], - "llvm-target": "avr-atmel-none", "cpu": "atmega2560", "build-tags": ["atmega2560", "atmega"], "cflags": [ diff --git a/targets/atmega328p.json b/targets/atmega328p.json index 64aefc98a..181da6938 100644 --- a/targets/atmega328p.json +++ b/targets/atmega328p.json @@ -1,6 +1,5 @@ { "inherits": ["avr"], - "llvm-target": "avr-atmel-none", "cpu": "atmega328p", "build-tags": ["atmega328p", "atmega", "avr5"], "cflags": [ diff --git a/targets/avr.json b/targets/avr.json index 932717e2c..ae7c6860e 100644 --- a/targets/avr.json +++ b/targets/avr.json @@ -1,4 +1,5 @@ { + "llvm-target": "avr-unknown-unknown", "build-tags": ["avr", "baremetal", "linux", "arm"], "goos": "linux", "goarch": "arm", diff --git a/targets/digispark.json b/targets/digispark.json index 904012832..06861f4aa 100644 --- a/targets/digispark.json +++ b/targets/digispark.json @@ -1,6 +1,5 @@ { "inherits": ["avr"], - "llvm-target": "avr-atmel-none", "cpu": "attiny85", "build-tags": ["digispark", "attiny85", "attiny", "avr2", "avr25"], "cflags": [ |