compiling motor controller code using cdhlib