Skip to content

Commit 463415a

Browse files
committed
update stm32f4 port to use tinyusb synopsys tree
1 parent 05038ea commit 463415a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ports/stm32f4/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ C_DEFS = -DMCU_PACKAGE=$(MCU_PACKAGE) -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -D$(
9393
CFLAGS += $(INC) -Werror -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT)
9494

9595
# Undo some warnings.
96-
# STM32 apparently also uses undefined preprocessor variables quite casually,
96+
# STM32 apparently also uses undefined preprocessor variables quite casually,
9797
# so we can't do warning checks for these.
9898
CFLAGS += -Wno-undef
9999
# STM32 might do casts that increase alignment requirements.
@@ -165,7 +165,7 @@ SRC_STM32 = \
165165
stm32f4/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c \
166166
stm32f4/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c \
167167
stm32f4/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c \
168-
system_stm32f4xx.c
168+
system_stm32f4xx.c
169169

170170
SRC_C += \
171171
background.c \
@@ -190,9 +190,9 @@ SRC_C += \
190190
lib/utils/stdout_helpers.c \
191191
lib/utils/sys_stdio_mphal.c \
192192
supervisor/shared/memory.c
193-
193+
194194
ifneq ($(USB),FALSE)
195-
SRC_C += lib/tinyusb/src/portable/st/stm32f4/dcd_stm32f4.c
195+
SRC_C += lib/tinyusb/src/portable/st/synopsys/dcd_synopsys.c
196196
endif
197197

198198
SRC_S = \

0 commit comments

Comments
 (0)