File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
hid_composite_freertos/src
host/cdc_msc_hid_freertos/src Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3737 #define USBD_STACK_SIZE (3*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1)
3838#endif
3939
40- #define CDC_STACK_SIZE configMINIMAL_STACK_SIZE
40+ #define CDC_STACK_SIZE ( configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 2 : 1))
4141#define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE
4242
4343//--------------------------------------------------------------------+
Original file line number Diff line number Diff line change 5353 #define USBD_STACK_SIZE (3*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1)
5454#endif
5555
56- #define HID_STACK_SZIE configMINIMAL_STACK_SIZE
56+ #define HID_STACK_SZIE ( configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 2 : 1))
5757
5858//--------------------------------------------------------------------+
5959// MACRO CONSTANT TYPEDEF PROTYPES
Original file line number Diff line number Diff line change 4848#endif
4949
5050#define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE
51- #define MIDI_STACK_SIZE configMINIMAL_STACK_SIZE
51+ #define MIDI_STACK_SIZE ( configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 2 : 1))
5252
5353// static task
5454#if configSUPPORT_STATIC_ALLOCATION
Original file line number Diff line number Diff line change 3535 #define USBH_STACK_SIZE 4096
3636#else
3737 // Increase stack size when debug log is enabled
38- #define USBH_STACK_SIZE (3* configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1 )
38+ #define USBH_STACK_SIZE (configMINIMAL_STACK_SIZE * (CFG_TUSB_DEBUG ? 4 : 2) )
3939#endif
4040
4141
You can’t perform that action at this time.
0 commit comments