make dev mem configurable