view frbl/test/srecreader.h @ 398:e5e5ed527cc1

compal: one more flash bootloader version
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Jan 2023 06:09:25 +0000
parents cefa700d1b8f
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;
};