/* generic firmware-functions for HomeMatic
*
- * Copyright (c) 2014 Michael Gernoth <michael@gernoth.net>
+ * Copyright (c) 2014-20 Michael Gernoth <michael@gernoth.net>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
int fw_blocks;
};
-struct firmware* firmware_read_firmware(char *filename, int debug);
+enum atmega_device {
+ ATMEGA_UNKNOWN,
+ ATMEGA_328P,
+ ATMEGA_644P,
+};
+
+struct firmware* firmware_read_firmware(char *filename, int atmega, int debug);
void firmware_free(struct firmware *fw);