The ATmega2560 R3 uses a 3-byte Program Counter. For compatibility, please consider a minor enhancement to address the different platforms that use a 3-byte Program Counter vs 2-byte. The documentation regarding compatibility found on the arduino.cc site should also be reviewed. (https://www.arduino.cc/reference/en/libraries/avr-context/)
The ATmega2560 R3 uses a 3-byte Program Counter. For compatibility, please consider a minor enhancement to address the different platforms that use a 3-byte Program Counter vs 2-byte. The documentation regarding compatibility found on the arduino.cc site should also be reviewed. (https://www.arduino.cc/reference/en/libraries/avr-context/)