Instantly share code, notes, and snippets.

View screwing around with printrbot play
reprap.org/wiki/G-code
M103 - Get extruder temp
M104 S<temp> - Set extruder temp
M106 (parameters ) - fan
M114 - get position
M115 - get firmware info
View d.sh
CPU_ARGS="-march=mips32 -msoft-float -Wa,-msoft-float"
INCS="-I/home/adrian/work/freebsd/head-embedded-2/root/mips/usr/include"
export CROSS_COMPILE=mips-portbld-freebsd11.0
export CC=${CROSS_COMPILE}-gcc
export CXX=${CROSS_COMPILE}-g++
#export LD=${CROSS_COMPILE}-ld
#export AR=${CROSS_COMPILE}-ar
#export RANLIB=${CROSS_COMPILE}-ranlib
#export STRIP=${CROSS_COMPILE}-strip