aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r--libmaple/libmaple.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index 6921b63..fa6c8a1 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -34,7 +34,13 @@
#include "libmaple_types.h"
// General configuration
-#define MAPLE_DEBUG 1
+#define DEBUG_NONE 0
+#define DEBUG_FAULT 1
+#define DEBUG_ALL 2
+
+#ifndef DEBUG_LEVEL
+#define DEBUG_LEVEL DEBUG_ALL
+#endif
// MCU-specific configuration
#ifdef MCU_STM32F103RB