Skip to content

Intel hex file format support - #608

Closed
shreyes-shalgar wants to merge 4 commits into
microsoft:mainfrom
shreyes-shalgar:IntelHex-file-format-support
Closed

Intel hex file format support#608
shreyes-shalgar wants to merge 4 commits into
microsoft:mainfrom
shreyes-shalgar:IntelHex-file-format-support

Conversation

@shreyes-shalgar

@shreyes-shalgar shreyes-shalgar commented Jul 21, 2026

Copy link
Copy Markdown

Changes
Add hex file decoding support in file system adaptor

Implemented HexDecodedFileAccessor to handle .hex files, decoding their contents on read and encoding on write
Updated accessFile function to conditionally wrap file accessors with HexDecodedFileAccessor based on file extension
Enhanced HexDocument to utilize base address from hex decoder if available
Added tests for hex format functionality
Ensure correct ArrayBuffer handling in util functions
Implement Intel HEX encoding and decoding functionality

Core Intel HEX format encoding and decoding implementation
Enhance VSIX build and packaging tasks; add base address support in data display

Improved VSIX build and packaging tasks
Added base address support in data display

Issue fixed: #562

Note: the changes are done and only a limited test cases were tested on them

- Implemented HexDecodedFileAccessor to handle .hex files, decoding their contents on read and encoding on write.
- Updated accessFile function to conditionally wrap file accessors with HexDecodedFileAccessor based on file extension.
- Enhanced HexDocument to utilize base address from hex decoder if available.
- Added tests for hex format functionality.

fix: Ensure correct ArrayBuffer handling in util functions
- Introduced native support for .hex files, including plain hex and Intel HEX formats.
- Enhanced the hex editor to automatically detect and parse .hex files.
- Implemented checksum validation for Intel HEX records.
- Updated documentation with build instructions and usage examples.
- Added a quick build script for easier packaging of the extension.
- Changed copyright ownership from Microsoft to Shreyes Shalgar across all files.
- Added an "About" command to display extension information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Encoding a .hex file instead of opening as is

1 participant