Added SPI1 setup
Changed API to conform with ChibiOS (now compiles)