add partition dumping

This commit is contained in:
suchmememanyskill
2020-12-30 22:51:07 +01:00
parent 45d86a31b1
commit db2e115fb0
7 changed files with 141 additions and 31 deletions

View File

@@ -17,6 +17,9 @@ enum {
TE_ERR_KEYDUMP_FAIL,
TE_ERR_PARTITION_NOT_FOUND,
TE_ERR_PATH_IN_PATH,
TE_ERR_EMMC_READ_FAIL,
TE_ERR_EMMC_WRITE_FAIL,
TE_ERR_NO_SD,
};
#define newErrCode(err) (ErrCode_t) {err, __LINE__, __FILE__}