summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/stm3220g-eval/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src/Makefile')
-rw-r--r--nuttx/configs/stm3220g-eval/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/Makefile b/nuttx/configs/stm3220g-eval/src/Makefile
index 96ad0d10c6..0aeb872d66 100644
--- a/nuttx/configs/stm3220g-eval/src/Makefile
+++ b/nuttx/configs/stm3220g-eval/src/Makefile
@@ -56,8 +56,8 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
endif
-ifeq ($(CONFIG_USBDEV),y)
-CSRCS += up_usbdev.c
+ifeq ($(CONFIG_STM32_OTGFS),y)
+CSRCS += up_usb.c
endif
ifeq ($(CONFIG_STM32_FSMC),y)