This is my Marlin firmware build and config for an Ender 2 with an SKR E3 Mini v1.2 (512k).
It worked with Marlinfw 2.0.7.2, these all contain various different tweaks, such as bed size changes, z axis changes, BLTouch, stepper silencing, menu options. I’m using the latest version at the top but you might find other versions work better for you.