avrf.c: Add ATmega256RFR2 to known flash list
authorLars Poeschel <poeschell+openocd@mailbox.org>
Tue, 5 Nov 2019 15:39:48 +0000 (16:39 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Tue, 24 Mar 2020 21:34:35 +0000 (21:34 +0000)
This adds the ATmega256RFR2 to the list of know devices for flashing.

Change-Id: Ib24a508762aaa84ba08ba37409db2ae674b46288
Signed-off-by: Lars Pöschel <poeschell+openocd@mailbox.org>
Reviewed-on: http://openocd.zylin.com/5504
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/avrf.c

index aa864590907eb04a23f24416270cf10b2d36756e..de8c563c6c8d901e6af0381e174447d13f862533 100644 (file)
@@ -67,6 +67,7 @@ static const struct avrf_type avft_chips_info[] = {
  */
        {"atmega128", 0x9702, 256, 512, 8, 512},
        {"atmega128rfa1", 0xa701, 128, 512, 8, 512},
+       {"atmega256rfr2", 0xa802, 256, 1024, 8, 1024},
        {"at90can128", 0x9781, 256, 512, 8, 512},
        {"at90usb128", 0x9782, 256, 512, 8, 512},
        {"atmega164p", 0x940a, 128, 128, 4, 128},