| 235 | |
| 236 | |
| 237 | class PMPClient(StandardASC, AOPBase): |
| 238 | ENDPOINTS = {0x20: PMPEp} |
| 239 | def __init__(self, u, dev_path, dart=None): |
| 240 | node = u.adt[dev_path] |
| 241 | asc_base = node.get_reg(0)[0] |
| 242 | AOPBase.__init__(self, u) |
| 243 | super().__init__(u, asc_base, dart) |
| 244 | self.dart = dart |
| 245 | |
| 246 | if u.adt['/arm-io'].compatible[0].startswith('arm-io,t8103'): |
| 247 | print("you have a pmp v1, this script is for v2 only") |