Skip to content

Commit

Permalink
Add and implement alias table to support ATmega168P, ATmega168PB, ATm…
Browse files Browse the repository at this point in the history
…ega328PB, ATmega328
  • Loading branch information
WestfW committed Dec 10, 2015
1 parent 14ab6ec commit 7d0e40d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions optiLoader.h
Expand Up @@ -11,9 +11,9 @@ typedef struct image {
} image_t;

typedef struct alias {
char image_chipname[12];
uint16_t image_chipsig;
image_t * alias_image;
char alias_chipname[12]; /* Name of chip. ie Atmega168PA */
uint16_t real_chipsig; /* Low 16 bits actual chip sig. */
uint16_t alias_chipsig; /* "is the same as <otherchip sig>" */
} alias_t;

#define FUSE_PROT 0 /* memory protection */
Expand Down

0 comments on commit 7d0e40d

Please sign in to comment.