Skip to content

Commit 5453c7e

Browse files
authored
Merge pull request hathach#1370 from hathach/fix-esp-idf
fix build with esp32s2, also use dwc2 for esp example
2 parents 7c627f5 + f72da8e commit 5453c7e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/device/hid_composite_freertos/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ target_sources(${COMPONENT_TARGET} PUBLIC
3131
"${TOP}/src/class/net/ncm_device.c"
3232
"${TOP}/src/class/usbtmc/usbtmc_device.c"
3333
"${TOP}/src/class/vendor/vendor_device.c"
34-
"${TOP}/src/portable/espressif/esp32sx/dcd_esp32sx.c"
34+
"${TOP}/src/portable/synopsys/dwc2/dcd_dwc2.c"
3535
)

src/portable/espressif/esp32sx/dcd_esp32sx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "freertos/xtensa_api.h"
3535
#include "esp_intr_alloc.h"
3636
#include "esp_log.h"
37-
#include "driver/gpio.h"
3837
#include "soc/dport_reg.h"
3938
#include "soc/gpio_sig_map.h"
4039
#include "soc/usb_periph.h"

0 commit comments

Comments
 (0)