You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/02/24 11:31:53 UTC
[GitHub] [incubator-nuttx] codebje opened a new pull request #2910: libc/hex2bin: fix handling of segment offsets
codebje opened a new pull request #2910:
URL: https://github.com/apache/incubator-nuttx/pull/2910
## Summary
The segment offset command in an Intel HEX file specifies what is essentially an 8086 segment - a 16-bit value shifted left by 4 bits and added to addresses. The existing hex2bin code shifts this value by 8 bits instead of 4.
## Impact
Hex files specifying segment offsets now load correctly.
## Testing
Loaded and booted a nuttx.hex - approx. 256k memory image - from SD card using a NuttX image in Flash.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2910: libc/hex2bin: fix handling of segment offsets
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #2910:
URL: https://github.com/apache/incubator-nuttx/pull/2910
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org