esp_partition/linux target: Add functions supporting host tests

Added statistics and wear simulation functions to support migration of
remaining storage related host tests from fixture to linux implementation
of esp_partition.
This commit is contained in:
radek.tandler
2022-12-22 08:39:22 +01:00
parent 8ba285d882
commit 9e191bad52
6 changed files with 607 additions and 8 deletions

View File

@@ -4,7 +4,10 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdbool.h>
#include <stdlib.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <string.h>
#include "esp_attr.h"