[examples] Merge a lot of the common code for stm32
[examples] whitespace formatting change only
[examples] turn up spi speed

We're running at 24Mhz on both f1 and l1, can run up to ~10Mhz on the
mrf24j40ma, so div4 is probably about as fast as reasonable.