aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2024-02-18 12:45:31 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2024-02-18 12:50:37 +0100
commite63ae9085aca9d306a2f16445b473289b9186e10 (patch)
tree920e32d7333de03e6f11e0d665acd3d82f20117a
parent0b2284bb263e5fddc3e6921f6342e95bd157fc6d (diff)
downloadgcc-e63ae9085aca9d306a2f16445b473289b9186e10.zip
gcc-e63ae9085aca9d306a2f16445b473289b9186e10.tar.gz
gcc-e63ae9085aca9d306a2f16445b473289b9186e10.tar.bz2
AVR: Improve documentation for -mmcu=.
gcc/ * doc/invoke.texi (AVR Options) <-mmcu>: Remove "Atmel". Note on complete device support.
-rw-r--r--gcc/doc/invoke.texi22
1 files changed, 16 insertions, 6 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d0e6772..e18886e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -23732,12 +23732,22 @@ These options are defined for AVR implementations:
@table @gcctabopt
@opindex mmcu
@item -mmcu=@var{mcu}
-Specify Atmel AVR instruction set architectures (ISA) or MCU type.
-
-The default for this option is@tie{}@samp{avr2}.
-
-GCC supports the following AVR devices and ISAs:
-
+Specify the AVR instruction set architecture (ISA) or device type.
+The default for this option is@tie{}@code{avr2}.
+
+The following AVR devices and ISAs are supported.
+@emph{Note:} A complete device support consists of
+startup code @code{crt@var{mcu}.o}, a device header @code{avr/io*.h},
+a device library @code{lib@var{mcu}.a} and a
+@uref{https://gcc.gnu.org/wiki/avr-gcc#spec-files,device-specs} file
+@code{specs-@var{mcu}}. Only the latter is provided by the compiler
+according the supported @code{@var{mcu}}s below. The rest is supported
+by @w{@uref{https://www.nongnu.org/avr-libc/,AVR-LibC}}, or by means of
+@uref{https://gcc.gnu.org/wiki/avr-gcc#atpack,@code{atpack}} files
+from the hardware manufacturer.
+
+@c Auto-generated. Re-build when new devices are added to avr-mcus.def
+@c by running "make avr-mcus" in $builddir/gcc.
@include avr-mmcu.texi
@opindex mabsdata