G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G90 ; use absolute coordinates
G28 ;move X/Y to min endstops
G32 S2
M82 ; use absolute distances for extrusion
my bed is X = 275 and Y = 200 so its longest side is the X axis
my config is attached in a zip file