mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
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.
This commit is contained in:
committed by
Ron Evans
parent
2136cb2f59
commit
aa3481e06a
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"inherits": ["avr"],
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"cpu": "atmega1284p",
|
||||
"build-tags": ["atmega1284p", "atmega"],
|
||||
"cflags": [
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"inherits": ["avr"],
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"cpu": "atmega2560",
|
||||
"build-tags": ["atmega2560", "atmega"],
|
||||
"cflags": [
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"inherits": ["avr"],
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"cpu": "atmega328p",
|
||||
"build-tags": ["atmega328p", "atmega", "avr5"],
|
||||
"cflags": [
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"llvm-target": "avr-unknown-unknown",
|
||||
"build-tags": ["avr", "baremetal", "linux", "arm"],
|
||||
"goos": "linux",
|
||||
"goarch": "arm",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"inherits": ["avr"],
|
||||
"llvm-target": "avr-atmel-none",
|
||||
"cpu": "attiny85",
|
||||
"build-tags": ["digispark", "attiny85", "attiny", "avr2", "avr25"],
|
||||
"cflags": [
|
||||
|
||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
target datalayout = "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8"
|
||||
target triple = "avr-atmel-none"
|
||||
target triple = "avr-unknown-unknown"
|
||||
|
||||
%"runtime/interrupt.handle" = type { %runtime.funcValue, %"runtime/interrupt.Interrupt" } %runtime.funcValue = type { i8*, i16 }
|
||||
%runtime.typecodeID = type { %runtime.typecodeID*, i16 }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
target datalayout = "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8"
|
||||
target triple = "avr-atmel-none"
|
||||
target triple = "avr-unknown-unknown"
|
||||
|
||||
%runtime.typecodeID = type { %runtime.typecodeID*, i16 }
|
||||
%runtime.funcValueWithSignature = type { i16, %runtime.typecodeID* }
|
||||
|
||||
Reference in New Issue
Block a user