diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-01-11 09:27:22 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-01-11 09:27:22 +0000 |
commit | 85becea5ec68aa7e963e6d87b7f3fffe5c376d21 (patch) | |
tree | 1432f375a01a7658011d0da64f737457051e6dee /os/hal/ports/STM32/STM32H7xx | |
parent | 3bc44a8219e5991a2c0e5e8e70422a32a3e32000 (diff) | |
download | ChibiOS-85becea5ec68aa7e963e6d87b7f3fffe5c376d21.tar.gz ChibiOS-85becea5ec68aa7e963e6d87b7f3fffe5c376d21.tar.bz2 ChibiOS-85becea5ec68aa7e963e6d87b7f3fffe5c376d21.zip |
Added STM32 ADCv4 placeholders.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11262 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32H7xx')
-rw-r--r-- | os/hal/ports/STM32/STM32H7xx/platform.mk | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32H7xx/stm32_registry.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32H7xx/platform.mk b/os/hal/ports/STM32/STM32H7xx/platform.mk index 95e0c81f3..359ba7fef 100644 --- a/os/hal/ports/STM32/STM32H7xx/platform.mk +++ b/os/hal/ports/STM32/STM32H7xx/platform.mk @@ -21,12 +21,12 @@ else endif
# Drivers compatible with the platform.
+include $(CHIBIOS)/os/hal/ports/STM32/LLD/ADCv4/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/BDMAv1/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/CRYPv1/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/DMAv3/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/GPIOv2/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/I2Cv3/driver.mk
-include $(CHIBIOS)/os/hal/ports/STM32/LLD/MACv1/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/SPIv3/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/RTCv2/driver.mk
include $(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/driver.mk
diff --git a/os/hal/ports/STM32/STM32H7xx/stm32_registry.h b/os/hal/ports/STM32/STM32H7xx/stm32_registry.h index 63ac7a8d5..ba998da8f 100644 --- a/os/hal/ports/STM32/STM32H7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32H7xx/stm32_registry.h @@ -38,11 +38,12 @@ /*===========================================================================*/
#if defined(STM32H743xx) || defined(STM32H753xx) || \
defined(__DOXYGEN__)
+
/* ADC attributes.*/
#define STM32_ADC12_HANDLER Vector88
#define STM32_ADC12_NUMBER 18
-#define STM32_ADC3_HANDLER Vector23C
-#define STM32_ADC3_NUMBER 127
+#define STM32_ADC34_HANDLER Vector23C
+#define STM32_ADC34_NUMBER 127
#define STM32_HAS_ADC1 TRUE
|