It's exactly your code, with the software SPI uncommented.
To me, code 255 sounds like SPI MISO is shorted high somehow or not connected. Could you send me a picture of the shim as you've soldered it on?
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It's exactly your code, with the software SPI uncommented.
To me, code 255 sounds like SPI MISO is shorted high somehow or not connected. Could you send me a picture of the shim as you've soldered it on?