From 0ae9db980e00cdd3e458ec59462aa6d75f919a61 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Wed, 27 Jul 2022 23:02:06 +0200 Subject: stm32g4: Add ADC. --- platforms/stm32/g4.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/platforms/stm32/g4.yaml b/platforms/stm32/g4.yaml index c0dbdf2..a279b0e 100644 --- a/platforms/stm32/g4.yaml +++ b/platforms/stm32/g4.yaml @@ -25,6 +25,29 @@ size: 32k periph: + stm32_adc: + ADC1: + type: v2 + offset: 0x50000000 + ADC2: + type: v2 + offset: 0x50000100 + ADC3: + type: v2 + offset: 0x50000400 + ADC4: + type: v2 + offset: 0x50000500 + ADC5: + type: v2 + offset: 0x50000600 + ADC_COMMON1: + type: v2 + offset: 0x50000300 + ADC_COMMON3: + type: v2 + offset: 0x50000700 + stm32_dma: DMA1: type: v1 -- cgit v1.2.3