stm32f0/f3: adc: extract beginnings of common v2 periph
The f0, f30x and l0 have a very similar "v2" adc peripheral. Start extracting out some of the common code, and fix the glaring bug in adc_power_down that was affecting them both. This is not intended to be a fully comprehensive extraction, just the first easy steps.
This commit is contained in:
@@ -43,6 +43,7 @@ OBJS += gpio_common_all.o gpio_common_f0234.o crc_common_all.o \
|
||||
dma_common_l1f013.o exti_common_all.o spi_common_all.o \
|
||||
spi_common_f03.o flash_common_f01.o dac_common_all.o \
|
||||
timer_common_all.o rcc_common_all.o
|
||||
OBJS += adc_common_v2.o
|
||||
OBJS += crs_common_all.o
|
||||
|
||||
OBJS += usb.o usb_control.o usb_standard.o
|
||||
|
||||
Reference in New Issue
Block a user