From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1733) id E6D1E386181D; Sun, 18 Feb 2024 12:01:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6D1E386181D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708257667; bh=fDzIgtIUe+1qXwiUheMuJ3l2HMmT2aAUExZKWo9KmyQ=; h=From:To:Subject:Date:From; b=lQXX1vF1x2utraNZCH3WKnexRX7pjKsHvifmRpr/rW5TyPFFzSZodSe4cYccv8rmH QGo9n0Ocd6jtIdW4/LwZfSxame/VtU/oOiGiHqOwoNskteUhvk3dKJVmvRGFdpEGVX j524LqxzewY3vqMLg8jgjlb1Ey/UAgpI7/I7a8XE= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Georg-Johann Lay To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9057] AVR: Improve documentation for -mmcu=. X-Act-Checkin: gcc X-Git-Author: Georg-Johann Lay X-Git-Refname: refs/heads/master X-Git-Oldrev: 0b2284bb263e5fddc3e6921f6342e95bd157fc6d X-Git-Newrev: e63ae9085aca9d306a2f16445b473289b9186e10 Message-Id: <20240218120107.E6D1E386181D@sourceware.org> Date: Sun, 18 Feb 2024 12:01:07 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e63ae9085aca9d306a2f16445b473289b9186e10 commit r14-9057-ge63ae9085aca9d306a2f16445b473289b9186e10 Author: Georg-Johann Lay Date: Sun Feb 18 12:45:31 2024 +0100 AVR: Improve documentation for -mmcu=. gcc/ * doc/invoke.texi (AVR Options) <-mmcu>: Remove "Atmel". Note on complete device support. Diff: --- gcc/doc/invoke.texi | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d0e67729f565..e18886e0ac7b 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