Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/ibutton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Bootloader/mega324p.h')
-rw-r--r--Bootloader/mega324p.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Bootloader/mega324p.h b/Bootloader/mega324p.h
new file mode 100644
index 0000000..c29f0e8
--- /dev/null
+++ b/Bootloader/mega324p.h
@@ -0,0 +1,17 @@
+#ifndef _MEGA324P_H_
+#define _MEGA324P_H_
+
+/* I (M. Thomas) could not find an official Boot-ID
+ for the ATmega324P so pretend it's an ATmega32 */
+/* Part-Code ISP */
+#define DEVTYPE_ISP 0x72
+/* Part-Code Boot */
+#define DEVTYPE_BOOT 0x73
+
+#define SIG_BYTE1 0x1E
+#define SIG_BYTE2 0x95
+#define SIG_BYTE3 0x08
+
+#include "megaxx4p.h"
+
+#endif // #ifndef _MEGA324P_H_