boards/cpu: style fixes and removal of useless part
tests: style fixes to make it like the stm32f4 spi_test