Lines Matching full:path
14 from pathlib import Path
23 THIS_ZEPHYR = Path(__file__).parents[4] / 'zephyr'
24 ZEPHYR_BASE = Path(os.environ.get('ZEPHYR_BASE', THIS_ZEPHYR))
26 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts", "west_commands"))
46 esptool_path = os.path.join(module_path, 'components', 'esptool_py', 'esptool')
47 sys.path.insert(0, esptool_path)
66 def get_build_dir(path, die_if_none=True): argument
71 dir = find_build_dir(path, guess)
89 ret = Path(build_dir) / 'zephyr' / 'runners.yaml'
94 def load_runners_yaml(path): argument
98 with open(path, 'r') as f:
105 "this probably won't work".format(path))
114 build_dir = Path(build_dir) / domain.name
120 return Path(build_dir) / 'zephyr' / runners_yaml['config']['elf_file']
154 Path(os.getenv("ZEPHYR_BASE")).absolute()
162 log.die('cannot find espressif hal in $ZEPHYR_BASE/../modules/hal/ path')
171 elf_path = os.path.abspath(elf_path)
173 # get build elf file path
181 monitor_path = Path(module_path, "tools/idf_monitor.py")
182 cmd_path = Path(os.getcwd())