Skip to content

Commit

Permalink
update Makefile for STM32L433 TinyUSB driver support
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatrom committed Nov 7, 2024
1 parent 5a3f9d7 commit dd30006
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ports/stm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ ifneq ($(CIRCUITPY_AUDIOBUSIO_PDMIN),0)
endif

ifneq ($(CIRCUITPY_USB),0)
SRC_C += lib/tinyusb/src/portable/synopsys/dwc2/dcd_dwc2.c
ifeq ($(MCU_VARIANT_LOWER),stm32l433xx)
SRC_C += lib/tinyusb/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
else
SRC_C += lib/tinyusb/src/portable/synopsys/dwc2/dcd_dwc2.c
endif
endif

SRC_S = \
Expand Down

0 comments on commit dd30006

Please sign in to comment.