From 491b1982e8760392cc50351cddf59d4e2a213200 Mon Sep 17 00:00:00 2001 From: Hexa Dust Date: Fri, 18 Jul 2025 20:31:23 +0100 Subject: [PATCH] update to nightly-2025-03-03 https://github.com/Rahix/avr-hal/pull/634 --- .cargo/config.toml | 3 ++- Cargo.lock | 13 +++++------ Cargo.toml | 8 +------ avr-specs/avr-atmega1280.json | 41 ---------------------------------- avr-specs/avr-atmega1284p.json | 41 ---------------------------------- avr-specs/avr-atmega128a.json | 41 ---------------------------------- avr-specs/avr-atmega164pa.json | 41 ---------------------------------- avr-specs/avr-atmega168.json | 41 ---------------------------------- avr-specs/avr-atmega2560.json | 41 ---------------------------------- avr-specs/avr-atmega328.json | 41 ---------------------------------- avr-specs/avr-atmega328p.json | 41 ---------------------------------- avr-specs/avr-atmega32a.json | 41 ---------------------------------- avr-specs/avr-atmega32u4.json | 41 ---------------------------------- avr-specs/avr-atmega48p.json | 41 ---------------------------------- avr-specs/avr-atmega8.json | 41 ---------------------------------- avr-specs/avr-attiny167.json | 41 ---------------------------------- avr-specs/avr-attiny2313.json | 41 ---------------------------------- avr-specs/avr-attiny85.json | 41 ---------------------------------- avr-specs/avr-attiny88.json | 41 ---------------------------------- 19 files changed, 9 insertions(+), 671 deletions(-) delete mode 100644 avr-specs/avr-atmega1280.json delete mode 100644 avr-specs/avr-atmega1284p.json delete mode 100644 avr-specs/avr-atmega128a.json delete mode 100644 avr-specs/avr-atmega164pa.json delete mode 100644 avr-specs/avr-atmega168.json delete mode 100644 avr-specs/avr-atmega2560.json delete mode 100644 avr-specs/avr-atmega328.json delete mode 100644 avr-specs/avr-atmega328p.json delete mode 100644 avr-specs/avr-atmega32a.json delete mode 100644 avr-specs/avr-atmega32u4.json delete mode 100644 avr-specs/avr-atmega48p.json delete mode 100644 avr-specs/avr-atmega8.json delete mode 100644 avr-specs/avr-attiny167.json delete mode 100644 avr-specs/avr-attiny2313.json delete mode 100644 avr-specs/avr-attiny85.json delete mode 100644 avr-specs/avr-attiny88.json diff --git a/.cargo/config.toml b/.cargo/config.toml index 1bf783e..f64b98d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,6 @@ [build] -target = "avr-specs/avr-atmega328p.json" +target = "avr-none" +rustflags = ["-C", "target-cpu=atmega328p", "-C", "link-args=-lm"] [target.'cfg(target_arch = "avr")'] runner = "ravedude nano-new -cb 115200" diff --git a/Cargo.lock b/Cargo.lock index 04df67e..4183d70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,11 +1,11 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "arduino-hal" version = "0.1.0" -source = "git+https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795cadbbc7fa83f45958128689fee7ba1e4" +source = "git+https://github.com/rahix/avr-hal?rev=a1d727e58d73fa4bf41e8113337abb824371ca5d#a1d727e58d73fa4bf41e8113337abb824371ca5d" dependencies = [ "atmega-hal", "avr-device", @@ -19,7 +19,7 @@ dependencies = [ [[package]] name = "atmega-hal" version = "0.1.0" -source = "git+https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795cadbbc7fa83f45958128689fee7ba1e4" +source = "git+https://github.com/rahix/avr-hal?rev=a1d727e58d73fa4bf41e8113337abb824371ca5d#a1d727e58d73fa4bf41e8113337abb824371ca5d" dependencies = [ "avr-device", "avr-hal-generic", @@ -39,7 +39,6 @@ dependencies = [ "calc-math", "embedded-hal 1.0.0", "nb 1.1.0", - "proc-macro2", "ufmt", ] @@ -69,7 +68,7 @@ dependencies = [ [[package]] name = "avr-hal-generic" version = "0.1.0" -source = "git+https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795cadbbc7fa83f45958128689fee7ba1e4" +source = "git+https://github.com/rahix/avr-hal?rev=a1d727e58d73fa4bf41e8113337abb824371ca5d#a1d727e58d73fa4bf41e8113337abb824371ca5d" dependencies = [ "avr-device", "embedded-hal 0.2.7", @@ -227,9 +226,9 @@ checksum = "e87a2ed6b42ec5e28cc3b94c09982969e9227600b2e3dcbc1db927a84c06bd69" [[package]] name = "unicode-ident" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unwrap-infallible" diff --git a/Cargo.toml b/Cargo.toml index 2dcceeb..9e0784c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,15 +18,9 @@ calc-math = { path = "../calc-math" } [dependencies.arduino-hal] git = "https://github.com/rahix/avr-hal" -rev = "3c089795cadbbc7fa83f45958128689fee7ba1e4" +rev = "a1d727e58d73fa4bf41e8113337abb824371ca5d" features = ["arduino-nano"] -# The latest releases of `proc-macro2` do not support the rust toolchain that -# we use. Thus, we must fix this dependency to an older version where our -# toolchain is still supported. See https://github.com/Rahix/avr-hal/issues/537 -[build-dependencies.proc-macro2] -version = "=1.0.79" - # Configure the build for minimal size - AVRs have very little program memory [profile.dev] panic = "abort" diff --git a/avr-specs/avr-atmega1280.json b/avr-specs/avr-atmega1280.json deleted file mode 100644 index 1791c43..0000000 --- a/avr-specs/avr-atmega1280.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega1280", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega1280", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega1280", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega1284p.json b/avr-specs/avr-atmega1284p.json deleted file mode 100644 index 38c9162..0000000 --- a/avr-specs/avr-atmega1284p.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega1284p", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega1284p", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega1284p", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega128a.json b/avr-specs/avr-atmega128a.json deleted file mode 100644 index 2707fab..0000000 --- a/avr-specs/avr-atmega128a.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega128a", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega128a", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega128a", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega164pa.json b/avr-specs/avr-atmega164pa.json deleted file mode 100644 index 256a222..0000000 --- a/avr-specs/avr-atmega164pa.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega164pa", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega164pa", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega164pa", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega168.json b/avr-specs/avr-atmega168.json deleted file mode 100644 index 7fbd579..0000000 --- a/avr-specs/avr-atmega168.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega168", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega168", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega168", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega2560.json b/avr-specs/avr-atmega2560.json deleted file mode 100644 index 252b54f..0000000 --- a/avr-specs/avr-atmega2560.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega2560", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega2560", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega2560", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega328.json b/avr-specs/avr-atmega328.json deleted file mode 100644 index 77c64f3..0000000 --- a/avr-specs/avr-atmega328.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega328", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega328", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega328", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega328p.json b/avr-specs/avr-atmega328p.json deleted file mode 100644 index 461daa7..0000000 --- a/avr-specs/avr-atmega328p.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega328p", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega328p", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega328p", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega32a.json b/avr-specs/avr-atmega32a.json deleted file mode 100644 index 9ffda7d..0000000 --- a/avr-specs/avr-atmega32a.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega32a", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega32a", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega32a", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega32u4.json b/avr-specs/avr-atmega32u4.json deleted file mode 100644 index a163214..0000000 --- a/avr-specs/avr-atmega32u4.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega32u4", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega32u4", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega32u4", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega48p.json b/avr-specs/avr-atmega48p.json deleted file mode 100644 index 508677e..0000000 --- a/avr-specs/avr-atmega48p.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega48p", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega48p", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega48p", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-atmega8.json b/avr-specs/avr-atmega8.json deleted file mode 100644 index b2c0c5c..0000000 --- a/avr-specs/avr-atmega8.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "atmega8", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=atmega8", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=atmega8", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-attiny167.json b/avr-specs/avr-attiny167.json deleted file mode 100644 index 3cbdbe4..0000000 --- a/avr-specs/avr-attiny167.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "attiny167", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=attiny167", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=attiny167", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-attiny2313.json b/avr-specs/avr-attiny2313.json deleted file mode 100644 index aa8fffb..0000000 --- a/avr-specs/avr-attiny2313.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "attiny2313", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=attiny2313", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=attiny2313", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-attiny85.json b/avr-specs/avr-attiny85.json deleted file mode 100644 index d5334aa..0000000 --- a/avr-specs/avr-attiny85.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "attiny85", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=attiny85", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=attiny85", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -} diff --git a/avr-specs/avr-attiny88.json b/avr-specs/avr-attiny88.json deleted file mode 100644 index 1af5e8d..0000000 --- a/avr-specs/avr-attiny88.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "arch": "avr", - "atomic-cas": false, - "cpu": "attiny88", - "crt-objects-fallback": "false", - "data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8", - "eh-frame-header": false, - "exe-suffix": ".elf", - "late-link-args": { - "gnu-cc": [ - "-lgcc" - ], - "gnu-lld-cc": [ - "-lgcc" - ] - }, - "linker": "avr-gcc", - "linker-flavor": "gnu-cc", - "llvm-target": "avr-unknown-unknown", - "max-atomic-width": 8, - "metadata": { - "description": null, - "host_tools": null, - "std": null, - "tier": null - }, - "no-default-libraries": false, - "pre-link-args": { - "gnu-cc": [ - "-mmcu=attiny88", - "-Wl,--as-needed,--print-memory-usage" - ], - "gnu-lld-cc": [ - "-mmcu=attiny88", - "-Wl,--as-needed,--print-memory-usage" - ] - }, - "relocation-model": "static", - "target-c-int-width": "16", - "target-pointer-width": "16" -}