diff options
author | Peter A. Bigot <pab@pabigot.com> | 2016-02-18 05:58:29 -0600 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2016-02-27 22:04:23 +0000 |
commit | e0a28b290f77df9e9a7e9f80e006cc9e2202c89d (patch) | |
tree | 6d2bf2b75ce843840e230ed0af562ec8a2f70580 /src/flash/nor/nrf51.c | |
parent | 401a2b487613be8f2f39d07a900235dd94d9d73f (diff) | |
download | riscv-openocd-e0a28b290f77df9e9a7e9f80e006cc9e2202c89d.zip riscv-openocd-e0a28b290f77df9e9a7e9f80e006cc9e2202c89d.tar.gz riscv-openocd-e0a28b290f77df9e9a7e9f80e006cc9e2202c89d.tar.bz2 |
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 <pab@pabigot.com>
Reviewed-on: http://openocd.zylin.com/3187
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/flash/nor/nrf51.c')
-rw-r--r-- | src/flash/nor/nrf51.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/flash/nor/nrf51.c b/src/flash/nor/nrf51.c index f078cc3..28fa4d0 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. */ |