File: part3-2.txt

package info (click to toggle)
intelhex 2.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 472 kB
  • sloc: python: 3,200; makefile: 86; sh: 15
file content (19 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Script ``bin2hex.py``
*********************************
You can use bin2hex.py as simple bin-to-hex convertor. This script is 
just a frontend for function ``bin2hex`` from intelhex package.
::

    Usage:
        python bin2hex.py [options] INFILE [OUTFILE]
    
    Arguments:
        INFILE      name of bin file for processing.
                    Use '-' for reading from stdin.
    
        OUTFILE     name of output file. If omitted then output
                    will be writing to stdout.
    
    Options:
        -h, --help              this help message.
        --offset=N              offset for loading bin file (default: 0).