There's a 100% chance I'm missing something, but the steps for using PC interrupts on arduino projects cannot be applied using majorcore because "'PCICR' was not declared in this scope"
It depends on your target. ATmega8515 does not support PCINT's at all. ATmega162 has PCINT on some pins, but the register names may be slightly different. Look it up in the ATmega162 datasheet, and the iom162.h definition file.
There's a 100% chance I'm missing something, but the steps for using PC interrupts on arduino projects cannot be applied using majorcore because "'PCICR' was not declared in this scope"