storage partition overhaul

This commit is contained in:
Thaddeus Hughes
2026-03-12 19:12:42 -05:00
parent 18faa5b83d
commit 59e7071023
116 changed files with 18243 additions and 257 deletions

19
main/partition_test.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef PARTITION_TEST_H
#define PARTITION_TEST_H
#include "esp_err.h"
#include <stdbool.h>
// Run all partition verification tests
// Call from app_main() after storage_init() and log_init()
esp_err_t run_partition_tests(void);
// Individual tests
bool test_params_partition_rw(void);
bool test_log_partition_rw(void);
bool test_post_partition_rw(void);
bool test_partitions_independent(void);
bool test_params_persist_after_commit(void);
bool test_log_write_read_cycle(void);
#endif // PARTITION_TEST_H