Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fx2.format: Ignore record type 05 in input #8

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

gregdavill
Copy link
Contributor

I'm using GlasgowEmbedded/glasgow#185 to program some CC2530's with the glasgow.
The IAR compiler for those ICs generates a ihex file that contains a 0x05 record at the end to indicate the restart address.

Because that applet makes use of the ihex input parser in libfx2, this PR is here.

Record 0x05 is defined as follows https://en.wikipedia.org/wiki/Intel_HEX#Record_types

05 Start Linear Address The byte count is always 04, the address field is 0000. The four data bytes represent a 32-bit address value (big-endian). In the case of CPUs that support it, this 32-bit address is the starting execution address).

@whitequark whitequark merged commit 60fc41d into whitequark:master Jun 23, 2022
@gregdavill gregdavill deleted the ihex_parse_record_05_fix branch June 23, 2022 08:51
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.

None yet

2 participants