core+elf: Add fields for the MCU voltages
authorMichel Pollet <buserror@gmail.com>
Wed, 14 Apr 2010 17:11:49 +0000 (18:11 +0100)
committerMichel Pollet <buserror@gmail.com>
Wed, 14 Apr 2010 17:11:49 +0000 (18:11 +0100)
commit9903ca718a19106ac341f28e377cd0ba7f6fbb0e
tree7eb50e2c401bc6e0760e4ec40409426f434d8099
parent46876e7b76884fb5134386c0462601644c847927
core+elf: Add fields for the MCU voltages

You can now specify AVR_MCU_VOLTAGES(vcc, avcc, aref) in millivolts
in your firmware to set them into the simavr core.

Prerequisite for ADC VREF support.

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