aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2015-11-26 19:25:23 -0500
committerMichael Davidsaver <mdavidsaver@gmail.com>2015-11-26 19:25:23 -0500
commit0a94702c653537de99079e95e434aa826bdcd0b2 (patch)
treed594563ffd1ef8a8af003dd211e9a665cc5dafe2
parentd0b2ebb1ea12dce752282c57fb69174836d58bba (diff)
fix test8
-rw-r--r--test8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test8.c b/test8.c
index 3158952..d550b10 100644
--- a/test8.c
+++ b/test8.c
@@ -143,6 +143,7 @@ void main(void)
run_table.mem = &mem_entry;
asm("cpsid if");
+ out32(SCB(0xd24), 1<<16); // enable MemFault with SHCSR
puts("1. In Main\n");
expect_fault = 1;