Code: Select all
Size after:
AVR Memory Usage
----------------
Device: atmega328p
Program: 5278 bytes (16.1% Full)
(.text + .data + .bootloader)
Data: 555 bytes (27.1% Full)
(.data + .bss + .noinit)
-------- end --------
This doesn't look quite right, as the bare example alone takes up almost 6k. I tried changing compiler optimization, and it doesn't help a lot here. The make output indicates that the demo is correctly linked to NIL files, so it is not incorrectly linked to RT or something.
Or am I misunderstanding the claim about space? Does HAL take a large chunk of space too?