[NUCLEO_F302R8] Improvements in clock configuration, spi default pins, code formatting