diff options
| author | Dave Hylands <dhylands@gmail.com> | 2014-03-24 10:49:23 -0700 |
|---|---|---|
| committer | Dave Hylands <dhylands@gmail.com> | 2014-03-24 11:16:35 -0700 |
| commit | 1403298a653fdb1ed3604bab71ce17200e5017f7 (patch) | |
| tree | 77ce4ff7acd51385b0baadae98035dda89989198 /stmhal/Makefile | |
| parent | 6609d636d042fb02bdd07ea578cc3dbf6a311273 (diff) | |
stmhal - fixed up adc stuff
Added support for the ADC channels and mappings to make_pins.py
I'm not sure if the hal properly deals with the channel 16/18 differences
between the 40x and 42x. It seems to deal with it partially. This particular
aspect will need testing on a 42x or 43x.
Diffstat (limited to 'stmhal/Makefile')
| -rw-r--r-- | stmhal/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index b146a1b37..7896849c6 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -93,10 +93,10 @@ SRC_C = \ accel.c \ servo.c \ dac.c \ + adc.c \ # timer.c \ # i2c.c \ -# adc.c \ # pybwlan.c \ SRC_S = \ @@ -105,6 +105,8 @@ SRC_S = \ SRC_HAL = $(addprefix $(HAL_DIR)/src/,\ stm32f4xx_hal.c \ + stm32f4xx_hal_adc.c \ + stm32f4xx_hal_adc_ex.c \ stm32f4xx_hal_cortex.c \ stm32f4xx_hal_dac.c \ stm32f4xx_hal_dac_ex.c \ |
