More work toward an AVR port.
[goodfet] / firmware / include / platform.h
index 014ea20..071e30f 100644 (file)
@@ -6,8 +6,20 @@
   definition file, such as msp430x1612.c or msp430x2618.c.
 */
 
+
 #include "gfports.h"
 
+#include <stdint.h>
+
+#ifdef MSP430
+#include <io.h>
+#include <signal.h>
+#include <iomacros.h>
+#include "msp430.h"
+#endif
+
+#include "config.h"
+
 #ifdef telosb
 //TelosB uses second serial port.
 #define serial_tx serial1_tx
@@ -41,8 +53,3 @@ void msp430_init_dco();
 //! Called by monitor() when the DCO is correct and communication established.
 void msp430_init_dco_done();
 
-//LED on P1.0
-#define PLEDOUT P1OUT
-#define PLEDDIR P1DIR
-#define PLEDPIN BIT0
-