(self, target_config: Optional[CortexMTargetConfig] = None)
| 51 | |
| 52 | class CortexMRunPasses(RunPasses): |
| 53 | def __init__(self, target_config: Optional[CortexMTargetConfig] = None): |
| 54 | target_config = target_config or CortexMTargetConfig(cpu=CortexM.M55) |
| 55 | # The base RunPasses constructs the pass manager as `cls(ep, pass_list)`. |
| 56 | # Pre-bind the target_config so it flows through that 2-arg call. |
| 57 | super().__init__( |
| 58 | partial(CortexMPassManager, target_config=target_config), # type: ignore[arg-type] |
| 59 | CortexMPassManager.pass_list, # type: ignore[arg-type] |
| 60 | ) |
| 61 | |
| 62 | |
| 63 | class CortexMSerialize(Serialize): |
nothing calls this directly
no test coverage detected