view loadtools/srecreader.h @ 887:7f305eb3c530

gsm-fw: tpudrv12.[ch] extended to support Pirelli DP-L10 target Pirelli ramImage compiles, not tested on hw yet compiled code unchanged in the gtamodem configuration (verified)
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 28 Jun 2015 08:15:10 +0000
parents acaac9162574
children
line wrap: on
line source

/* this header file defines the data structures for the SREC reader module */

struct srecreader {
	char		*filename;
	FILE		*openfile;
	int		lineno;
	u_char		record[256];	/* binary */
	char		record_type;	/* ASCII char */
	u_char		datalen;
	uint32_t	addr;
};