summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/action_tools.yml9
-rw-r--r--components/drivers/usb/cherryusb/Kconfig5
2 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/action_tools.yml b/.github/workflows/action_tools.yml
index c861027cda..413122f21b 100644
--- a/.github/workflows/action_tools.yml
+++ b/.github/workflows/action_tools.yml
@@ -26,6 +26,8 @@ on:
- '**/*.c'
- '**/*.h'
- '**/*.cpp'
+ workflow_dispatch:
+ repository_dispatch:
permissions:
contents: read # to fetch code (actions/checkout)
@@ -60,7 +62,12 @@ jobs:
- name: Build Tools
run: |
- scons --pyconfig-silent -C $TEST_BSP_ROOT
+ scons --pyconfig-silent -C $TEST_BSP_ROOT 2>menuconfig.log
+ cat menuconfig.log
+ if grep -q "warning:" menuconfig.log; then
+ echo "Errors found in menuconfig, failing the build."
+ exit 1
+ fi
scons -j$(nproc) -C $TEST_BSP_ROOT
- name: Project generate Tools
diff --git a/components/drivers/usb/cherryusb/Kconfig b/components/drivers/usb/cherryusb/Kconfig
index 256690cbab..2b7ce80679 100644
--- a/components/drivers/usb/cherryusb/Kconfig
+++ b/components/drivers/usb/cherryusb/Kconfig
@@ -229,7 +229,6 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb cdc ecm driver"
select RT_USING_LWIP
- select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_CDC_ECM
default n
@@ -237,7 +236,6 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb rndis driver"
select RT_USING_LWIP
- select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_CDC_RNDIS
default n
@@ -245,7 +243,6 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb cdc ncm driver"
select RT_USING_LWIP
- select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_CDC_NCM
default n
@@ -268,7 +265,6 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb asix driver"
select RT_USING_LWIP
- select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_ASIX
default n
@@ -276,7 +272,6 @@ if RT_USING_CHERRYUSB
bool
prompt "Enable usb rtl8152 driver"
select RT_USING_LWIP
- select RT_USING_LWIP212
select CONFIG_USBHOST_PLATFORM_RTL8152
default n