Lines Matching refs:f
74 f"Error: Unknown stm32 serie: {stm32_serie}. Must start with 'stm32'"
86 self.module_patch = f"module_{self.stm32_serie}.patch"
143 logging.debug("%s", f"{str(cmd)} cwd:{str(cwd)}")
219 logging.info("%s", f"Branch used: {branch}")
244 with open(str(self.readme_file_path), "r") as f:
245 for line in f:
265 f"Error: cannot find version {previous_version} in STM32Cube_repo"
427 readme_file.write(f" version {make_version}\n")
431 readme_file.write(f" {make_commit}")
437 + f"STM32Cube{self.serie}\n"
450 readme_file.write(f"{LineItem}\n")
488 f"zephyr_library_sources(soc/system_{self.stm32_seriexx}.c)\n"
491 f"zephyr_library_sources(drivers/src/{self.stm32_seriexx}_hal.c)\n"
494 f"zephyr_library_sources(drivers/src/{self.stm32_seriexx}_hal_rcc.c)\n"
498 + f"{self.stm32_seriexx}_hal_rcc_ex.c)\n"
678 commit.write(f"from version {self.current_version}\n")
679 commit.write(f"to version {self.version_update}\n")
692 reject_files = [f for f in self.zephyr_module_serie_path.glob("**/*.rej")]
694 for f in reject_files:
695 f.unlink()
735 f"Version {self.current_version} is the current zephyr version for "
745 f"*** Update abandoned: identical versions {self.version_update} ***\n",
750 f"*** Updating zephyr {self.stm32_serie} "
751 + f"from version {self.current_version} to {self.version_update}"
795 logging.info("%s", f"Done {self.stm32_serie}\n")