Files
ardupilot/libraries/AP_HAL_ChibiOS
Peter BarkerandClaude Opus 5 df68c8cf0a hwdef: compile valid_type's peripheral-number regexes
valid_type() still ran nine uncompiled re.match() calls for every pin
line, cross-checking the peripheral number in a pin's type against the
one in its label.  Compile them once as class members.

Processing all 443 ChibiOS hwdefs goes from 0.35s to 0.32s.  The parse
state of all 490 boards is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 19:24:04 +10:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…