The quadratus plantae muscle originates on the calcaneus and inersts onto the tendon of the flexor digitorum longus m. It is innervated by the lateral plantar nerve and acts to flex digits 2-5.