Home
last modified time | relevance | path

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

12345

/Zephyr-Core-2.7.6/boards/xtensa/intel_s1000_crb/support/
Dcreate_board_img.py60 flash_content.append(value)
63 flash_content.append(value)
106 flash_content.append(msg_header)
107 flash_content.append(ext_header)
108 flash_content.append(load_address)
109 flash_content.append(fw_offset)
110 flash_content.append(fw_size)
119 flash_content.append(msg_header)
120 flash_content.append(ext_header)
121 flash_content.append(address)
[all …]
/Zephyr-Core-2.7.6/doc/_extensions/zephyr/
Dapplication.py199 content.append(paragraph)
200 content.append(self._lit_block(w))
210 content.append(paragraph)
211 content.append(self._lit_block(c))
251 content.append(in_tree)
254 content.append('cd {}'.format(app))
266 content.append('west build -b {}{}{}{}'.
273 content.append('west sign{}'.format(dst))
279 content.append('west flash{}'.format(dst))
281 content.append('west debug{}'.format(dst))
[all …]
/Zephyr-Core-2.7.6/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)
Ddata_load.py58 data.append(dic[DATA_NAME])
59 label.append(dic[LABEL_NAME])
74 padded_data.append(tmp_data)
78 padded_data.append(tmp_data)
/Zephyr-Core-2.7.6/scripts/dts/
Dgen_dts_cmake.py47 sys.path.append(os.path.join(os.path.dirname(__file__), 'python-devicetree',
88 cmake_props.append(f'"DT_CHOSEN|{node}" "{path}"')
91 cmake_props.append(f'"DT_NODE|{node.path}" TRUE')
94 cmake_props.append(f'"DT_NODELABEL|{label}" "{node.path}"')
110 cmake_props.append(f'"{cmake_prop}" "{cmake_value}"')
113 cmake_props.append(f'"DT_REG|{node.path}|NUM" "{len(node.regs)}"')
128 cmake_props.append(f'"DT_REG|{node.path}|ADDR" "{cmake_addr}"')
129 cmake_props.append(f'"DT_REG|{node.path}|SIZE" "{cmake_size}"')
Dgen_defines.py30 sys.path.append(os.path.join(os.path.dirname(__file__), 'python-devicetree',
321 idents.append(f"N_INST_{instance_no}_{str2ident(compat)}")
377 idx_vals.append((f"{path_id}_REG_NUM", len(node.regs)))
380 idx_vals.append((f"{path_id}_REG_IDX_{i}_EXISTS", 1))
383 idx_vals.append((idx_macro,
387 name_vals.append((name_macro, f"DT_{idx_macro}"))
391 idx_vals.append((idx_macro,
395 name_vals.append((name_macro, f"DT_{idx_macro}"))
443 idx_vals.append((f"{path_id}_IRQ_NUM", len(node.interrupts)))
454 idx_vals.append((f"{path_id}_IRQ_IDX_{i}_EXISTS", 1))
[all …]
/Zephyr-Core-2.7.6/scripts/west_commands/runners/
Dopenocd.py47 search_args.append('-s')
48 search_args.append(path.dirname(i))
177 self.cfg_cmd.append('-f')
178 self.cfg_cmd.append(i)
208 pre_init_cmd.append("-c")
209 pre_init_cmd.append(i)
212 pre_load_cmd.append("-c")
213 pre_load_cmd.append(i)
216 post_verify_cmd.append("-c")
217 post_verify_cmd.append(i)
[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')
Djlink.py257 lines.append('erase') # Erase all flash sectors
275 lines.append(flash_cmd)
278 lines.append('r') # Reset and halt the target
280 lines.append('g') # Start the CPU
288 lines.append('writeDP 1 0')
289 lines.append('readDP 1')
291 lines.append('q') # Close the connection and quit
/Zephyr-Core-2.7.6/scripts/tests/twister/
Dtest_reporting_testsuite.py62 mydict["test"].append(instance.testcase.name)
63 mydict["arch"].append(instance.platform.arch)
64 mydict["platform"].append(instance.platform.name)
66 mydict["status"].append(instance_status)
68 mydict["extra_args"].append(args)
69 mydict["handler"].append(instance.platform.simulation)
70 mydict["handler_time"].append(instance.metrics.get("handler_time", ""))
71 mydict["ram_size"].append(instance.metrics.get("ram_size", '0'))
72 mydict["rom_size"].append(instance.metrics.get("rom_size", '0'))
79 columns[key].append(value)
[all …]
/Zephyr-Core-2.7.6/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 …]
Dwalker.py164 self.pendingRelationships.append(rd)
195 self.pendingRelationships.append(rd)
222 self.pendingRelationships.append(rd)
250 self.pendingRelationships.append(rd)
351 self.pendingSources.append(srcAbspath)
362 self.pendingRelationships.append(rd)
377 self.pendingSources.append(inc)
388 self.pendingRelationships.append(rd)
438 self.pendingRelationships.append(rd)
471 self.pendingRelationships.append(rd)
[all …]
/Zephyr-Core-2.7.6/scripts/
Dgen_cfb_font_header.py45 packed.append(value)
46 glyph.append(packed)
58 packed.append(value)
59 glyph.append(packed)
64 bits.append(value)
128 caps.append('MONO_HPACKED')
130 caps.append('MONO_VPACKED')
132 caps.append('MSB_FIRST')
143 clean_cmd.append(arg[striplen:])
147 clean_cmd.append(arg.replace(args.zephyr_base, '"${ZEPHYR_BASE}"'))
[all …]
Dgen_syscalls.py169 valist_args.append("parm%d.val" % argnum)
171 mrsh_args.append("parm%d.split.lo" % argnum)
172 mrsh_args.append("parm%d.split.hi" % argnum)
174 mrsh_args.append("parm%d.x" % argnum)
177 mrsh_args.append("(uintptr_t)&ret64")
239 vrfy_parms.append((argtype, split))
351 types64.append(t)
369 invocations[fn].append(inv)
370 ids.append(sys_id)
371 table_entries.append(entry)
[all …]
Dsubfolder_list.py50 dirlist.append(symlink)
52 dirlist.append(directory)
64 dirlist.append(symlink)
66 dirlist.append(os.path.join(root, subdir))
Dgen_handles.py42 sys.path.append(os.path.join(os.path.dirname(__file__),
197 devices.append(Device(elf, ld_constants, sym, addr))
206 handles.append(Handles(sym, addr, hdls, node))
257 deps.append(h)
300 dep_paths.append(dn.path)
302 dep_paths.append('(%s)' % dn.path)
306 hdls.append(DEVICE_HANDLE_SEP)
321 hdls.append(DEVICE_HANDLE_ENDS)
331 lines.append(' * - %s' % ('\n * - '.join(dep_paths)))
333 lines.append(' * + %s' % ('\n * + '.join(ext_paths)))
Duf2conv.py98 outp.append(block[32 : 32 + datalen])
132 outp.append(block)
166 rec.append(int(line[i:i+2], 16))
184 blocks.append(currblock)
206 drives.append(words[0])
216 drives.append(os.path.join(rootpath, d))
/Zephyr-Core-2.7.6/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-Core-2.7.6/scripts/release/
Dbug_bash.py85 rev_tally[score].append(user)
103 top_ten.append(tuple([score, user]))
144 self._pulls.append(pr)
145 self._issues.append(i)
/Zephyr-Core-2.7.6/scripts/footprint/
Dsize_report154 rom_syms[sym.name].append(entry)
161 ram_syms[sym.name].append(entry)
191 ram_addr_ranges.append(bound)
198 rom_addr_ranges.append(bound)
203 rom_addr_ranges.append(bound)
206 ram_addr_ranges.append(bound)
210 rom_addr_ranges.append(bound)
521 paths.append(file)
609 path_node_map.append(
647 children.append(node_output_dir)
[all …]
/Zephyr-Core-2.7.6/doc/
Dconf.py89 extensions.append("sphinxcontrib.rsvgconverter")
96 exclude_patterns.append("**/*west-apis*")
98 exclude_patterns.append("**/*west-not-found*")
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/
Dgrutils.py103 self.__stack.append(v)
115 scc.append(self.__stack.pop())
118 self.__scc_order.append(scc)

12345