Skip to content

Commit fa07d4e

Browse files
committed
LPC55xx: add family regex.
1 parent 09dd3a9 commit fa07d4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyocd/target/family/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from collections import namedtuple
1919

2020
from . import target_kinetis
21+
from . import target_lpc5500
2122
from . import target_nRF52
2223

2324
## @brief Container for family matching information.
@@ -32,6 +33,7 @@
3233
# 'DsubFamily' (if present) attributes, or the 'Dname' part number. The comparisons are performed in
3334
# order from specific to general, starting with the part number.
3435
FAMILIES = [
36+
FamilyInfo("NXP", re.compile(r'LPC55S?[0-9]{2}.*'), target_lpc5500.LPC5500Family ),
3537
FamilyInfo("NXP", re.compile(r'MK[LEVWS]?.*'), target_kinetis.Kinetis ),
3638
FamilyInfo("Nordic Semiconductor", re.compile(r'nRF52[0-9]+.*'), target_nRF52.NRF52 ),
3739
]

0 commit comments

Comments
 (0)