Commit Graph

2 Commits

Author SHA1 Message Date
kerms 4959ff74c1
refactor: translate error messages from Chinese to English
Standardize all user-facing error/validation messages across
partition-table, nvs, app-image, and ota-data parsers to English.
2026-02-28 11:50:00 +01:00
kerms d32674617d
feat: add OTA data parser and fix verbatimModuleSyntax compliance
- Add lib/ota-data/ module: parses esp_ota_select_entry_t structures,
  determines active OTA partition from sequence numbers and CRC validation
- Fix all lib files to use `import type` for type-only imports to comply
  with TypeScript verbatimModuleSyntax (partition-table, nvs, app-image)
- Export ota-data from lib/index.ts
2026-02-25 16:34:42 +01:00