only enable CFG_TUD_ENABLED with esp wgen CONFIG_USB_OTG_SUPPORTED = 1. Add feather_esp32_v2 to ci pool
This commit is contained in:
parent
76a551be81
commit
f83e0ce0ff
2 changed files with 6 additions and 0 deletions
1
.github/workflows/githubci.yml
vendored
1
.github/workflows/githubci.yml
vendored
|
|
@ -48,6 +48,7 @@ jobs:
|
|||
matrix:
|
||||
arduino-platform:
|
||||
# ESP32 ci use dev json
|
||||
- 'feather_esp32_v2'
|
||||
- 'feather_esp32s2'
|
||||
- 'feather_esp32s3'
|
||||
- 'esp32p4'
|
||||
|
|
|
|||
|
|
@ -99,8 +99,13 @@ extern "C" {
|
|||
|
||||
//--------------------------------------------------------------------
|
||||
// DEVICE CONFIGURATION
|
||||
// only enabled if USB OTG is supported
|
||||
//--------------------------------------------------------------------
|
||||
#if defined(CONFIG_USB_OTG_SUPPORTED) && CONFIG_USB_OTG_SUPPORTED
|
||||
#define CFG_TUD_ENABLED 1
|
||||
#else
|
||||
#define CFG_TUD_ENABLED 0
|
||||
#endif
|
||||
|
||||
#define CFG_TUD_CDC 2
|
||||
#define CFG_TUD_MSC 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue