Arduboy mega

I need the arduboy library’s to work on a home made arduboy using Arduino mega rather than Leonardo, (I need alot of extra pins) any ideas what kinds of problems I’d be looking at?

If the library’s would need to be ported I’d happily pay someone in PayPal or crypto

You’ll be running into several compilation issues as The Mega doesn’t have USB and there are differences in hardware registers.

How many and for what do you need the extra pins of the mega? If speed isn’t an issue you could also use I2C I/O expanders to get those extra pins.