From e0a28b290f77df9e9a7e9f80e006cc9e2202c89d Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Thu, 18 Feb 2016 05:58:29 -0600 Subject: [PATCH] nrf51: move hwid 0057 and add 0058 Chip markings: N51822 / QFAAG2 / 1435CZ for HWID 0057 N51822 / QFAAG3 / 1436AJ for HWID 0058 Change-Id: I242b94d6a2362aae0de970c7ac77811c76dacdc0 Signed-off-by: Peter A. Bigot Reviewed-on: http://openocd.zylin.com/3187 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- src/flash/nor/nrf51.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/flash/nor/nrf51.c b/src/flash/nor/nrf51.c index f078cc3cd..28fa4d00c 100644 --- a/src/flash/nor/nrf51.c +++ b/src/flash/nor/nrf51.c @@ -193,6 +193,18 @@ static const struct nrf51_device_spec nrf51_known_devices_table[] = { .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", .build_code = "B0", @@ -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. */ -- 2.11.4.GIT