Initial commit of the Rev 3 firmware

This firmware works fine, but does not contain control signals for
debugging & COM port speed.