Jonas Thörnblad 056f2363b4
ch552: Add functionality to dynamically control USB endpoints
- 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
2025-04-02 16:04:48 +02:00

19 lines
499 B
C

#ifndef __MAIN_H__
#define __MAIN_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