Rebuild flash lib and runtime files with latest code.