@runger I just ran across this issue with the earlephilhower core and looks like it’s the same in the dev branch. For now, I changed line 38 in rp2040_mcu.cpp to the following which seems to fix it as I believe there’s no pin remapping by default…
uint pin = pin_nr;