Make tests compile on stm32f4discovery emulator.  Will not work yet.