diff options
Diffstat (limited to 'nuttx/configs/stm3240g-eval/src/Makefile')
-rw-r--r-- | nuttx/configs/stm3240g-eval/src/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/src/Makefile b/nuttx/configs/stm3240g-eval/src/Makefile index 0d2067b16..2ba46d682 100644 --- a/nuttx/configs/stm3240g-eval/src/Makefile +++ b/nuttx/configs/stm3240g-eval/src/Makefile @@ -42,6 +42,10 @@ AOBJS = $(ASRCS:.S=$(OBJEXT)) CSRCS = up_boot.c up_leds.c up_buttons.c up_spi.c +ifeq ($(CONFIG_ADC),y) +CSRCS += up_adc.c +endif + COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) |