Embedded code for a LM4F120 based MPC