Arduino IDE compatibility with ATmega2561

CrossRoads:
No, I mean the INPUT_PULLUP command might not be supported for 2561. The internal pullups are still there.

But INPUT_PULLUP is not a function, it's just a macro defining a value that the current pinMode() function uses, so is not tied to any specific AVR chip, but rather just to the current IDE's pinMode function. But maybe I'm missing something?