I'm running a custom PCB using the ATMEGA328PB chip and using the MINICORE bootloader. For some reason I can't access DP26 which should be attached to physical pin 22 according to this diagram.
Any ideas what I'm missing? For reference, I can use pins 2-25.
This is where to find the standard arduino's pin definition file:
If you use a different board, your board will be under variants folder and your board's name. It's not for beginners. If you wish to edit, at the very least make a back up. Post your updated file if you want some help from here.
Okay after a fresh reboot, things are working. I didn't change anything other than rebooting. Must have been a board definition that got updated or something. Either way it's working now!