Skip to content

Commit

Permalink
target: family: correct LPC55xx family regex (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
flit authored Aug 20, 2022
1 parent 0625353 commit 3042769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyocd/target/family/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class FamilyInfo(NamedTuple):
# present), or the 'Dname' or 'Dvariant' part numbers. The comparisons are performed in order from
# specific to general, starting with the part number.
FAMILIES = [
FamilyInfo("NXP", re.compile(r'LPC55?[0-9]{2}.*'), target_lpc5500.LPC5500Family ),
FamilyInfo("NXP", re.compile(r'LPC55.?[0-9]{2}.*'), target_lpc5500.LPC5500Family ),
FamilyInfo("NXP", re.compile(r'MIMXRT[0-9]{4}.*'), target_imxrt.IMXRT ),
FamilyInfo("NXP", re.compile(r'MK[LEVWS]?.*'), target_kinetis.Kinetis ),
FamilyInfo("Nordic Semiconductor", re.compile(r'nRF52[0-9]+.*'), target_nRF52.NRF52 ),
Expand Down

0 comments on commit 3042769

Please sign in to comment.