aboutsummaryrefslogtreecommitdiff
path: root/mcu/sys-gnu-linux.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-10-10 12:09:06 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2017-10-10 12:16:03 +0900
commita34937453c35c2d836748aa1b1fcd7a971cd90eb (patch)
tree3658b8f114ef8a7ac426e4906845e46c38220e2c /mcu/sys-gnu-linux.h
parentdd54b5ff202e3b1bc863e32fb3eba7633a7aeb01 (diff)
New: debug option.
Diffstat (limited to 'mcu/sys-gnu-linux.h')
-rw-r--r--mcu/sys-gnu-linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcu/sys-gnu-linux.h b/mcu/sys-gnu-linux.h
index 6fbc081..ea8a64d 100644
--- a/mcu/sys-gnu-linux.h
+++ b/mcu/sys-gnu-linux.h
@@ -7,6 +7,12 @@ extern const uint8_t sys_board_name[];
# define SYS_BOARD_ID BOARD_ID
#endif
+#define DEBUG_LED (1 << 1)
+#define DEBUG_FLASH (1 << 2)
+#define DEBUG_USB (1 << 3)
+
+extern int debug;
+
static inline const uint8_t *
unique_device_id (void)
{