Lines Matching +full:flash +full:- +full:specific
3 # SPDX-License-Identifier: Apache-2.0
5 """WCH CH32V00x specific runner."""
37 def capabilities(cls) -> RunnerCaps:
38 return RunnerCaps(commands={"flash"}, flash_addr=True, erase=True, reset=True)
43 "--minichlink", default="minichlink", help="path to the minichlink binary"
46 "--terminal",
49 help="open the terminal after flashing. Implies --reset.",
67 if command == "flash":
68 self.flash()
72 def flash(self): member in MiniChLinkBinaryRunner
75 cmd = [self.minichlink, "-a"]
78 cmd.append("-E")
84 cmd.extend(["-w", self.cfg.bin_file or "", f"0x{flash_addr:x}"])
87 cmd.append("-b")
90 cmd.append("-T")