diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-03-26 22:17:47 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:56 -0400 |
commit | 28825b6a2f66b0329229185eb9cbd9004fae4b1b (patch) | |
tree | e9714efb41196c4492b68ff878974d01981708cd /libmaple/stm32f1/rules.mk | |
parent | 7a400b065167beda0a1a9c642954e08581bc0c29 (diff) | |
download | librambutan-28825b6a2f66b0329229185eb9cbd9004fae4b1b.tar.gz librambutan-28825b6a2f66b0329229185eb9cbd9004fae4b1b.zip |
Resurrect ADC support.
Standard refactoring: add series headers for F1 and F2, along with
series adc.c files. There are some issues relating to adc_extsel_event
to hammer out later, but this will do for now.
We also add some new portability interfaces to libmaple/adc.h in order
for Wirish to use the same code to initialize the ADCs at init() time.
As usual, F1 is untested.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f1/rules.mk')
-rw-r--r-- | libmaple/stm32f1/rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmaple/stm32f1/rules.mk b/libmaple/stm32f1/rules.mk index bdff00e..c0d6344 100644 --- a/libmaple/stm32f1/rules.mk +++ b/libmaple/stm32f1/rules.mk @@ -11,7 +11,8 @@ CFLAGS_$(d) = -I$(d) $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -We sSRCS_$(d) := isrs_performance.S sSRCS_$(d) += vector_table_performance.S -cSRCS_$(d) := bkp.c +cSRCS_$(d) := adc.c +cSRCS_$(d) += bkp.c cSRCS_$(d) += fsmc.c cSRCS_$(d) += gpio.c cSRCS_$(d) += rcc.c |