From a8d302f9abe6bbb5daceafaeae7cdb1804d14d59 Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Thu, 21 Apr 2016 09:10:44 -0400 Subject: [PATCH] at91samd: Add additional "B Variant" parts from SAMD21 family The parts are listed in Rev I of the Datasheet Change-Id: Icdd9108a0f1f19f666fce79de7f25df9f46de866 Signed-off-by: Peter D. Gray Reviewed-on: http://openocd.zylin.com/3424 Reviewed-by: Freddie Chopin Tested-by: jenkins --- src/flash/nor/at91samd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c index 2cf57780..62b3542c 100644 --- a/src/flash/nor/at91samd.c +++ b/src/flash/nor/at91samd.c @@ -152,7 +152,13 @@ static const struct samd_part samd21_parts[] = { { 0xC, "SAMD21E16A", 64, 8 }, { 0xD, "SAMD21E15A", 32, 4 }, { 0xE, "SAMD21E14A", 16, 2 }, + /* Below are B Variants (Table 3-7 from rev I of datasheet) */ + { 0x20, "SAMD21J16B", 64, 8 }, + { 0x21, "SAMD21J15B", 32, 4 }, + { 0x23, "SAMD21G16B", 64, 8 }, + { 0x24, "SAMD21G15B", 32, 4 }, { 0x26, "SAMD21E16B", 64, 8 }, + { 0x27, "SAMD21E15B", 32, 4 }, }; /* Known SAMR21 parts. */ -- 2.39.5