2274 #ifndef screwed things up.
[goodfet] / firmware / include / platform.h
index f7e9246..f8efd75 100644 (file)
@@ -1,5 +1,19 @@
 //! \file platform.h
 
+#include <signal.h>
+#include <io.h>
+#include <iomacros.h>
+
+
+//Use P3 instead of P5 for target I/O on chips without P5.
+//#ifndef P5OUT
+//#warning "P5OUT undefined, using P3 instead."
+//#define P5OUT P3OUT
+//#define P5DIR P3DIR
+//#define P5REN P3REN
+//#define P5IN P3IN
+//#endif
+
 unsigned char serial_rx();
 void serial_tx(unsigned char);