Skip to content

Commit

Permalink
fixup! boards/stm32f429i-disc1: disable HAS_TINYUSB_DEVICE for stm32f…
Browse files Browse the repository at this point in the history
…429i-disco
  • Loading branch information
gschorcht committed Dec 8, 2022
1 parent d7b831d commit e181c61
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
16 changes: 3 additions & 13 deletions boards/stm32f429i-disc1/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
CPU = stm32
CPU_MODEL = stm32f429zi

# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_dma
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev

# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
# stm32f429i-disc1 supports tinyUSB while stm32f429i-disco uses highlevel_stdio
FEATURES_PROVIDED += tinyusb_device

include $(RIOTBOARD)/stm32f429i-disc1/Makefile.features.common
14 changes: 14 additions & 0 deletions boards/stm32f429i-disc1/Makefile.features.common
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Features that are common for stm32f429i-disc1 and stm32f429i-disco variants
CPU = stm32
CPU_MODEL = stm32f429zi

# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_dma
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev

# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
3 changes: 2 additions & 1 deletion boards/stm32f429i-disco/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# stm32f429i-disco uses highlevel_stdio and does not supports tinyUSB
FEATURES_PROVIDED += highlevel_stdio

include $(RIOTBOARD)/stm32f429i-disc1/Makefile.features
include $(RIOTBOARD)/stm32f429i-disc1/Makefile.features.common

0 comments on commit e181c61

Please sign in to comment.