New: debug option.

This commit is contained in:
NIIBE Yutaka
2017-10-10 12:09:06 +09:00
parent dd54b5ff20
commit a34937453c
4 changed files with 145 additions and 51 deletions

View File

@@ -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)
{