components/nvs: add debugging facilities and runtime checks

Extra runtime sanity checks run when compiled for the host (i.e. with no ESP_PLATFORM define)
This commit is contained in:
Ivan Grokhotkov
2016-08-22 11:46:44 +08:00
parent 3ce433cfd1
commit f04c894123
5 changed files with 72 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@
#else
#include "crc.h"
#endif
#include <cstdio>
namespace nvs