ELF: Redone the .mmcu section
authorMichel Pollet <buserror@gmail.com>
Tue, 15 Dec 2009 21:39:49 +0000 (21:39 +0000)
committerMichel Pollet <buserror@gmail.com>
Tue, 15 Dec 2009 21:39:49 +0000 (21:39 +0000)
commit51d5f4b07034798845f5d975c6d4df1cc3d0b79f
tree0bf9c940663062dcf2be73b2ec5e88a2e1ccaa94
parent8d56964c56a3269be707316382dd36c11ed9ea2f
ELF: Redone the .mmcu section

The section now uses :tags: that can be parsed regardless
of order, size, alignment and so on.
Also added tags to allow a firmware to register VCD traces
directly from macros placed in the firmware itself.

This allows very quick and painless trace generation of any IO
register/bit without having to know the real values for the
addresses.

Signed-off-by: Michel Pollet <buserror@gmail.com>
include/avr_mcu_section.h
simavr/sim/run_avr.c
simavr/sim/sim_elf.c
simavr/sim/sim_elf.h