/Zephyr-latest/tests/net/all/ |
D | check_net_options.sh | 19 build_dir="$1" 21 if [ ! -d $build_dir ]; then 22 echo "Directory $build_dir not found!" 26 kconfig_dir=$build_dir/rst/doc/reference/kconfig
|
/Zephyr-latest/tests/lib/devicetree/memory_region_flags/pytest/ |
D | test_memory_region_flags.py | 26 def verify_memory_region_flags(build_dir, label, expect): argument 29 linkercmd = os.path.join(build_dir, "zephyr", "linker.cmd") 33 os.path.join(build_dir, "zephyr", "zephyr.dts"), 64 verify_memory_region_flags(dut.device_config.build_dir, "test_region_r", r"\(\s*r\s*\)") 67 …verify_memory_region_flags(dut.device_config.build_dir, "test_region_nrwxail", r"\(\s*!rwxail\s*\)… 70 verify_memory_region_flags(dut.device_config.build_dir, "test_region_no_flags", r"\(\s*rw\s*\)") 73 verify_memory_region_flags(dut.device_config.build_dir, "test_region_none", r"")
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/ |
D | hardware_adapter_test.py | 19 build_dir = tmp_path / 'build_dir' 20 os.mkdir(build_dir) 23 build_dir=build_dir, 40 device.device_config.build_dir = Path('build') 48 device.device_config.build_dir = Path('build') 59 device.device_config.build_dir = Path('build') 70 device.device_config.build_dir = Path('build') 83 device.device_config.build_dir = Path('build') 96 device.device_config.build_dir = Path('build') 108 device.device_config.build_dir = Path('build') [all …]
|
D | qemu_adapter_test.py | 19 build_dir = tmp_path / 'build_dir' 20 os.mkdir(build_dir) 21 device = QemuAdapter(DeviceConfig(build_dir=build_dir, type='qemu', base_timeout=5.0)) 36 fifo_file_path = str(device.device_config.build_dir / 'qemu-fifo')
|
D | binary_adapter_test.py | 31 build_dir = tmp_path / 'build_dir' 32 os.mkdir(build_dir) 33 …device = NativeSimulatorAdapter(DeviceConfig(build_dir=build_dir, type='native', base_timeout=5.0)) 201 assert device.command == [str(device.device_config.build_dir / 'zephyr' / 'zephyr.exe')] 206 device = CustomSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='custom')) 214 device = CustomSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='custom')) 220 device = UnitSimulatorAdapter(DeviceConfig(build_dir=tmp_path, type='unit'))
|
/Zephyr-latest/scripts/west_commands/ |
D | run_common.py | 200 build_dir = get_build_dir(user_args) 202 rebuild(command, build_dir, user_args) 208 domains = [load_domains(build_dir).get_default_domain()] 212 domains = load_domains(build_dir).get_domains(user_args.domain) 214 domains = load_domains(build_dir).get_domains(user_args.domain, 227 if d.build_dir is None: 228 build_dir = get_build_dir(user_args) 230 build_dir = d.build_dir 232 cache = load_cmake_cache(build_dir, user_args) 233 build_conf = BuildConfiguration(build_dir) [all …]
|
D | build_helpers.py | 98 build_dir = dir 105 build_dir = default 107 build_dir = cwd 109 build_dir = default 110 log.dbg('build dir: {}'.format(build_dir), level=log.VERBOSE_EXTREME) 111 if build_dir: 112 return os.path.abspath(build_dir)
|
D | spdx.py | 55 self.dbg(f" --build-dir is", args.build_dir) 69 if not args.build_dir: 73 query_ready = setupCmakeQuery(args.build_dir) 81 if not args.build_dir: 86 cfg.buildDir = args.build_dir 97 cfg.spdxDir = os.path.join(args.build_dir, "spdx")
|
D | build.py | 82 self.build_dir = None 238 if is_zephyr_build(self.build_dir): 255 build_info_path = self.build_dir 277 self.domains = load_domains(self.build_dir) 439 self.cmake_cache = CMakeCache.from_build_dir(self.build_dir) 451 build_dir = find_build_dir(self.args.build_dir, board=board, 453 if not build_dir: 457 if os.path.exists(build_dir): 458 if not os.path.isdir(build_dir): 460 format(build_dir)) [all …]
|
D | sign.py | 158 build_dir = find_build_dir(args.build_dir) 159 self.check_force(os.path.isdir(build_dir), 160 'no such build directory {}'.format(build_dir)) 161 self.check_force(is_zephyr_build(build_dir), 163 'directory'.format(build_dir)) 164 build_conf = BuildConfiguration(build_dir) 176 format(build_dir)) 186 format(build_dir)) 205 signer.sign(self, build_dir, build_conf, formats) 215 def sign(self, command, build_dir, build_conf, formats): argument [all …]
|
D | flash.py | 31 build_dir = get_build_dir(my_args) 32 domains_file = Path(build_dir) / 'domains.yaml'
|
/Zephyr-latest/tests/boot/with_mcumgr/pytest/ |
D | test_upgrade.py | 18 def create_signed_image(build_dir: Path, app_build_dir: Path, version: str) -> Path: 19 image_to_test = Path(build_dir) / 'test_{}.signed.bin'.format( 22 Path(build_dir) / 'mcuboot' / 'zephyr' / '.config', 26 build_dir=Path(app_build_dir), 59 image_to_test = create_signed_image(dut.device_config.build_dir, 114 image_to_test = create_signed_image(dut.device_config.build_dir, 171 Path(dut.device_config.build_dir) / 'mcuboot' / 'zephyr' / '.config', 177 image_to_test = Path(dut.device_config.build_dir) / 'test_invalid_key.bin' 180 image_to_test = Path(dut.device_config.build_dir) / 'test_no_key.bin' 184 build_dir=Path(dut.device_config.app_build_dir),
|
D | west_sign_wrapper.py | 17 build_dir: Path, 28 '--build-dir', str(build_dir)
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/ |
D | conftest.py | 48 build_dir = tmp_path / 'build_dir' 49 os.mkdir(build_dir) 50 …device = NativeSimulatorAdapter(DeviceConfig(build_dir=build_dir, type='native', base_timeout=5.0))
|
D | plugin_test.py | 48 build_dir = tmp_path / 'build_dir' 49 os.mkdir(build_dir)
|
/Zephyr-latest/scripts/tests/build_helpers/ |
D | test_domains.py | 112 def mock_domain(name, build_dir, *args, **kwargs): argument 113 return name, build_dir 245 build_dir = 'build/dir' 247 domain = domains.Domain(name, build_dir) 250 assert domain.build_dir == build_dir 253 domain.build_dir = 'new/dir' 256 assert domain.build_dir == 'new/dir'
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/ |
D | twister_harness_config.py | 20 build_dir: Path 42 domains = self.build_dir / 'domains.yaml' 44 self.app_build_dir = self.build_dir / get_default_domain_name(domains) 46 self.app_build_dir = self.build_dir 68 build_dir=_cast_to_path(config.option.build_dir),
|
D | plugin.py | 149 if not config.option.build_dir: 151 if not os.path.isdir(config.option.build_dir): 159 config.option.build_dir = _normalize_path(config.option.build_dir)
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | mdb.py | 58 mdb_cfg_dir = path.join(mdb_runner.build_dir, '.sc.project') 96 mdb_runner.check_call(mdb_sub_cmd, cwd=mdb_runner.build_dir) 108 mdb_runner.call(mdb_cmd, cwd=mdb_runner.build_dir) 123 self.build_dir = cfg.build_dir 169 self.build_dir = cfg.build_dir
|
/Zephyr-latest/boards/ |
D | CMakeLists.txt | 8 set(build_dir boards/${ARCH}/${BOARD}) variable 10 unset(build_dir) 18 add_subdirectory(${BOARD_DIR} ${build_dir})
|
/Zephyr-latest/tests/subsys/logging/dictionary/pytest/ |
D | test_logging_dictionary.py | 23 def process_logs(dut: DeviceAdapter, build_dir): argument 36 dictionary_json = os.path.join(build_dir, "zephyr", "log_dictionary.json") 53 encoded_log_file = os.path.join(build_dir, "encoded.log") 157 build_dir = dut.device_config.app_build_dir 161 decoded_logs = process_logs(dut, build_dir)
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | application.py | 113 build_dir = ('build' + '/' + build_dir_append).rstrip('/') 141 'build_dir': build_dir, 194 build_dir = kwargs['build_dir'] 217 dst = f' -d {build_dir}' if build_dir != 'build' else '' 269 def _mkdir(mkdir, build_dir, host_os, skip_config): argument 279 build_dir = build_dir.replace('/', '\\') 298 build_dir = kwargs['build_dir'] 304 num_slashes = build_dir.count('/') 308 content.extend(self._mkdir(mkdir, build_dir, 'all', 326 content.extend(self._mkdir(mkdir, build_dir, host, skip_config)) [all …]
|
/Zephyr-latest/scripts/kconfig/ |
D | diffconfig | 89 build_dir="" 91 build_dir = os.environ["KBUILD_OUTPUT"]+"/" 92 configa_filename = build_dir + ".config.old" 93 configb_filename = build_dir + ".config"
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | testinstance.py | 71 self.build_dir = os.path.join(outdir, platform.normalized_name, testsuite.name) 76 self.build_dir = os.path.join( 103 filename = os.path.join(self.build_dir, fname_csv) 141 run_id_file = os.path.join(self.build_dir, "run_id.txt") 150 os.makedirs(self.build_dir, exist_ok=True) 248 handler.binary = os.path.join(self.build_dir, "testbinary") 331 subdir = os.path.join(self.build_dir, "twister") 395 build_dir = self.domains.get_default_domain().build_dir 397 build_dir = self.build_dir 399 fns = glob.glob(os.path.join(build_dir, "zephyr", "*.elf")) [all …]
|
/Zephyr-latest/tests/subsys/debug/gdbstub/pytest/ |
D | test_gdbstub.py | 22 build_dir = dut.device_config.build_dir 23 cmake_cache = CMakeCache.from_file(os.path.join(build_dir, 'CMakeCache.txt')) 30 gdb_log_file = os.path.join(build_dir, 'gdb.log')
|