Custom Marlin For Ender 3 Max Neo

Has anyone managed to build a custom Marlin for The Ender 3 Max Neo? I’ve been trying for a couple of days and am getting nowhere. I’ve stared at configuration.h and configuration_adv.h until my eyes glaze over. I can successfully build, but the result does not work once it’s flashed to the printer.