aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/optiboot/optiboot.c
diff options
context:
space:
mode:
authorMartyn Ranyard <ranyardm@gmail.com>2012-11-02 21:45:58 +0000
committerCristian Maglie <c.maglie@arduino.cc>2015-07-14 12:55:22 +0200
commitd76d58a12e6982c54ca8a1d51b96fb9f864fc569 (patch)
treef389796f3a514ac7d876059885d17ce4a9006800 /bootloaders/optiboot/optiboot.c
parent10da8ab42f635b96bb848574e446bf32a9e4165b (diff)
Bootloaders: adds support for 328-nonp chips
Diffstat (limited to 'bootloaders/optiboot/optiboot.c')
-rw-r--r--bootloaders/optiboot/optiboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloaders/optiboot/optiboot.c b/bootloaders/optiboot/optiboot.c
index 41545b7..bd3a1db 100644
--- a/bootloaders/optiboot/optiboot.c
+++ b/bootloaders/optiboot/optiboot.c
@@ -231,7 +231,7 @@ void appStart() __attribute__ ((naked));
#if defined(__AVR_ATmega168__)
#define RAMSTART (0x100)
#define NRWWSTART (0x3800)
-#elif defined(__AVR_ATmega328P__)
+#elif defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__)
#define RAMSTART (0x100)
#define NRWWSTART (0x7000)
#elif defined (__AVR_ATmega644P__)