We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c61ba3 + 2138479 commit e7753e4Copy full SHA for e7753e4
src/genpinmap/genpinmap_arduino.py
@@ -561,7 +561,7 @@ def sort_my_lists():
561
for s in itemlist:
562
m = re.match(pinregex, s.attributes['Name'].value)
563
if m:
564
- pin = m.group(0) # pin formatted P<port><number>: PFO
+ pin = m.group(0)[:2] + '_' + m.group(0)[2:] # pin formatted P<port>_<number>: PF_O
565
name = s.attributes['Name'].value.strip() # full name: "PF0 / OSC_IN"
566
if s.attributes['Type'].value == "I/O":
567
store_pin(pin, name)
0 commit comments