Skip to content

Commit

Permalink
boards: remove USB option for STM32 based boards
Browse files Browse the repository at this point in the history
It is enough to set the USB_DEVICE_STACK option to enable
USB device support.
Remove USB_DC_STM32 for mikroe_mini_m4_for_stm32 board
since it is already selected on SoC level.

Signed-off-by: Johann Fischer <[email protected]>
  • Loading branch information
jfischer-no authored and nashif committed Aug 3, 2021
1 parent 9512ae4 commit 7636421
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 14 deletions.
4 changes: 0 additions & 4 deletions boards/arm/mikroe_mini_m4_for_stm32/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ config SPI_STM32_INTERRUPT
default y
depends on SPI

config USB_DC_STM32
default y
depends on USB

endif # BOARD_MIKROE_MINI_M4_FOR_STM32
3 changes: 0 additions & 3 deletions boards/arm/nucleo_f412zg/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ config BOARD

if NETWORKING

config USB
default y

config USB_DEVICE_STACK
default y

Expand Down
3 changes: 0 additions & 3 deletions boards/arm/nucleo_f413zh/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ config BOARD

if NETWORKING

config USB
default y

config USB_DEVICE_STACK
default y

Expand Down
3 changes: 0 additions & 3 deletions boards/arm/nucleo_l4r5zi/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ config SPI_STM32_INTERRUPT

if NETWORKING

config USB
default y

config USB_DEVICE_STACK
default y

Expand Down
2 changes: 1 addition & 1 deletion boards/arm/olimexino_stm32/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
config BOARD_OLIMEXINO_STM32
bool "OLIMEXINO-STM32 Development Board"
depends on SOC_STM32F103XB
select USB_DC_STM32_DISCONN_ENABLE if USB
select USB_DC_STM32_DISCONN_ENABLE if USB_DEVICE_DRIVER

0 comments on commit 7636421

Please sign in to comment.