You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f8prog/include/firmware_handling.h

12 lines
249 B
C

typedef struct fbuffer_t fbuffer_t;
struct fbuffer_t
{
char* buffer;
int size;
};
/* reads in the firmware file into a buffer */
fbuffer_t* get_firmware_buffer(char* filename);
void write_firmware_buffer(char* filename, fbuffer_t* p_fb);