Revert "add flash"

This reverts commit 216b5dfe5ffde809daa5177d5f622f670cb785f1.