projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more work on ccspi reflexive jam with autoack. jamming is slow in the autoack mode...
[goodfet]
/
firmware
/
include
/
platform.h
diff --git
a/firmware/include/platform.h
b/firmware/include/platform.h
index
014ea20
..
071e30f
100644
(file)
--- a/
firmware/include/platform.h
+++ b/
firmware/include/platform.h
@@
-6,8
+6,20
@@
definition file, such as msp430x1612.c or msp430x2618.c.
*/
definition file, such as msp430x1612.c or msp430x2618.c.
*/
+
#include "gfports.h"
#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
#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();
//! 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
-