Menu

#3411 makebin offset parameter doesn't work as expected

open
nobody
None
None
5
2022-06-05
2022-05-30
No

The new makebin -o parameter (offset) doesn't work as expected when used in tandem with -s (romsize). Seems that the -s (romsize) parameter always truncate to the same address. So, if you set -o to 0x0 and -s to 0x8000, it works as expected and binary is 32kb in size, since last address is 0x7FFF, but if you change -o to 0x4000, binary size is now 16kb in size. This is completely different than what hex2bin does.

Discussion

  • Maarten Brock

    Maarten Brock - 2022-06-03

    Ticket moved from /p/sdcc/feature-requests/810/

    Can't be converted:

    • _milestone:
     
  • Maarten Brock

    Maarten Brock - 2022-06-03

    If -s is for specifying a size it should not be used as an end address. I therefor consider this a bug.

     

Log in to post a comment.

MongoDB Logo MongoDB