]> git.sur5r.net Git - openocd/commitdiff
nrf51: move table entry for hwid 0084 to correct MCU section
authorPeter A. Bigot <pab@pabigot.com>
Thu, 12 Nov 2015 11:03:39 +0000 (05:03 -0600)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 27 Feb 2016 22:04:11 +0000 (22:04 +0000)
This is a nRF51822 variant, not a nRF51422 variant.

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

index 65ad33de27b0c30d537c1e6c8c3a23a092c0c2c7..f078cc3cde12cbee7ad10d7fad950b2400a1ec93 100644 (file)
@@ -236,6 +236,12 @@ static const struct nrf51_device_spec nrf51_known_devices_table[] = {
                .build_code     = "A0",
                .flash_size_kb  = 256,
        },
+       {
+               .hwid           = 0x0084,
+               .variant        = "QFAC",
+               .build_code     = "A1",
+               .flash_size_kb  = 256,
+       },
        {
                .hwid           = 0x007D,
                .variant        = "CDAB",
@@ -314,12 +320,6 @@ static const struct nrf51_device_spec nrf51_known_devices_table[] = {
                .build_code     = "B0",
                .flash_size_kb  = 128,
        },
-       {
-               .hwid           = 0x0084,
-               .variant        = "QFAC",
-               .build_code     = "A1",
-               .flash_size_kb  = 256,
-       },
        {
                .hwid           = 0x0085,
                .variant        = "QFAC",