Lines Matching +full:zephyr +full:- +full:based
2 Utility script to migrate Zephyr-based projects to the new <zephyr/...> include
6 The script will also migrate <zephyr.h> or <zephyr/zephyr.h> to
7 <zephyr/kernel.h>.
12 -p path/to/zephyr-based-project
15 SPDX-License-Identifier: Apache-2.0
44 if m and m.group(2) in ("zephyr.h", "zephyr/zephyr.h"):
47 + "#include <zephyr/kernel.h>"
54 and not m.group(2).startswith("zephyr/")
55 and (ZEPHYR_BASE / "include" / "zephyr" / m.group(2)).exists()
59 + "#include <zephyr/"
79 "-p", "--project", type=Path, required=True, help="Zephyr-based project path"
81 parser.add_argument("--dry-run", action="store_true", help="Dry run")