File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 266
266
* (largest USB packet used / 4) + 1 for status information + 1 transfer complete +
267
267
* 1 location each for Bulk/Control endpoint for handling NAK/NYET scenario
268
268
*/
269
- // #define CONFIG_USB_DWC2_RX_FIFO_SIZE ((1012 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE) / 4 )
269
+ // #define CONFIG_USB_DWC2_RX_FIFO_SIZE ((1012 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE))
270
270
271
271
/* ---------------- MUSB Configuration ---------------- */
272
272
// #define CONFIG_USB_MUSB_SUNXI
Original file line number Diff line number Diff line change 249
249
* (largest USB packet used / 4) + 1 for status information + 1 transfer complete +
250
250
* 1 location each for Bulk/Control endpoint for handling NAK/NYET scenario
251
251
*/
252
- #define CONFIG_USB_DWC2_RX_FIFO_SIZE ((200 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE) / 4 )
252
+ #define CONFIG_USB_DWC2_RX_FIFO_SIZE ((200 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE))
253
253
254
254
#elif CONFIG_IDF_TARGET_ESP32C5 || CONFIG_IDF_TARGET_ESP32P4
255
255
// todo: check c5, p4 in later
Original file line number Diff line number Diff line change 26
26
* 1 location each for Bulk/Control endpoint for handling NAK/NYET scenario
27
27
*/
28
28
#ifndef CONFIG_USB_DWC2_RX_FIFO_SIZE
29
- #define CONFIG_USB_DWC2_RX_FIFO_SIZE ((1012 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE) / 4 )
29
+ #define CONFIG_USB_DWC2_RX_FIFO_SIZE ((1012 - CONFIG_USB_DWC2_NPTX_FIFO_SIZE - CONFIG_USB_DWC2_PTX_FIFO_SIZE))
30
30
#endif
31
31
32
32
#define USB_OTG_GLB ((DWC2_GlobalTypeDef *)(bus->hcd.reg_base))
You can’t perform that action at this time.
0 commit comments