Sane SPI Flash addressing for poke date, will later convert all functions.
[goodfet] / firmware / include / command.h
index fe3beb1..8c7f72b 100644 (file)
@@ -6,7 +6,7 @@
 //! Global data buffer.
 
 #ifndef CMDDATALEN
-#define CMDDATALEN 0x200
+#define CMDDATALEN 0x0x204
 #endif
 
 extern unsigned char cmddata[CMDDATALEN];
@@ -99,6 +99,13 @@ extern unsigned char silent;
 #define JTAG430_COREIP_ID 0xF0
 #define JTAG430_DEVICE_ID 0xF1
 
+//! Handle a plugin, weak-linked to error.
+extern int pluginhandle(unsigned char app,
+                       unsigned char verb,
+                       unsigned int len)
+  __attribute__ ((weak));
+
+
 //! Handle a command.  Defined in goodfet.c
 void handle(unsigned char app,
            unsigned char verb,