Updated lpc17 spi code. Added floating point printf support and various
other fixes