mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 00:01:10 +08:00
invoke.texi (AVR Options): Add documentation about __AVR_DEVICE_NAME__ built-in macro.
* doc/invoke.texi (AVR Options): Add documentation about __AVR_DEVICE_NAME__ built-in macro. From-SVN: r213377
This commit is contained in:
parent
3290f5e7c7
commit
08938c896f
@ -1,3 +1,8 @@
|
||||
2014-07-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
||||
|
||||
* doc/invoke.texi (AVR Options): Add documentation about
|
||||
__AVR_DEVICE_NAME__ built-in macro.
|
||||
|
||||
2014-07-31 Charles Baylis <charles.baylis@linaro.org>
|
||||
|
||||
PR target/61948
|
||||
|
@ -13115,6 +13115,14 @@ the device name as from the AVR user manual. The difference between
|
||||
If @var{device} is not a device but only a core architecture like
|
||||
@code{avr51}, this macro will not be defined.
|
||||
|
||||
@item __AVR_DEVICE_NAME__
|
||||
Setting @code{-mmcu=@var{device}} defines this built-in macro to
|
||||
the device's name. For example, with @code{-mmcu=atmega8} the macro
|
||||
will be defined to @code{atmega8}.
|
||||
|
||||
If @var{device} is not a device but only a core architecture like
|
||||
@code{avr51}, this macro will not be defined.
|
||||
|
||||
@item __AVR_XMEGA__
|
||||
The device / architecture belongs to the XMEGA family of devices.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user