Mini Rambo firmware install - first layer error

i have the marlin firmware install in my new mini rambo, motors move, extruder and bed heat.

i started a print and it immediately starts making a squiggle line toward the opposite corner from the home position and crashes into the end of the x and y axis

any ideas?


i believe the problem was cause by and incorrect setting in marlin to do with the mechanical endstop inversion.

it could also have been the firmware endstops causing the issue