scripts: zep2newt: remove unused argument
The --off argument is unused; delete it. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
parent
da223385c5
commit
47c69d0eea
|
@ -16,8 +16,7 @@ from Crypto.PublicKey import RSA
|
|||
DEBUG = False
|
||||
|
||||
def get_args():
|
||||
parser = ArgumentParser(description='Script to create images on a format \
|
||||
that Mynewts bootloader expects')
|
||||
parser = ArgumentParser(description='Convert Zephyr binaries to mcuboot format')
|
||||
|
||||
parser.add_argument('--bin', required=True, dest='binary_file', \
|
||||
help='Name of *.bin file (input)')
|
||||
|
@ -33,11 +32,6 @@ def get_args():
|
|||
default='SHA256', \
|
||||
help='Type of signature <SHA256|RSA|EC>')
|
||||
|
||||
parser.add_argument('--off', required=False, dest='flash_offs_addr', \
|
||||
default='0x08020000', \
|
||||
help='Offset for the binary in flash (at what address \
|
||||
should it be flashed?)')
|
||||
|
||||
parser.add_argument('--word-size', required=False, dest='word_size',
|
||||
default=1,
|
||||
help='Writable size of flash device (1, 2, 4, or 8)')
|
||||
|
|
Loading…
Reference in New Issue