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/f1.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'platforms/stm32/f1.yaml') 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 -- cgit v1.2.3