From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1733) id 49E533858CDA; Tue, 20 Feb 2024 11:46:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49E533858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708429612; bh=lYti3WoRB+9CPWQePqgTXNsWuO/OqQePFK4vHXhLqfI=; h=From:To:Subject:Date:From; b=fmpG3d5X/lRy8+1GkwfZB/38wVkEyYQAsEoLK9VuZeyYGgRefu/Rk5N/9vMAiSDF9 XpjiXHlnGww5uSfnBHV0GUC5M69CtswGCKt8QukEYYBw2+xcF0D/lkaIuFuGbjkhn/ HA0/2y/oyxgyUGTsDSO/q6nHLEZbKYf6TWpsVsVU= 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 r13-8346] AVR: Improve documentation for -mmcu=. X-Act-Checkin: gcc X-Git-Author: Georg-Johann Lay X-Git-Refname: refs/heads/releases/gcc-13 X-Git-Oldrev: 1ee33557d97d68899503e5e111cc851b3e99f667 X-Git-Newrev: 128d9cc0599cddecf5408635e4f48079e6b2eaa0 Message-Id: <20240220114652.49E533858CDA@sourceware.org> Date: Tue, 20 Feb 2024 11:46:52 +0000 (GMT) List-Id: https://gcc.gnu.org/g:128d9cc0599cddecf5408635e4f48079e6b2eaa0 commit r13-8346-g128d9cc0599cddecf5408635e4f48079e6b2eaa0 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. (cherry picked from commit e63ae9085aca9d306a2f16445b473289b9186e10) 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 8f52302d0752..49941bf03701 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -22737,12 +22737,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