Marlin firmware for 3D printer electronics