Andes Workshop
https://forum.andestech.com/

How to make binary file to specify size with padded 0 value
https://forum.andestech.com/viewtopic.php?f=25&t=928
Page 1 of 1

Author:  ianfeng [ Wed May 20, 2015 5:09 pm ]
Post subject:  How to make binary file to specify size with padded 0 value

"objcopy" has following option to do it.
Code:
--pad-to <addr>      Pad the last section up to address <addr>

It will pad 0 values behind binary file until address <addr>.

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/