mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-04-25 17:39:14 -04:00

- Make it possible to enable and disable endpoints on demand - Add internal FPGA<->CH552 communication channel (IO_CH552) - Reorder IO endpoint numbering - Rename endpoint from TKEYCTRL to DEBUG and update related variables - Rename endpoint from HID to FIDO and update related variables
19 lines
503 B
C
19 lines
503 B
C
#ifndef __CONFIG_H__
|
|
#define __CONFIG_H__
|
|
|
|
//#define USE_DEBUG_PRINT /* Enable to print debug messages */
|
|
//#define DEBUG_PRINT_SW /* Enable to print debug messages via FPGA */
|
|
//#define DEBUG_PRINT_HW /* Enable to print debug messages via UART0 */
|
|
|
|
#define USE_NUM_U8
|
|
//#define USE_NUM_U32
|
|
|
|
//#define DEBUG_SETUP /* Enable to debug USB setup flow (printStrSetup,printNumU8HexSetup) */
|
|
|
|
#define USE_NUM_U8HEX
|
|
#define USE_NUM_U16HEX
|
|
//#define USE_NUM_U32HEX
|
|
//#define USE_NEGATIVE_NUMS
|
|
|
|
#endif
|