From 5bd58bc309e959537e3e820abfa39ee629b140a5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 7 Oct 2014 09:39:25 +0200 Subject: Reorganized firmware/ subdirectory (x300->usrp3, zpu->usrp2) --- firmware/usrp2/lib/ihex.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 firmware/usrp2/lib/ihex.h (limited to 'firmware/usrp2/lib/ihex.h') diff --git a/firmware/usrp2/lib/ihex.h b/firmware/usrp2/lib/ihex.h new file mode 100644 index 000000000..9f471fbe2 --- /dev/null +++ b/firmware/usrp2/lib/ihex.h @@ -0,0 +1,18 @@ +/* -*- c++ -*- */ +/* + * Copyright 2010 Ettus Research LLC + * + */ + +#include +#include + +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); -- cgit v1.2.3