spi and gpio abstraction layer working for bbb and rpi enough to run ssd1306_sample.py.