Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 193) sorted by relevance

12345678

/Zephyr-latest/scripts/west_commands/runners/
Dnrfjprog.py75 cmd.append('--pinresetenable')
77 cmd.append('--program')
78 cmd.append(_op['firmware']['file'])
81 cmd.append('--chiperase')
83 cmd.append('--sectorerase')
85 cmd.append('--sectoranduicrerase')
93 cmd.append('--qspisectorerase')
96 cmd.append('--verify')
98 cmd.append('--qspiini')
99 cmd.append(self.qspi_ini)
[all …]
Dintel_cyclonev.py57 search_args.append('-s')
58 search_args.append(support)
63 search_args.append('-s')
64 search_args.append(path.dirname(i))
216 self.cfg_cmd.append('-f')
217 self.cfg_cmd.append(i)
232 pre_init_cmd.append("-c")
233 pre_init_cmd.append(i)
234 pre_init_cmd.append("-q")
237 pre_init_cmd.append("-c")
[all …]
Ddediprog.py54 cmd_flash.append('--vcc')
55 cmd_flash.append(self.vcc)
58 cmd_flash.append('-x')
59 cmd_flash.append('ff')
61 cmd_flash.append('--silent')
62 cmd_flash.append('--verify')
Dopenocd.py77 search_args.append('-s')
78 search_args.append(support)
83 search_args.append('-s')
84 search_args.append(path.dirname(i))
244 self.cfg_cmd.append('-f')
245 self.cfg_cmd.append(i)
275 pre_init_cmd.append("-c")
276 pre_init_cmd.append(i)
279 pre_load_cmd.append("-c")
280 pre_load_cmd.append(i)
[all …]
Drenode.py55 cmd.append('--help')
59 cmd.append(arg)
62 cmd.append('-e')
63 cmd.append(command)
Drenode-robot.py54 cmd.append('--help')
58 cmd.append(arg)
61 cmd.append(suite)
Dminichlink.py78 cmd.append("-E")
87 cmd.append("-b")
90 cmd.append("-T")
/Zephyr-latest/scripts/build/
Dgen_image_info.py32 content.append(f'#ifndef {filename_we}_H')
33 content.append(f'#define {filename_we}_H')
34 content.append(f'')
35 content.append(f'#define SEGMENT_NUM {len(segments)}')
36 content.append(f'#define ADJUSTED_LMA {adjusted_lma}')
44 content.append(f'')
45 content.append(f'#define SEGMENT_LMA_ADDRESS_{idx} {hex_lma_addr}')
46 content.append(f'#define SEGMENT_VMA_ADDRESS_{idx} {hex_vma_addr}')
47 content.append(f'#define SEGMENT_SIZE_{idx} {hex_size}')
49 content.append(f'')
[all …]
Dgen_syscalls.py262 valist_args.append("parm%d.val" % argnum)
264 mrsh_args.append("parm%d.split.lo" % argnum)
265 mrsh_args.append("parm%d.split.hi" % argnum)
267 mrsh_args.append("parm%d.x" % argnum)
270 mrsh_args.append("(uintptr_t)&ret64")
349 vrfy_parms.append((argtype, split))
469 types64.append(t)
490 invocations[fn].append(inv)
491 handlers.append(handler)
494 ids_emit.append(sys_id)
[all …]
Dgen_device_deps.py84 lines.append(' * Direct Dependencies:')
86 lines.append(' * - {:s}'.format(dev_path_str(dep)))
88 lines.append(' * Injected Dependencies:')
90 lines.append(' * - {:s}'.format(dev_path_str(dep)))
92 lines.append(' * Supported:')
94 lines.append(' * - {:s}'.format(dev_path_str(sup)))
95 lines.append(' */')
Dgen_cfb_font_header.py45 packed.append(value)
46 glyph.append(packed)
58 packed.append(value)
59 glyph.append(packed)
64 bits.append(value)
139 caps.append('MONO_HPACKED')
141 caps.append('MONO_VPACKED')
143 caps.append('MSB_FIRST')
154 clean_cmd.append(arg[striplen:])
158 clean_cmd.append(arg.replace(args.zephyr_base, '"${ZEPHYR_BASE}"'))
[all …]
Dsubfolder_list.py51 dirlist.append(symlink)
53 dirlist.append(directory)
65 dirlist.append(symlink)
67 dirlist.append(os.path.join(root, subdir))
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_augmentation.py49 new_data.append(data)
50 new_label.append(label)
53 new_data.append((np.array(data, dtype=np.float32) +
55 new_label.append(label)
62 new_data.append(tmp_data)
63 new_label.append(label)
67 new_data.append(time_wrapping(molecule, denominator, data))
68 new_label.append(label)
71 new_data.append(
73 new_label.append(label)
Ddata_prepare.py58 data.append(data_new)
64 data_new[DATA_NAME].append([float(i) for i in line[0:3]])
65 data.append(data_new)
76 data.append(data_new)
82 data_new[DATA_NAME].append([float(i) for i in line[0:3]])
83 data.append(data_new)
103 dic[DATA_NAME].append([
108 data.append(dic)
118 dic[DATA_NAME].append([(random.random() - 0.5) * 1000,
121 data.append(dic)
[all …]
Ddata_split.py46 data.append(dic)
73 train_data.append(item)
76 valid_data.append(item)
79 test_data.append(item)
Ddata_split_person.py50 train_data.append(data)
52 valid_data.append(data)
54 test_data.append(data)
/Zephyr-latest/doc/_extensions/zephyr/
Dapplication.py156 content.append(paragraph)
157 content.append(self._lit_block(w))
167 content.append(paragraph)
168 content.append(self._lit_block(c))
226 content.append(in_tree)
229 content.append(f'cd {app}')
241 content.append(
250 content.append(f'west sign{dst}')
256 content.append(f'west flash{flash_args}{dst}')
258 content.append(f'west debug{dst}')
[all …]
/Zephyr-latest/scripts/dts/
Dgen_dts_cmake.py106 cmake_props.append(f'"DT_CHOSEN|{node}" "{path}"')
113 cmake_props.append(f'"DT_ALIAS|{alias}" "{path}"')
117 cmake_props.append(f'"DT_NODE|{node.path}" TRUE')
120 cmake_props.append(f'"DT_NODELABEL|{label}" "{node.path}"')
136 cmake_props.append(f'"{cmake_prop}" "{escape(cmake_value)}"')
141 compatible2paths[comp].append(node.path)
144 cmake_props.append(f'"DT_REG|{node.path}|NUM" "{len(node.regs)}"')
159 cmake_props.append(f'"DT_REG|{node.path}|ADDR" "{cmake_addr}"')
160 cmake_props.append(f'"DT_REG|{node.path}|SIZE" "{cmake_size}"')
171 cmake_props.append(f'"{cmake_comp}" "{cmake_path}"')
Dgen_defines.py244 idents.append(f"N_INST_{instance_no}_{str2ident(compat)}")
302 idx_vals.append((f"{path_id}_RANGES_NUM", len(node.ranges)))
305 idx_vals.append((f"{path_id}_RANGES_IDX_{i}_EXISTS", 1))
308 idx_vals.append((f"{path_id}_RANGES_IDX_{i}_VAL_CHILD_BUS_FLAGS_EXISTS", 1))
311 idx_vals.append((idx_macro,
319 idx_vals.append((idx_macro,
323 idx_vals.append((idx_macro,
327 idx_vals.append((idx_macro,
347 idx_vals.append((f"{path_id}_REG_NUM", len(node.regs)))
350 idx_vals.append((f"{path_id}_REG_IDX_{i}_EXISTS", 1))
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Dhardware_adapter.py39 self._log_files.append(self.device_log_path)
60 command.append('--')
71 extra_args.append(param)
74 extra_args.append('--board-id')
75 extra_args.append(board_id)
77 extra_args.append('--dev-id')
78 extra_args.append(board_id)
80 extra_args.append('--cmd-pre-init')
81 extra_args.append(f'hla_serial {board_id}')
83 extra_args.append('--cmd-pre-init')
[all …]
/Zephyr-latest/scripts/west_commands/zspdx/
Dcmakefileapijson.py78 cm.configurations.append(cfg)
110 cfg.directories.append(cfgdir)
122 cfg.projects.append(prj)
140 cfg.configTargets.append(cfgTarget)
170 target.artifacts.append(artifact_path)
221 target.install_destinations.append(dest)
237 target.link_commandFragments.append(fragment)
250 target.archive_commandFragments.append(fragment)
258 target.dependencies.append(dep)
269 target.sources.append(src)
[all …]
/Zephyr-latest/scripts/ci/coverage/
Dcoverage_analysis.py103 test_suite['test_cases'].append(test_case)
104 test_suite['platforms'].append(testsuite['platform'])
105 sub_component["test_suites"].append(test_suite)
106 component['sub_components'].append(sub_component)
107 self.json_object['components'].append(component)
145 test_suite['test_cases'].append(test_case)
146 test_suite['platforms'].append(testsuite['platform'])
147 sub_component["test_suites"].append(test_suite)
148 component['sub_components'].append(sub_component)
182 test_suite['test_cases'].append(test_case)
[all …]
/Zephyr-latest/doc/_extensions/zephyr/kconfig/
D__init__.py174 self.body.append(node.html())
179 self.body.append("Kconfig search is only available on HTML output")
314 alt_defaults.append([fmt, node.filename])
325 selected_by.append(f"CONFIG_{sym.name}")
331 implied_by.append(f"CONFIG_{sym.name}")
343 inserted_paths.append(path)
354 defaults.append(fmt)
361 selects.append(fmt)
368 implies.append(fmt)
378 ranges.append(fmt)
[all …]
/Zephyr-latest/scripts/tests/build/
Dtest_subfolder_list.py26 dir_names.append(os.path.join(os.getcwd(), name))
58 expect_links.append("%s_%s%d" % (dirs_dir, DIR_NAME_PREFIX, i))
60 expect_links.append("%s_%s%d_%s%d" % (
82 dirs.append(f"{DIR_NAME_PREFIX}{sfx}")
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dharness.py135 self.recording.append(rec)
200 command.append(f'{v}')
203 command.append(f'{v}')
210 command.append(os.path.join(handler.sourcedir, suite))
212 command.append(os.path.join(handler.sourcedir, self.path))
269 self.patterns.append(re.compile(r))
400 command.append(f'--dut-scope={pytest_dut_scope}')
410 command.append(f'--base-timeout={base_timeout}')
417 command.append(f'--device-type={handler.type_str}')
419 command.append('--device-type=custom')
[all …]

12345678