altos/stmf0: Set 0x0 mapping to Main Flash for boot loader
authorKeith Packard <keithp@keithp.com>
Wed, 2 May 2018 06:44:00 +0000 (23:44 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 2 May 2018 06:44:00 +0000 (23:44 -0700)
commit08e543cd8b761e4cbbfa97404fcd5394f65a0e9e
tree0d34fe89503d5cc65ebec72dc8febc62d0b24058
parent980e3dc43ac4712680a370756e5112e9f330aa9a
altos/stmf0: Set 0x0 mapping to Main Flash for boot loader

When DFU finishes loading firmware and jumps to the application, it
leaves the mapping of addresses starting at 0x0 set to System flash,
which prevents the boot loader from receiving interrupts and requires
a power cycle during flash & cal.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_interrupt.c