Skip to content
Snippets Groups Projects
Commit 03894aa2 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Add functions for managing the DWT Cycle Counter

parent 50bf1785
No related branches found
No related tags found
No related merge requests found
// autogenerated file
["EXTI3", "EXTI1", "EXTI2"]
\ No newline at end of file
["EXTI2", "EXTI3", "EXTI1"]
\ No newline at end of file
......@@ -392,6 +392,21 @@ def klee_run():
call(klee_cmd, shell=True)
def gdb_cyccnt_enable():
# Enable cyccnt
gdb.execute("mon mww 0xe0001000 1")
def gdb_cyccnt_disable():
# Disble cyccnt
gdb.execute("mon mww 0xe0001000 0")
def gdb_cyccnt_reset():
# Reset cycle counter to 0
gdb.execute("mon mww 0xe0001004 0")
""" Run KLEE on the generated files """
# print(klee_run())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment