This is an automated email from Gerrit.

Olaf Lüke (o...@tinkerforge.com) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/3428

-- gerrit

commit cb4bc8469715754aa47a09f85b203524d58fce40
Author: Olaf Lüke <o...@tinkerforge.com>
Date:   Wed Apr 27 17:23:05 2016 +0200

    at91samd: Add Atmel SAMD09 family support
    
    Change-Id: I0ee3bb92aa168ed070863ac09e3c457a4b2e2220
    Signed-off-by: Olaf Lüke <o...@tinkerforge.com>

diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c
index 2730f71..c879249 100644
--- a/src/flash/nor/at91samd.c
+++ b/src/flash/nor/at91samd.c
@@ -75,6 +75,7 @@
 #define SAMD_SERIES_21         0x01
 #define SAMD_SERIES_10         0x02
 #define SAMD_SERIES_11         0x03
+#define SAMD_SERIES_09         0x04
 
 /* Device ID macros */
 #define SAMD_GET_PROCESSOR(id) (id >> 28)
@@ -219,6 +220,12 @@ static const struct samd_part samc21_parts[] = {
        { 0x0D, "SAMC21E15A", 32, 4 },
 };
 
+/* Known SAMD09 parts */
+static const struct samd_part samd09_parts[] = {
+       { 0x0, "SAMD09D14A", 16, 4 },
+       { 0x1, "SAMD09C13A", 8, 4 },
+};
+
 /* Each family of parts contains a parts table in the DEVSEL field of DID.  The
  * processor ID, family ID, and series ID are used to determine which exact
  * family this is and then we can use the corresponding table. */
@@ -248,6 +255,8 @@ static const struct samd_family samd_families[] = {
                samc20_parts, ARRAY_SIZE(samc20_parts) },
        { SAMD_PROCESSOR_M0, SAMD_FAMILY_C, SAMD_SERIES_21,
                samc21_parts, ARRAY_SIZE(samc21_parts) },
+       { SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_09,
+               samd09_parts, ARRAY_SIZE(samd09_parts) },
 };
 
 struct samd_info {

-- 

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to