Mercurial > lcfOS
diff python/stlink.py @ 138:14e739ed03ab
Added halt stub
author | Windel Bouwman |
---|---|
date | Sat, 26 Jan 2013 10:04:32 +0100 |
parents | 205578c96a79 |
children | 1cc59ac80950 |
line wrap: on
line diff
--- a/python/stlink.py Fri Jan 25 23:47:34 2013 +0100 +++ b/python/stlink.py Sat Jan 26 10:04:32 2013 +0100 @@ -138,7 +138,6 @@ part = (u32 >> 4) & 0xfff revision = u32 & 0xf return implementer_id, variant, part, revision - def getStatus(self): cmd = bytearray(16) cmd[0:2] = DEBUG_COMMAND, DEBUG_GETSTATUS @@ -167,6 +166,8 @@ cmd = bytearray(16) cmd[0:2] = DEBUG_COMMAND, DEBUG_RUNCORE self.send_recv(cmd, 2) + def halt(self): + pass # Helper 1 functions: def write_debug32(self, address, value):