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 7d09e145a..6cda7250d 100644
--- a/nuttx/configs/stm3240g-eval/src/Makefile
+++ b/nuttx/configs/stm3240g-eval/src/Makefile
@@ -50,6 +50,10 @@ ifeq ($(CONFIG_PWM),y)
CSRCS += up_pwm.c
endif
+ifeq ($(CONFIG_CAN),y)
+CSRCS += up_can.c
+endif
+
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)