Update board_stub_builder.py

This commit is contained in:
Pablo Martínez 2024-07-06 21:13:14 +02:00 committed by GitHub
parent 28e6afca47
commit dc6c4eeb72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ def get_board_pins(pin_filename):
if line.strip()[0:2] == "//":
continue
# (\s*) means any amount of whitespaces (no whitespaces allowed too)
# \s* means any amount of whitespaces (no whitespaces allowed too)
# related issue: https://github.com/adafruit/circuitpython/issues/9407
search = re.search(r"MP_ROM_QSTR\(MP_QSTR_(.*?)\),\s*MP_ROM_PTR", line)