Skip to content

Commit 37bc06c

Browse files
committed
nrf52820_hic: add support in tests
1 parent 0223662 commit 37bc06c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

test/info.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
("kl26z_artemis_dk_if", False, 0x8000, "hex" ),
3333
("kl26z_microbit_if", False, 0x8000, "hex" ),
3434
("kl27z_microbit_if", False, 0x8000, "hex" ),
35+
("nrf52820_microbit_if", False, 0x8000, "hex" ),
3536
("lpc11u35_lpc812xpresso_if", False, 0x0000, "bin" ),
3637
("lpc11u35_lpc824xpresso_if", False, 0x0000, "bin" ),
3738
("lpc4322_lpc54114xpresso_if", False, 0x10000, "bin" ),
@@ -216,6 +217,8 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
216217
( 0x9901, VENDOR_TO_FAMILY('Nordic', 1), 'kl26z_microbit_if', 'kl26z_bl', 'Microbit' ),
217218
( 0x9903, VENDOR_TO_FAMILY('Nordic', 2), 'kl27z_microbit_if', 'kl27z_bl', 'Microbitv2' ),
218219
( 0x9904, VENDOR_TO_FAMILY('Nordic', 2), 'kl27z_microbit_if', 'kl27z_bl', 'Microbitv2' ),
220+
( 0x9905, VENDOR_TO_FAMILY('Nordic', 2), 'nrf52820_microbit_if', 'nrf52820_bl', 'Microbitv2' ),
221+
( 0x9906, VENDOR_TO_FAMILY('Nordic', 2), 'nrf52820_microbit_if', 'nrf52820_bl', 'Microbitv2' ),
219222
( 0xA127, VENDOR_TO_FAMILY('Ambiq', 1), 'kl26z_artemis_dk_if', 'kl26z_bl', 'ARTMBED' ),
220223
( 0x0000, VENDOR_TO_FAMILY('Stub', 1), 'kl26z_if', None, None ),
221224
( 0x0000, VENDOR_TO_FAMILY('Stub', 1), 'k20dx_if', None, None ),
@@ -233,17 +236,18 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
233236
# Add new HICs here
234237
HIC_STRING_TO_ID = {
235238
'k20dx': 0x97969900,
239+
'k26f': 0x97969909,
236240
'kl26z': 0x97969901,
241+
'kl27z': 0x9796990B,
237242
'lpc11u35': 0x97969902,
238-
'sam3u2c': 0x97969903,
239-
'max32620': 0x97969904,
240243
'lpc4322': 0x97969905,
244+
'lpc55s69': 0x4C504355,
245+
'm48ssidae': 0x97969921,
246+
'max32620': 0x97969904,
241247
'max32625': 0x97969906,
248+
'nrf52820': 0x6E052820,
249+
'sam3u2c': 0x97969903,
242250
'stm32f103xb': 0x97969908,
243-
'k26f': 0x97969909,
244-
'kl27z': 0x9796990B,
245-
'm48ssidae': 0x97969921,
246-
'lpc55s69': 0x4C504355,
247251
}
248252

249253
BOARD_ID_LOCKED_WHEN_ERASED = set([

0 commit comments

Comments
 (0)