Traumflug / Teacup_Firmware

Firmware for RepRap and other 3D printers
http://forums.reprap.org/read.php?147
GNU General Public License v2.0
310 stars 198 forks source link

avr-size -C #316

Closed Wurstnase closed 5 years ago

Wurstnase commented 5 years ago

Hi,

can someone please check the new size algorithm https://github.com/Traumflug/Teacup_Firmware/commit/469bed833437a81f915e9d66bf9a0ff7a2a72f44? My avr-size has no option -C.

Wurstnase commented 5 years ago

Found one.

$avr-size --version
GNU size (AVR_8_bit_GNU_Toolchain_3.6.2_1759) 2.26.20160125

$avr-size -C build/teacup.elf
AVR Memory Usage                  
----------------                  
Device: Unknown                   

Program:   22318 bytes            
(.text + .data + .bootloader)     

Data:       1269 bytes            
(.data + .bss + .noinit)          

EEPROM:       32 bytes            
(.eeprom)                         

Latest commit will do it like this, but with -A instead and will work also with older avr-size versions.

$avr-size --version
GNU size (GNU Binutils) 2.31.1

$avr-size -C build/teacup.elf
avr-size: invalid option -- 'C'