Commit c14393550404003f0fe248af20617b9a402d6242
authorMichel Pollet <buserror@gmail.com>
Tue, 16 Jun 2015 18:05:21 +0000 (19:05 +0100)
committerMichel Pollet <buserror@gmail.com>
Tue, 16 Jun 2015 18:05:21 +0000 (19:05 +0100)
treece08d247ec34eaa21b172263c9b1ea43110f2747
parente7e2cb19c50a79816870e4c1a8492084e2449b97
Message:
avr: Add a 'reset pc' that can be nonzero

This allows the AVR to soft reset into the bootloader for example.

A watchdog reset will re-run the bootloader with the correct flag.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2 files changed:
simavr/sim/sim_avr.c
simavr/sim/sim_avr.h