altos/stmf0: Fix external interrupts
authorKeith Packard <keithp@keithp.com>
Wed, 13 Apr 2016 13:11:44 +0000 (06:11 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 20 Apr 2016 03:21:30 +0000 (23:21 -0400)
commit3abc0fc5e4484d862709501133d35563aa0c25fa
tree4e7c66ccc064c9fbafe1f4543e92f8dfbd38ce0c
parent14fecd672807982ce6232fa3b4bdce0aebe132e8
altos/stmf0: Fix external interrupts

Missing a reserved address in the registers broke everything nicely,
but the priority values were also wrong - stm32f0 exposes 8 bits per
priority, like the stm32l, but it uses only the top two bits.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_arch.h
src/stmf0/ao_exti.h
src/stmf0/ao_exti_stm.c
src/stmf0/stm32f0.h