bool MemoryManagerV3::erase () { MemoryArea* main = this->getMemoryArea("main"); MemoryArea* info = this->getMemoryArea("information"); MemoryArea* bsl = this->getMemoryArea("boot"); if (main && !main->erase()) return false; if (info && !info->erase()) return false; if (bsl && !bsl->erase()) return false; return true; }