cpu/stm32/irqs: fix vectors generator script
This commit is contained in:
parent
b9e4f13cba
commit
3e1fa30c2f
2
cpu/stm32/dist/irqs/gen_vectors.py
vendored
2
cpu/stm32/dist/irqs/gen_vectors.py
vendored
@ -74,7 +74,7 @@ def parse_cmsis(cpu_line):
|
|||||||
use_line = True
|
use_line = True
|
||||||
|
|
||||||
# use a regexp to get the available IRQs
|
# use a regexp to get the available IRQs
|
||||||
match = re.match(r"[ ]+([a-zA-Z0-9_]+_IRQn)[ ]+= \d+,", line)
|
match = re.match(r"[ ]+([a-zA-Z0-9_]+_IRQn)[ ]+= \d+", line)
|
||||||
|
|
||||||
# Skip lines that don't match
|
# Skip lines that don't match
|
||||||
if match is None:
|
if match is None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user