add partition flashing

This commit is contained in:
suchmememanyskill
2020-12-31 12:55:26 +01:00
parent db2e115fb0
commit cd6bf6ad9d
7 changed files with 129 additions and 13 deletions

View File

@@ -20,6 +20,10 @@ enum {
TE_ERR_EMMC_READ_FAIL,
TE_ERR_EMMC_WRITE_FAIL,
TE_ERR_NO_SD,
TE_ERR_FILE_TOO_BIG_FOR_DEST,
TE_ERR_MEM_ALLOC_FAIL,
TE_WARN_FILE_EXISTS,
TE_WARN_FILE_TOO_SMALL_FOR_DEST,
};
#define newErrCode(err) (ErrCode_t) {err, __LINE__, __FILE__}