]> git.sur5r.net Git - openocd/commitdiff
atmega: add new target support
authorNemui Trinomius <nemuisan_kawausogasuki@live.jp>
Tue, 16 Jul 2013 13:58:45 +0000 (14:58 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sun, 8 Sep 2013 16:16:07 +0000 (16:16 +0000)
Not tested, adapted from http://tech.groups.yahoo.com/group/versaloon/message/391

Change-Id: I6d6af10fb07ea43cc1196a90d8738957f8266938
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1507
Tested-by: jenkins
src/flash/nor/avrf.c

index 3261f8ba11e233b248300f6fe9b5a006a3a1e968..393798a9ff558dd4852d3268b22772a510bb9a01 100644 (file)
@@ -69,6 +69,11 @@ static struct avrf_type avft_chips_info[] = {
  */
        {"atmega128", 0x9702, 256, 512, 8, 512},
        {"at90can128", 0x9781, 256, 512, 8, 512},
+       {"atmega164p", 0x940a, 128, 128, 4, 128},
+       {"atmega324p", 0x9508, 128, 256, 4, 256},
+       {"atmega324pa", 0x9511, 128, 256, 4, 256},
+       {"atmega644p", 0x960a, 256, 256, 8, 256},
+       {"atmega1284p", 0x9705, 256, 512, 8, 512},
 };
 
 /* avr program functions */