Final changes to get the firmware working.