summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3240g-eval/src/Makefile')
-rw-r--r--nuttx/configs/stm3240g-eval/src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/src/Makefile b/nuttx/configs/stm3240g-eval/src/Makefile
index 383ee68cf..e28eff4eb 100644
--- a/nuttx/configs/stm3240g-eval/src/Makefile
+++ b/nuttx/configs/stm3240g-eval/src/Makefile
@@ -56,6 +56,10 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
endif
+ifeq ($(CONFIG_USBDEV),y)
+CSRCS += up_usbdev.c
+endif
+
ifeq ($(CONFIG_STM32_FSMC),y)
CSRCS += up_extmem.c up_selectsram.c up_deselectsram.c
endif