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:
us...@infra.apache.org


Reply via email to