https://sourceware.org/bugzilla/show_bug.cgi?id=27022

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |gjl at gcc dot gnu.org
           Severity|normal                      |enhancement

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
So what you expecting?

--format=avr is not supported obviously, as the help screen says:

> --format={sysv|berkeley|avr|gnu}
Apart from that,

> avr-size -C --mcu=atmega2560 BlinkTest1.elf
is indicating that you are using a version of Binutils with vendor-specific
(Atmel?, Microchip?) patches that are not part of (and will not be part of) the
official GNU Binutils since respective patches have been rejected by the global
maintainers.

The issue with --mmcu= is that nobody wants to support 400+ devices in
avr-size.

As an alternative, you may want to consider avr-objdump -P mem-usage:

$ avr-objdump main.elf -P mem-usage

main.elf:     file format elf32-avr
AVR Memory Usage
----------------
Device: atmega2560

Program:      64 bytes (3.1% Full)
(.text + .data + .rodata + .bootloader)

Data:          0 bytes (0.0% Full)
(.data + .bss + .noinit)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to