Remaining diffs from gumstix repository: Add debug, test and shell command, aliases for parts, small fixes.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@732 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent 851277f003
commit fb8a7b3831

@ -32,6 +32,7 @@ typedef struct signal signal_t;
struct signal {
char *name;
char *pin; /* djf hack pin number from bsdl */
signal_t *next;
bsbit_t *input;
bsbit_t *output;

@ -37,6 +37,7 @@
extern chain_t *chain;
extern bus_t *bus;
extern int big_endian;
extern int debug_mode;
int jtag_parse_file( const char *filename );

@ -40,6 +40,7 @@ typedef struct part part_t;
struct part {
tap_register *id;
char *alias; /* djf refdes */
char manufacturer[MAXLEN_MANUFACTURER + 1];
char part[MAXLEN_PART + 1];
char stepping[MAXLEN_STEPPING + 1];

@ -46,6 +46,7 @@ ssize_t getline( char **lineptr, size_t *n, FILE *stream );
#endif
chain_t *chain = NULL;
int debug_mode = 0;
int big_endian = 0;
extern cfi_array_t *cfi_array;
@ -173,6 +174,7 @@ jtag_parse_line( char *line )
}
r = cmd_run( a );
if(debug_mode & 1)printf("Return in jtag_parse_line r=%d\n",r);
free( a );
return r;
}
@ -252,7 +254,7 @@ jtag_parse_file( const char *filename )
go = jtag_parse_stream( f );
fclose(f);
if(debug_mode & 1)printf("File Closed gp=%d\n",go);
return go;
}

Loading…
Cancel
Save