A major refactor of the GoodFET firmware build system and apps to give better
[goodfet] / firmware / include / jtag.h
index 2d09c2c..5735a95 100644 (file)
@@ -6,10 +6,9 @@
 #ifndef JTAG_H
 #define JTAG_H
 
 #ifndef JTAG_H
 #define JTAG_H
 
-#include <signal.h>
-#include <io.h>
-#include <iomacros.h>
+#include "app.h"
 
 
+#define JTAG 0x10
 
 // Generic Commands
 
 
 // Generic Commands
 
@@ -101,9 +100,7 @@ extern int savedtclk;
 #define NOEND       2
 #define NORETIDLE   4
 
 #define NOEND       2
 #define NORETIDLE   4
 
-
 //JTAG430 commands
 //JTAG430 commands
-//#include "jtag430.h"
 #define Exit2_DR 0x0
 #define Exit_DR 0x1
 #define Shift_DR 0x2
 #define Exit2_DR 0x0
 #define Exit_DR 0x1
 #define Shift_DR 0x2
@@ -120,5 +117,7 @@ extern int savedtclk;
 #define Update_IR 0xd
 #define Capture_IR 0xe
 #define Test_Reset 0xf
 #define Update_IR 0xd
 #define Capture_IR 0xe
 #define Test_Reset 0xf
-                                                                                                                                
+
+extern app_t const jtag_app;
+
 #endif
 #endif