Lines Matching +full:license +full:- +full:path
3 SPDX-License-Identifier: Apache-2.0
10 'python3 update_stm32_package.py -s <stm32_serie>'
19 from pathlib import Path
26 "-s",
27 "--stm32_serie",
34 "-c",
35 "--noclean",
41 "-r",
42 "--repo",
44 help="Allows to provide path where STM32Cube repo are stored",
47 "-v",
48 "--version",
54 "-d",
55 "--debug",
62 SCRIPT_DIR = Path(__file__).absolute().parent
83 stmyyxx.name[:-2],
96 repo_path = Path(args.repo)
98 repo_path = Path(os.getenv("HOME")) / "STM32Cube_repo"
116 logging.info("%s", "Add option --noclean")
121 ("git", "status", "-s"),
124 # status = [x.decode("utf-8") for x in git_status]
126 if not status.decode("utf-8").startswith("?") and not status.decode(
127 "utf-8"
133 + "\n is not clean:\n git status -s:"
134 + status.decode("utf-8"),
177 commit.write("Re - generate common_ll headers after Cube updates\n")
180 ("git", "commit", "-as", "-F", commit_file_path),
185 ("git", "rebase", "--whitespace=fix", "HEAD~1"),
190 Path(commit_file_path).unlink()