On Fri, Feb 22, 2008 at 12:04:19AM +0100, Uwe Hermann wrote: > Package: wnpp > Severity: wishlist > Owner: Uwe Hermann <[EMAIL PROTECTED]> > > * Package name : hex2bin > Version : 1.0.6 > Upstream Author : Jacques Pelletier <[EMAIL PROTECTED]> > * URL : http://sourceforge.net/projects/hex2bin/ > * License : GPL > Programming Lang: C > Description : Converts Motorola and Intel Hex files to binary > > Converts Motorola and Intel Hex (*.hex or *.ihx) files to binary.
FWIW, you can do this with the srecord package. Despite the name, it reads and writes a bunch of hex formats and binary, and can convert between them and apply various other transformations (address shift, byte swapping) etc. Note that I'm not objecting to your ITP, only proposing an existing solution. hex2bin might be simpler to use, although it could probably be implemented as a simple wrapper script on-top of srecord, and packaged with it. You can do a hex to binary conversion with: srec_cat <infile> -Intel -output <outfile> -Binary Hamish -- Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]