aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib/ihex.h
blob: 9f471fbe2865ef40c7fc3a3d7524afdeb4f1bb26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* -*- c++ -*- */
/*
 * Copyright 2010 Ettus Research LLC
 *
 */

#include <stdint.h>
#include <stddef.h>

typedef struct {
	uint8_t type;
	size_t length;
	uint32_t addr;
	uint8_t *data;
} ihex_record_t;


int ihex_parse(char input[], ihex_record_t *record);