X-Git-Url: http://git.rot13.org//?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fjtag.h;fp=firmware%2Finclude%2Fjtag.h;h=5735a95b22ef04916bd4ca00b502d963df598173;hp=2d09c2c19bab5dc88a74b01834eed65415afc686;hb=5fb0341d348e101b30794945a6c91546e25e8e7b;hpb=1969a022e69bdac64a0d88de3d0ce88d79a27804 diff --git a/firmware/include/jtag.h b/firmware/include/jtag.h index 2d09c2c..5735a95 100644 --- a/firmware/include/jtag.h +++ b/firmware/include/jtag.h @@ -6,10 +6,9 @@ #ifndef JTAG_H #define JTAG_H -#include -#include -#include +#include "app.h" +#define JTAG 0x10 // Generic Commands @@ -101,9 +100,7 @@ extern int savedtclk; #define NOEND 2 #define NORETIDLE 4 - //JTAG430 commands -//#include "jtag430.h" #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 - + +extern app_t const jtag_app; + #endif