Home
last modified time | relevance | path

Searched refs:args (Results 1 – 6 of 6) sorted by relevance

/mcuboot-2.7.6/ci/
Dcompare_versions.py28 args = parser.parse_args() variable
29 if args.old is None or args.new is None:
33 old, new = parse(args.old), parse(args.new)
Dget_features.py24 args = parser.parse_args() variable
25 if not os.path.isfile(args.infile):
30 cargo_toml = open(args.infile).read()
32 print("Error reading \"{}\"".format(args.infile))
/mcuboot-2.7.6/scripts/
Dassemble.py120 args = parser.parse_args()
122 zephyr_base = args.zephyr_base
133 board = find_board_name(args.bootdir)
135 dts_path = os.path.join(args.bootdir, "zephyr", board + ".dts.pre.tmp")
140 output = Assembly(args.output, args.bootdir, edt)
142 output.add_image(os.path.join(args.bootdir, 'zephyr', 'zephyr.bin'), 'mcuboot')
143 output.add_image(args.primary, "image-0")
144 if args.secondary is not None:
145 output.add_image(args.secondary, "image-1")
/mcuboot-2.7.6/ci/fih_test_docker/
Ddamage_image.py139 def damage_image(args, in_file, out_file_content, image_offset): argument
180 if is_valid_signature(tlv) and args.signature:
182 elif tlv.it_type == TLV_VALUES['SHA256'] and args.image_hash:
189 args = get_arguments()
193 copyfile(args.in_file, args.out_file)
194 in_file = open(args.in_file, 'rb')
198 damage_image(args, in_file, out_file_content, 0)
202 file_to_damage = open(args.out_file, 'wb')
Dgenerate_test_report.py76 args = parser.parse_args()
78 with open(args.filename) as output_yaml_file:
/mcuboot-2.7.6/sim/src/
Dlib.rs129 let args: Args = Docopt::new(USAGE) in main() localVariable
134 if args.cmd_sizes { in main()
140 if args.cmd_run { in main()
142 let align = args.flag_align.map(|x| x.0).unwrap_or(1); in main()
145 let device = match args.flag_device { in main()
153 if args.cmd_runall { in main()