stm32: adc-v1m: pull out f4/f7 specifics

Sampling time and sequence length, along with the vbat channel are
specific to the f4/f7, and can't be shared with the l1 and friends.
Pull them out to their own common file.
This commit is contained in:
Karl Palsson
2019-05-10 22:40:55 +00:00
parent 888fee1409
commit 8d9b455ac6
4 changed files with 126 additions and 90 deletions

View File

@@ -39,7 +39,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = adc_common_v1.o adc_common_v1_multi.o
OBJS = adc_common_v1.o adc_common_v1_multi.o adc_common_f47.o
OBJS += can.o
OBJS += crc_common_all.o
OBJS += crypto_common_f24.o crypto.o