diff options
Diffstat (limited to 'platforms/stm32')
-rw-r--r-- | platforms/stm32/f1.yaml | 11 | ||||
-rw-r--r-- | platforms/stm32/f3.yaml | 20 | ||||
-rw-r--r-- | platforms/stm32/f7.yaml | 11 | ||||
-rw-r--r-- | platforms/stm32/wb.yaml | 8 |
4 files changed, 50 insertions, 0 deletions
diff --git a/platforms/stm32/f1.yaml b/platforms/stm32/f1.yaml index 7e6919d..e4806b9 100644 --- a/platforms/stm32/f1.yaml +++ b/platforms/stm32/f1.yaml @@ -1,5 +1,16 @@ # This is incomplete, just preserving register addresses! - periph: + stm32_adc: + ADC1: + type: v1 + offset: 0x40012400 + ADC2: + type: v1 + offset: 0x40012800 + ADC3: + type: v1 + offset: 0x40013c00 + stm32_flash: FLASH: type: f1 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 diff --git a/platforms/stm32/f7.yaml b/platforms/stm32/f7.yaml index 82f6520..e54247f 100644 --- a/platforms/stm32/f7.yaml +++ b/platforms/stm32/f7.yaml @@ -18,6 +18,17 @@ size: 320k periph: + stm32_adc: + ADC1: + type: v1 + offset: 0x40012000 + ADC2: + type: v1 + offset: 0x40012100 + ADC3: + type: v1 + offset: 0x40012200 + stm32_flash: FLASH: type: f4 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 |