Plugins work again.
[goodfet] / firmware / include / gfports.h
index 8cc1012..38757cd 100644 (file)
@@ -6,7 +6,9 @@
 #ifndef GFPORTS
 #define GFPORTS
 
+#ifdef MSP430
 #include <io.h>
+#endif
 
 // N.B., only asm-clean CPP definitions allowed.
 
 #endif
 #endif
 
+//Use these instead of the explicit names.
+#ifdef MSP430
+#define gfout P5OUT
+#define gfin  P5IN
+#define gfdir P5DIR
+#define gfren P5REN
+#endif
+
+
 
 #endif //GFPORTS