Add long sector writing support and related error handling in write.c and context.h

This commit is contained in:
2025-10-03 17:46:40 +01:00
parent ec1811eb78
commit 879a41d5a1
4 changed files with 647 additions and 5 deletions

View File

@@ -62,6 +62,7 @@
#define AARUF_ERROR_CANNOT_WRITE_BLOCK_HEADER (-23) ///< Failure writing block header.
#define AARUF_ERROR_CANNOT_WRITE_BLOCK_DATA (-24) ///< Failure writing block payload.
#define AARUF_ERROR_CANNOT_SET_DDT_ENTRY (-25) ///< Failed to encode/store a DDT entry (overflow or IO).
#define AARUF_ERROR_INCORRECT_DATA_SIZE (-26) ///< Data size does not match expected size.
/** @} */
/** \name Non-fatal sector status codes (non-negative)