Trouble building Marlin 2.0 for Mega2560 Ramps

We’ll need to know what exact error you have, what code you’re trying to compile and any changes to the platformio.ini you need. Impossible to know anything otherwise.