]> git.sur5r.net Git - openocd/commitdiff
nrf51: move hwid 0057 and add 0058
authorPeter A. Bigot <pab@pabigot.com>
Thu, 18 Feb 2016 11:58:29 +0000 (05:58 -0600)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 27 Feb 2016 22:04:23 +0000 (22:04 +0000)
Chip markings:
    N51822 / QFAAG2 / 1435CZ for HWID 0057
    N51822 / QFAAG3 / 1436AJ for HWID 0058

Change-Id: I242b94d6a2362aae0de970c7ac77811c76dacdc0
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Reviewed-on: http://openocd.zylin.com/3187
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/nrf51.c

index f078cc3cde12cbee7ad10d7fad950b2400a1ec93..28fa4d00c8b6fdc177e0e12fd5f4e93192f4207c 100644 (file)
@@ -192,6 +192,18 @@ static const struct nrf51_device_spec nrf51_known_devices_table[] = {
                .build_code     = "G0",
                .flash_size_kb  = 256,
        },
+       {
+               .hwid           = 0x0057,
+               .variant        = "QFAA",
+               .build_code     = "G2",
+               .flash_size_kb  = 256,
+       },
+       {
+               .hwid           = 0x0058,
+               .variant        = "QFAA",
+               .build_code     = "G3",
+               .flash_size_kb  = 256,
+       },
        {
                .hwid           = 0x004C,
                .variant        = "QFAB",
@@ -351,15 +363,6 @@ static const struct nrf51_device_spec nrf51_known_devices_table[] = {
                .flash_size_kb  = 256,
        },
 
-       /* mdbt40
-          no idea if variant and build code are correct */
-       {
-               .hwid           = 0x0057,
-               .variant        = "QFAA",
-               .build_code     = "G2",
-               .flash_size_kb  = 256,
-       },
-
        /* Some early nRF51-DK (PCA10028) & nRF51-Dongle (PCA10031) boards
           with built-in jlink seem to use engineering samples not listed
           in the nRF51 Series Compatibility Matrix V1.0. */