| 
44 | 44 | // this variable is no longer set by default (one is claimed dynamically), but will be respected if specified  | 
45 | 45 | #endif  | 
46 | 46 | 
 
  | 
 | 47 | +// PICO_CONFIG: PICO_STDIO_USB_ENABLE_IRQ_BACKGROUND_TASK, Enable/disable the use of a background task to call tud_task(), type=bool, default=1 if the application is not using tinyUSB directly, group=pico_stdio_usb  | 
 | 48 | +#ifndef PICO_STDIO_USB_ENABLE_IRQ_BACKGROUND_TASK  | 
 | 49 | +#if !LIB_TINYUSB_HOST && !LIB_TINYUSB_DEVICE  | 
 | 50 | +#define PICO_STDIO_USB_ENABLE_IRQ_BACKGROUND_TASK 1  | 
 | 51 | +#else  | 
 | 52 | +#define PICO_STDIO_USB_ENABLE_IRQ_BACKGROUND_TASK 0  | 
 | 53 | +#endif  | 
 | 54 | +#endif  | 
 | 55 | + | 
 | 56 | +// PICO_CONFIG: PICO_STDIO_USB_ENABLE_TINYUSB_INIT, Enable/disable calling tinyUSB tusb_init() during initialization, type=bool, default=1 if the application is not using tinyUSB directly, group=pico_stdio_usb  | 
 | 57 | +#ifndef PICO_STDIO_USB_ENABLE_TINYUSB_INIT  | 
 | 58 | +#if !LIB_TINYUSB_HOST && !LIB_TINYUSB_DEVICE  | 
 | 59 | +#define PICO_STDIO_USB_ENABLE_TINYUSB_INIT 1  | 
 | 60 | +#else  | 
 | 61 | +#define PICO_STDIO_USB_ENABLE_TINYUSB_INIT 0  | 
 | 62 | +#endif  | 
 | 63 | +#endif  | 
 | 64 | + | 
47 | 65 | // PICO_CONFIG: PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE, Enable/disable resetting into BOOTSEL mode if the host sets the baud rate to a magic value (PICO_STDIO_USB_RESET_MAGIC_BAUD_RATE), type=bool, default=1 if application is not using TinyUSB directly, group=pico_stdio_usb  | 
48 | 66 | #ifndef PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE  | 
49 |  | -#if !defined(LIB_TINYUSB_HOST) && !defined(LIB_TINYUSB_DEVICE)  | 
 | 67 | +#if !LIB_TINYUSB_HOST && !LIB_TINYUSB_DEVICE  | 
50 | 68 | #define PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE 1  | 
 | 69 | +#else  | 
 | 70 | +#define PICO_STDIO_USB_ENABLE_RESET_VIA_BAUD_RATE 0  | 
51 | 71 | #endif  | 
52 | 72 | #endif  | 
53 | 73 | 
 
  | 
 | 
91 | 111 | 
 
  | 
92 | 112 | // PICO_CONFIG: PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE, Enable/disable resetting into BOOTSEL mode via an additional VENDOR USB interface - enables picotool based reset, type=bool, default=1 if application is not using TinyUSB directly, group=pico_stdio_usb  | 
93 | 113 | #ifndef PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE  | 
94 |  | -#if !defined(LIB_TINYUSB_HOST) && !defined(LIB_TINYUSB_DEVICE)  | 
 | 114 | +#if !LIB_TINYUSB_HOST && !LIB_TINYUSB_DEVICE  | 
95 | 115 | #define PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE 1  | 
 | 116 | +#else  | 
 | 117 | +#define PICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE 0  | 
96 | 118 | #endif  | 
97 | 119 | #endif  | 
98 | 120 | 
 
  | 
 | 
116 | 138 | #define PICO_STDIO_USB_RESET_RESET_TO_FLASH_DELAY_MS 100  | 
117 | 139 | #endif  | 
118 | 140 | 
 
  | 
 | 141 | +// PICO_CONFIG: PICO_STDIO_USB_USE_DEFAULT_DESCRIPTORS, Defines the default USB descriptors needed for USB communication, type=bool, default=1 if the application is not using tinyUSB directly, group=pico_stdio_usb  | 
 | 142 | +#ifndef PICO_STDIO_USB_USE_DEFAULT_DESCRIPTORS  | 
 | 143 | +#if !LIB_TINYUSB_HOST && !LIB_TINYUSB_DEVICE  | 
 | 144 | +#define PICO_STDIO_USB_USE_DEFAULT_DESCRIPTORS 1  | 
 | 145 | +#else  | 
 | 146 | +#define PICO_STDIO_USB_USE_DEFAULT_DESCRIPTORS 0  | 
 | 147 | +#endif  | 
 | 148 | +#endif  | 
 | 149 | + | 
119 | 150 | // PICO_CONFIG: PICO_STDIO_USB_CONNECTION_WITHOUT_DTR, Disable use of DTR for connection checking meaning connection is assumed to be valid, type=bool, default=0, group=pico_stdio_usb  | 
120 | 151 | #ifndef PICO_STDIO_USB_CONNECTION_WITHOUT_DTR  | 
121 | 152 | #define PICO_STDIO_USB_CONNECTION_WITHOUT_DTR 0  | 
 | 
0 commit comments