+extern bool GPIO_Export(int pin);
+extern void GPIO_Unexport(int pin);
+
+#define GPIO_Export(pin) true
+#define GPIO_Unexport(pin)
+
+#define PWM_Export(pin) true
+#define PWM_Unexport(pin)
+
+#define ADC_Export(pin) true
+#define ADC_Unexport(pin)
+
+//Hack to both zero the result field (so it's never uninitialised) and return true
+#define GPIO_Read(pin, result) ((*(result) = 0) == 0)
+#define GPIO_Set(pin, value) true
+
+#define ADC_Read(id, value) ((*(value) = 0) == 0)
+
+#define PWM_Set(pin, polarity, period, duty) true
+#define PWM_Stop(pin) true
+
+#endif //_BBB