komenda:
avr-size --format=avr --mcu=atmega16 program.elf
Dostaniesz taki wynik:
AVR Memory Usage
----------------
Device: atmega16
Program: 2208 bytes (13.5% Full)
(.text + .data + .bootloader)
Data: 42 bytes (4.1% Full)
(.data + .bss + .noinit)
EEPROM: 19 bytes (3.7% Full)
(.eeprom)
Data to zajętość RAM'u
A gdzie to wpisać, no to zależy stwórz cel
size: program.elf
@echo 'Invoking: Print Size'
avr-size --format=avr --mcu=atmega16 program.elf
i wpisz sobie go w celu all:
Nie bierz tego tak co do literki, bo może gdzieś się palnąłem.