summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-10-03 13:26:03 -0400
committerDan Halbert <halbert@halwitz.org>2019-10-03 13:26:03 -0400
commit463415a7efcdd0c852a9673cb3a438fde15af887 (patch)
tree25b9e7f3a89eb238ce10a286e77f88a54f75650d
parent05038ea1e57d76b1ee013e61e747429e8c7c58e4 (diff)
update stm32f4 port to use tinyusb synopsys tree
-rwxr-xr-xports/stm32f4/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/stm32f4/Makefile b/ports/stm32f4/Makefile
index 7cee0d8e7..bef26d662 100755
--- a/ports/stm32f4/Makefile
+++ b/ports/stm32f4/Makefile
@@ -93,7 +93,7 @@ C_DEFS = -DMCU_PACKAGE=$(MCU_PACKAGE) -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -D$(
CFLAGS += $(INC) -Werror -Wall -std=gnu11 -nostdlib $(BASE_CFLAGS) $(C_DEFS) $(CFLAGS_MOD) $(COPT)
# Undo some warnings.
-# STM32 apparently also uses undefined preprocessor variables quite casually,
+# STM32 apparently also uses undefined preprocessor variables quite casually,
# so we can't do warning checks for these.
CFLAGS += -Wno-undef
# STM32 might do casts that increase alignment requirements.
@@ -165,7 +165,7 @@ SRC_STM32 = \
stm32f4/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c \
stm32f4/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c \
stm32f4/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c \
- system_stm32f4xx.c
+ system_stm32f4xx.c
SRC_C += \
background.c \
@@ -190,9 +190,9 @@ SRC_C += \
lib/utils/stdout_helpers.c \
lib/utils/sys_stdio_mphal.c \
supervisor/shared/memory.c
-
+
ifneq ($(USB),FALSE)
-SRC_C += lib/tinyusb/src/portable/st/stm32f4/dcd_stm32f4.c
+SRC_C += lib/tinyusb/src/portable/st/synopsys/dcd_synopsys.c
endif
SRC_S = \