Create a generic AVR target: avr-none

This commit removes the `avr-unknown-gnu-atmega328` target and replaces
it with a more generic `avr-none` variant that must be specialized with
the `-C target-cpu` flag (e.g. `-C target-cpu=atmega328p`).
This commit is contained in:
Patryk Wychowaniec 2024-10-13 14:58:44 +02:00
parent ed49386d3a
commit 78ddabf31d
No known key found for this signature in database
GPG key ID: F62547D075E09767
19 changed files with 156 additions and 60 deletions

View file

@ -1,6 +1,6 @@
//@ add-core-stubs
//@ assembly-output: emit-asm
//@ compile-flags: --target avr-unknown-gnu-atmega328
//@ compile-flags: --target avr-none -C target-cpu=atmega328p
//@ needs-llvm-components: avr
#![crate_type = "rlib"]