diff --git a/bsp/Infineon/libraries/templates/PSOC62/board/SConscript b/bsp/Infineon/libraries/templates/PSOC62/board/SConscript index 00e1f74f83..5278bdeff4 100644 --- a/bsp/Infineon/libraries/templates/PSOC62/board/SConscript +++ b/bsp/Infineon/libraries/templates/PSOC62/board/SConscript @@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') -if GetDepend(['BSP_USING_SLIDER']): +if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') path = [cwd] diff --git a/bsp/Infineon/psoc6-cy8ckit-062-BLE/board/SConscript b/bsp/Infineon/psoc6-cy8ckit-062-BLE/board/SConscript index 49a4b3eaeb..36667e2386 100644 --- a/bsp/Infineon/psoc6-cy8ckit-062-BLE/board/SConscript +++ b/bsp/Infineon/psoc6-cy8ckit-062-BLE/board/SConscript @@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') -if GetDepend(['BSP_USING_SLIDER']): +if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') path = [cwd] diff --git a/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript b/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript index c8d36b705a..828d407f21 100644 --- a/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript +++ b/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/SConscript @@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') -if GetDepend(['BSP_USING_SLIDER']): +if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') path = [cwd] diff --git a/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/Kconfig b/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/Kconfig index 42927fbd98..1fa9c5dcc6 100644 --- a/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/Kconfig +++ b/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/Kconfig @@ -265,12 +265,17 @@ endmenu menu "Board extended module Drivers" config BSP_USING_SLIDER - bool "Enable Slider Demo" - select BSP_USING_PWM - select BSP_USING_PWM0 - select BSP_USING_PWM0_CH3 - select BSP_USING_PWM0_PORT13 + bool "Enable Slider" default n + if BSP_USING_SLIDER + config BSP_USING_SLIDER_SAMPLE + bool "Enable Slider Demo" + select BSP_USING_PWM + select BSP_USING_PWM0 + select BSP_USING_PWM0_CH3 + select BSP_USING_PWM0_PORT13 + default n + endif menuconfig BSP_USING_RW007 bool "Enable RW007" diff --git a/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/SConscript b/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/SConscript index 00e1f74f83..5278bdeff4 100644 --- a/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/SConscript +++ b/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/SConscript @@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') -if GetDepend(['BSP_USING_SLIDER']): +if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') path = [cwd] diff --git a/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/Kconfig b/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/Kconfig index 16da212e68..34f66f7e84 100644 --- a/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/Kconfig +++ b/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/Kconfig @@ -265,12 +265,17 @@ endmenu menu "Board extended module Drivers" config BSP_USING_SLIDER - bool "Enable Slider Demo" - select BSP_USING_PWM - select BSP_USING_PWM0 - select BSP_USING_PWM0_CH3 - select BSP_USING_PWM0_PORT13 + bool "Enable Slider" default n + if BSP_USING_SLIDER + config BSP_USING_SLIDER_SAMPLE + bool "Enable Slider Demo" + select BSP_USING_PWM + select BSP_USING_PWM0 + select BSP_USING_PWM0_CH3 + select BSP_USING_PWM0_PORT13 + default n + endif menuconfig BSP_USING_RW007 bool "Enable RW007" diff --git a/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/SConscript b/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/SConscript index 59ae672412..8ee393ae34 100644 --- a/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/SConscript +++ b/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/SConscript @@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') -if GetDepend(['BSP_USING_SLIDER']): +if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') path = [cwd] diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig b/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig index 32e0b44073..f85c9ba739 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig @@ -282,12 +282,17 @@ endmenu menu "Board extended module Drivers" config BSP_USING_SLIDER - bool "Enable Slider Demo" - select BSP_USING_PWM - select BSP_USING_PWM0 - select BSP_USING_PWM0_CH0 - select BSP_USING_PWM0_PORT0 + bool "Enable Slider" default n + if BSP_USING_SLIDER + config BSP_USING_SLIDER_SAMPLE + bool "Enable Slider Demo" + select BSP_USING_PWM + select BSP_USING_PWM0 + select BSP_USING_PWM0_CH0 + select BSP_USING_PWM0_PORT0 + default n + endif menuconfig BSP_USING_RW007 bool "Enable RW007" diff --git a/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript b/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript index e3860e443d..cc8d7415db 100644 --- a/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript +++ b/bsp/Infineon/psoc6-evaluationkit-062S2/board/SConscript @@ -19,7 +19,7 @@ if GetDepend(['BSP_USING_SPI3_SAMPLE']): if GetDepend(['BSP_USING_RW007']): src += Glob('ports/drv_rw007.c') -if GetDepend(['BSP_USING_SLIDER']): +if GetDepend(['BSP_USING_SLIDER_SAMPLE']): src += Glob('ports/slider_sample.c') path = [cwd]