Add flash test to production firmware
Also erase the external flash, as a matter of course.