diff options
author | Karl Palsson <karlp@tweak.net.au> | 2022-05-04 00:41:45 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2022-07-27 23:03:11 +0200 |
commit | b5cd432df8f336c90d530b5d55fda7f2c25472c2 (patch) | |
tree | 8f1cbda9f677e6e97676649de7c6e9e00e201ab7 /platforms/stm32/f3.yaml | |
parent | c40eb0b2d6966760899d1d0c2743770ea130ff09 (diff) |
adc: convert to new style
Converted the old STM32 headers to new style and copied offsets to
platform data.
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Diffstat (limited to 'platforms/stm32/f3.yaml')
-rw-r--r-- | platforms/stm32/f3.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/platforms/stm32/f3.yaml b/platforms/stm32/f3.yaml index 6586a7d..03f2498 100644 --- a/platforms/stm32/f3.yaml +++ b/platforms/stm32/f3.yaml @@ -67,6 +67,26 @@ origin: 0x10000000 periph: + stm32_adc: + ADC1: + type: v2 + offset: 0x50000000 + ADC2: + type: v2 + offset: 0x50000100 + ADC3: + type: v2 + offset: 0x50000400 + ADC4: + type: v2 + offset: 0x50000500 + ADC_COMMON1: + type: v2 + offset: 0x50000300 + ADC_COMMON3: + type: v2 + offset: 0x50000700 + stm32_dma: DMA1: type: v1 |