From a34937453c35c2d836748aa1b1fcd7a971cd90eb Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Tue, 10 Oct 2017 12:09:06 +0900
Subject: New: debug option.

---
 mcu/sys-gnu-linux.h | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'mcu/sys-gnu-linux.h')

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)
 {
-- 
cgit v1.2.3