Opened 10 years ago

Last modified 7 years ago

#46442 new enhancement

avr-binutils @2.24 avr-size patch

Reported by: billygr (billy) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: avr-binutils

Description

Hi,

avr-size from the avr-gcc toolchain provides a command option for avr output style in order to print out the program/data/eeprom sizes used in the hex file. Most Linux distributions contain a patched version of avr-size to provide this functionality, the same applies to the avr-gcc toolchain included in Arduino.

The attached patch file brings this functionality to mac ports.

Discussion on gnu.org https://lists.gnu.org/archive/html/bug-binutils/2013-01/msg00077.html

Thanks in advance,

Bill

Attachments (1)

patch-binutils-avr-size.diff (15.9 KB) - added by billygr (billy) 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by billygr (billy)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Keywords: avr-size removed
Owner: changed from macports-tickets@… to g5pw@…
Version: 2.3.3

comment:2 Changed 9 years ago by g5pw (Aljaž Srebrnič)

Why isn't this merged upstream?

comment:4 Changed 7 years ago by JonnieCache1

This is still an issue. Is there any plan to add the patch?

comment:5 Changed 7 years ago by raimue (Rainer Müller)

This should not be only about this single patch, but most other distributions provide the AVR toolchain as patched by Atmel and not mainline gcc. This usually also includes support for more devices that were not yet integrated into mainline, but is a few versions behind (for example at the time of this writing, GCC 5.4.0 vs. 7.3.0). avr-gcc in MacPorts is currently following mainline gcc, so it does not have these features of the Atmel toolchain.

Note: See TracTickets for help on using tickets.