Merge pull request #2683 from andrewleech/synopsys_esp32_freertos

synopsys/dwc2_esp32: Add header for vTaskDelay.
This commit is contained in:
HiFiPhile 2024-06-21 12:42:11 +02:00 committed by GitHub
commit 906c84d2b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@
#include "esp_intr_alloc.h"
#include "soc/periph_defs.h"
//#include "soc/usb_periph.h"
#include "freertos/task.h"
#define DWC2_REG_BASE 0x60080000UL
#define DWC2_EP_MAX 6 // USB_OUT_EP_NUM. TODO ESP32Sx only has 5 tx fifo (5 endpoint IN)