From d0801b36b47d8f3da610597160fde92059fd7e62 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 7 Aug 2017 19:27:05 +0200 Subject: implementation for avr programmer the programmer will receive the binary in blocks of defined size by a program under sw/programmer/linux (moved from sw/linux). --- sw/programmer/avr/fileinfo.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sw/programmer/avr/fileinfo.h (limited to 'sw/programmer/avr/fileinfo.h') diff --git a/sw/programmer/avr/fileinfo.h b/sw/programmer/avr/fileinfo.h new file mode 100644 index 0000000..6c831ed --- /dev/null +++ b/sw/programmer/avr/fileinfo.h @@ -0,0 +1,13 @@ +#ifndef __FILEINFO_H__ +#define __FILEINFO_H__ + +#include + +struct file_info +{ + size_t size; + size_t blklen; + uint16_t start_addr; +}; + +#endif -- cgit v1.2.1