Finished reintegration of pic24 and pic12 code.