summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2022-07-27 23:02:06 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-07-27 23:03:11 +0200
commit0ae9db980e00cdd3e458ec59462aa6d75f919a61 (patch)
tree25159f4d09c0a824b438281224f63d31087322d0 /platforms
parentb5cd432df8f336c90d530b5d55fda7f2c25472c2 (diff)
stm32g4: Add ADC.
Diffstat (limited to 'platforms')
-rw-r--r--platforms/stm32/g4.yaml23
1 files changed, 23 insertions, 0 deletions
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