/Zephyr-latest/scripts/west_commands/zspdx/ |
D | cmakefileapijson.py | 21 reply_dict = js.get("reply", {}) 26 cm_dict = reply_dict.get("codemodel-v2", {}) 31 jsonFile = cm_dict.get("jsonFile", "") 55 kind = js.get("kind", "") 59 version = js.get("version", {}) 60 versionMajor = version.get("major", -1) 69 paths_dict = js.get("paths", {}) 70 cm.paths_source = paths_dict.get("source", "") 71 cm.paths_build = paths_dict.get("build", "") 74 configs_arr = js.get("configurations", []) [all …]
|
D | walker.py | 147 self.compilerPath = self.cmakeCache.get("CMAKE_C_COMPILER", "") 148 self.sdkPath = self.cmakeCache.get("ZEPHYR_SDK_INSTALL_DIR", "") 149 self.metaFile = self.cmakeCache.get("KERNEL_META_PATH", "") 243 zephyr_url = zephyr.get("remote", "") 247 if zephyr.get("revision"): 248 cfgPackageZephyr.revision = zephyr.get("revision") 251 zephyr_tags = zephyr.get("tags", "") 275 module_name = module.get("name", None) 276 module_path = module.get("path", None) 277 module_url = module.get("remote", None) [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | platform.py | 28 self.exec = data.get("exec") 101 variants = data.get("variants", {}) 104 variant_data = variants.get(alias, {}) 109 self.sysbuild = variant_data.get("sysbuild", data.get("sysbuild", self.sysbuild)) 110 self.twister = variant_data.get("twister", data.get("twister", self.twister)) 113 self.ram = variant_data.get("ram", data.get("ram", self.ram)) 115 self.flash = variant_data.get("flash", data.get("flash", self.flash)) 117 testing = variant_data.get("testing", data.get("testing", {})) 118 self.timeout_multiplier = testing.get("timeout_multiplier", self.timeout_multiplier) 119 self.ignore_tags = testing.get("ignore_tags", self.ignore_tags) [all …]
|
D | config_parser.py | 206 extracted_common.get("CONF_FILE", []) + \ 207 self.common.get("extra_conf_files", []) + \ 208 extracted_testsuite.get("CONF_FILE", []) + \ 209 self.scenarios[name].get("extra_conf_files", []) 213 extracted_common.get("OVERLAY_CONFIG", []) + \ 214 self.common.get("extra_overlay_confs", []) + \ 215 extracted_testsuite.get("OVERLAY_CONFIG", []) + \ 216 self.scenarios[name].get("extra_overlay_confs", []) 219 extracted_common.get("DTC_OVERLAY_FILE", []) + \ 220 self.common.get("extra_dtc_overlay_files", []) + \ [all …]
|
D | reports.py | 140 env = json_data.get('environment', {}) 141 version = env.get('zephyr_version', None) 144 all_suites = json_data.get("testsuites", []) 150 filter(lambda d: TwisterStatus(d.get('status')) != TwisterStatus.FILTER, all_suites) 156 name=suite.get("name"), time="0", 165 ET.SubElement(eleTSPropetries, 'property', name="platform", value=suite.get("platform")) 166 ET.SubElement(eleTSPropetries, 'property', name="architecture", value=suite.get("arch")) 170 handler_time = suite.get('execution_time', 0) 171 runnable = suite.get('runnable', 0) 173 ts_status = TwisterStatus(suite.get('status')) [all …]
|
D | hardwaremap.py | 268 pre_script = dut.get('pre_script') 269 script_param = dut.get('script_param') 270 post_script = dut.get('post_script') 271 post_flash_script = dut.get('post_flash_script') 272 flash_timeout = dut.get('flash_timeout') or self.options.device_flash_timeout 273 flash_with_test = dut.get('flash_with_test') 276 serial_pty = dut.get('serial_pty') 277 flash_before = dut.get('flash_before') 280 platform = dut.get('platform') 287 id = dut.get('id') [all …]
|
/Zephyr-latest/scripts/tracing/ |
D | parse_ctf.py | 52 if t.get('name', None) == name and t.get('in', 0 ) != 0 and not t.get('out', None): 82 cpu = event.payload_field.get("cpu", None) 83 thread_id = event.payload_field.get("thread_id", None) 84 thread_name = event.payload_field.get("name", None) 111 tin = th.get('in', None) 112 tout = th.get('out', None)
|
/Zephyr-latest/scripts/ |
D | list_hardware.py | 50 for f in data.get('family', []): 52 for s in f.get('series', []): 55 [c['name'] for c in soc.get('cpuclusters', [])], 57 for soc in s.get('socs', [])] 64 [c['name'] for c in soc.get('cpuclusters', [])], 66 for soc in f.get('socs', [])] 70 for s in data.get('series', []): 73 [c['name'] for c in soc.get('cpuclusters', [])], 75 for soc in s.get('socs', [])] 80 for soc in data.get('socs', []): [all …]
|
D | zephyr_module.py | 219 meta['name'] = meta.get('name', module_path.name) 233 section = meta.get('build', dict()) 237 cmake_extern = section.get('cmake-ext', False) 244 cmake_setting = section.get('cmake', None) 264 section = meta.get('build', dict()) 268 cmake_extern = section.get('sysbuild-cmake-ext', False) 275 cmake_setting = section.get('sysbuild-cmake', None) 298 section = meta.get('build', dict()) 299 build_settings = section.get('settings', None) 304 setting = build_settings.get(root+'_root', None) [all …]
|
D | list_boards.py | 47 for r in revision.get('revisions', []): 60 for v in variant.get('variants', []): 243 board_array = b.get('boards', [b.get('board', None)]) 262 board_revision = board.get('revision') 263 if board_revision is not None and board_revision.get('format') != 'custom': 264 if board_revision.get('default') is None: 267 if board_revision.get('revisions') is None: 275 socs = [Soc.from_soc(systems.get_soc(s['name']), s.get('variants', [])) 276 for s in board.get('socs', {})] 281 vendor=board.get('vendor'), [all …]
|
D | get_maintainer.py | 189 area.status = area_dict.get("status") 190 area.maintainers = area_dict.get("maintainers", []) 191 area.collaborators = area_dict.get("collaborators", []) 192 area.inform = area_dict.get("inform", []) 193 area.labels = area_dict.get("labels", []) 194 area.tests = area_dict.get("tests", []) 195 area.tags = area_dict.get("tags", []) 196 area.description = area_dict.get("description") 201 _get_match_fn(area_dict.get("files"), 202 area_dict.get("files-regex")) [all …]
|
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/ |
D | saleae_logic2.py | 76 device_id = options.get('device-id') 77 address = str(options.get('address')) 78 port = int(options.get('port')) 79 channel = int(options.get('channel')) 80 sample_rate = int(options.get('sample-rate')) 81 threshold_volts = float(options.get('threshold-volts'))
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | application.py | 60 tool = self.options.get('tool', 'west').lower() 61 app = self.options.get('app', None) 62 zephyr_app = self.options.get('zephyr-app', None) 64 generator = self.options.get('generator', 'ninja').lower() 65 host_os = self.options.get('host-os', 'all').lower() 66 board = self.options.get('board', None) 67 shield = self.options.get('shield', None) 68 conf = self.options.get('conf', None) 69 gen_args = self.options.get('gen-args', None) 70 build_args = self.options.get('build-args', None) [all …]
|
D | doxybridge.py | 67 if node.get("refdomain") != "c": 70 reftype = node.get("reftype") 76 entry = self.app.env.doxybridge_cache.get(reftype) 80 reftarget = node.get("reftarget").replace(".", "::").rstrip("()") 81 id = entry.get(reftarget) 85 id = self.app.env.doxybridge_cache.get("macro").get(reftarget) 99 doc_dir = os.path.dirname(self.document.get("source")) 112 title = self.app.env.doxybridge_group_titles.get(reftarget, "group") 122 kind = KIND_D2S.get(memberdef.get_kind())
|
/Zephyr-latest/arch/xtensa/core/ |
D | gen_zsr.py | 43 def get(s): function 53 regs = [ f"MISC{n}" for n in range(0, int(get("XCHAL_NUM_MISC_REGS"))) ] 59 have_threadptr = int(get("XCHAL_HAVE_THREADPTR")) 65 for il in range(1, 1 + int(get("XCHAL_NUM_INTLEVELS"))): 67 if il != int(get("XCHAL_DEBUGLEVEL")):
|
/Zephyr-latest/scripts/ci/ |
D | version_mgr.py | 70 is_weekly = item_compat.get('weekly', False) 78 if item_compat.get('date'): 93 ver = item_compat.get("version") 94 date = item_compat.get("date", False) 95 is_weekly = item_compat.get('weekly') 121 item.get('version') == version) or item == version, data))
|
/Zephyr-latest/samples/sensor/sensor_shell/ |
D | README.rst | 9 This is a simple shell module to get data from sensors presented in the system. 37 get :Get sensor data. Channel names are optional. All channels are read when 43 **get**: prints all the sensor channels data for a given sensor device name. 51 uart:~$ sensor get mma8652fc@1d 57 uart:~$ sensor get mma8652fc@1d accel_z 60 uart:~$ sensor get mma8652fc@1d 2 64 A valid sensor device name should be passed otherwise you will get an
|
/Zephyr-latest/scripts/west_commands/ |
D | packages.py | 112 module_names = [m.meta.get("name") for m in self.zephyr_modules] 131 module_name = module.meta.get("name") 138 pip = module.meta.get("package-managers", {}).get("pip") 145 requirements += [Path(module.project) / r for r in pip.get("requirement-files", [])]
|
D | shields.py | 76 board_root = module.meta.get('build', {}).get('settings', {}).get('board_root')
|
D | build.py | 59 return config.get('build', option, fallback=fallback) 284 board, origin = (self.cmake_cache.get('CACHED_BOARD'), 330 common = y.get('common') 331 tests = y.get('tests') 336 item = tests.get(test_item) 346 sysbuild = section.get('sysbuild', sysbuild) 355 extra = section.get(data) 476 source_dir = self.cmake_cache.get('APP_DIR') 479 source_dir = self.cmake_cache.get('APPLICATION_SOURCE_DIR') 482 source_dir = self.cmake_cache.get('CMAKE_HOME_DIRECTORY') [all …]
|
D | zephyr_ext_common.py | 20 ZEPHYR_BASE = Path(os.environ.get('ZEPHYR_BASE', THIS_ZEPHYR)) 50 unparsed = self.config.get(section_key)
|
/Zephyr-latest/doc/_scripts/ |
D | gen_boards_catalog.py | 65 root = module.meta.get("build", {}).get("settings", {}).get(key) 90 elif vnd_lookup.vnd2vendor.get(folder.name): 102 archs.add(board_data.get("arch"))
|
/Zephyr-latest/scripts/footprint/ |
D | compare_footprint | 46 cwd=os.environ.get('ZEPHYR_BASE'), shell=True) 54 log_lev = os.environ.get('LOG_LEVEL', None) 87 cwd=os.environ.get('ZEPHYR_BASE'), shell=True) 92 def sanity_results_filename(commit=None, cwd=os.environ.get('ZEPHYR_BASE')): 103 def git_checkout(commit, cwd=os.environ.get('ZEPHYR_BASE')): 119 def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'), 143 cmd = "git clone --no-hardlinks %s" % os.environ.get('ZEPHYR_BASE') 145 os.path.basename(os.environ.get('ZEPHYR_BASE'))) 177 cwd=os.environ.get('ZEPHYR_BASE'), shell=True)
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | heartbeat.h | 130 void bt_mesh_hb_pub_get(struct bt_mesh_hb_pub *get); 136 void bt_mesh_hb_sub_get(struct bt_mesh_hb_sub *get);
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | test_nosec.py | 31 assert leshan.get(f'/clients/{endpoint_nosec}') 38 status = leshan.get(f'/clients/{endpoint_nosec}')
|