Updated compilation and flashing proceedure