Lines Matching full:bin
1 #!/usr/bin/env python
84 bins = [('0x1000', '1.bin'), ('0x8000', '2.bin'), ('0x10000', '3.bin')]
87 self.common_test(json_input=f.name, output_to_compare='1/dfu.bin')
91 self.common_test(file_args=[(0x1000, '1/1.bin'),
92 (0x8000, '1/2.bin'),
93 (0x10000, '1/3.bin')],
94 output_to_compare='1/dfu.bin')
105 shutil.copyfile(os.path.join(current_dir, '1', '1.bin'), bootloader)
108 (0x8000, os.path.join(current_dir, '1', '2.bin')),
109 (0x10000, os.path.join(current_dir, '1', '3.bin'))])
116 "2/dfu.bin" was prepared with:
117 mkdfu.py write --part-size 5 --pid 2 -o 2/dfu.bin 0 bin
118 where the content of "bin" is b"\xce" * 10
124 with open(os.path.join(temp_dir, 'bin'), 'wb') as f:
130 output_to_compare='2/dfu.bin')