This library provides a generic abstraction over Arduino.h, to support more platforms.
Simply include generic-Arduino.hpp and you good to go.
There is also a generic SPI implementation.
You can use it by including SPIAbstraction.hpp.
The interface is similar to the interface of SPI.h from the ES but works even when there is not SPI hardware.