From b5cd432df8f336c90d530b5d55fda7f2c25472c2 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 3 May 2022 22:41:45 +0000 Subject: adc: convert to new style Converted the old STM32 headers to new style and copied offsets to platform data. Signed-off-by: Karl Palsson --- platforms/stm32/wb.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'platforms/stm32/wb.yaml') diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml index e4cf2bb..241c467 100644 --- a/platforms/stm32/wb.yaml +++ b/platforms/stm32/wb.yaml @@ -28,6 +28,14 @@ size: 10k periph: + stm32_adc: + ADC1: + type: v2 + offset: 0x50040000 + ADC_COMMON1: + type: v2 + offset: 0x50040300 + stm32_dma: DMA1: type: v1 -- cgit v1.2.3