Some bits of Spy-Bi-Wire support, thanks to Mark Rages. (Not yet complete.)
[goodfet] / firmware / include / command.h
index be52d17..6f94d6b 100644 (file)
 #define u32 unsigned long
 
 
-#ifdef msp430x2254
+#ifdef msp430x2274
 //256 bytes, plus overhead
 //For chips with very little RAM.
 #define CMDDATALEN 0x104
-#warning Very little RAM.
+//#warning Very little RAM.
 #endif
 
 #ifndef CMDDATALEN
@@ -110,6 +110,8 @@ void txword(unsigned int l);
 
 //! Transmit a debug string.
 void debugstr(const char *str);
+//! brief Debug a hex word string.
+void debughex(u16 v);
 
 //! Delay for a count.
 void delay(unsigned int count);