From 1b5215b679d541f0902ad1d39f0ceb6c36250401 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Fri, 17 Sep 2021 20:02:25 +0000 Subject: flash: convert to new style --- platforms/stm32/f0.yaml | 5 +++++ platforms/stm32/f1.yaml | 5 +++++ platforms/stm32/f3.yaml | 5 +++++ platforms/stm32/f4.yaml | 5 +++++ platforms/stm32/l0.yaml | 5 +++++ platforms/stm32/wb.yaml | 5 +++++ 6 files changed, 30 insertions(+) (limited to 'platforms/stm32') diff --git a/platforms/stm32/f0.yaml b/platforms/stm32/f0.yaml index 58c90b5..68e02b4 100644 --- a/platforms/stm32/f0.yaml +++ b/platforms/stm32/f0.yaml @@ -1,5 +1,10 @@ # This is incomplete, just preserving register addresses! - periph: + stm32_flash: + FLASH: + type: f1 + offset: 0x40022000 + stm32_gpio: GPIOA: offset: 0x48000000 diff --git a/platforms/stm32/f1.yaml b/platforms/stm32/f1.yaml index a71a319..7e6919d 100644 --- a/platforms/stm32/f1.yaml +++ b/platforms/stm32/f1.yaml @@ -1,5 +1,10 @@ # This is incomplete, just preserving register addresses! - periph: + stm32_flash: + FLASH: + type: f1 + offset: 0x40022000 + stm32_gpio: GPIOA: offset: 0x40010800 diff --git a/platforms/stm32/f3.yaml b/platforms/stm32/f3.yaml index 7877cd7..52b00bd 100644 --- a/platforms/stm32/f3.yaml +++ b/platforms/stm32/f3.yaml @@ -75,6 +75,11 @@ type: v1 offset: 0x40020400 + stm32_flash: + FLASH: + type: f1 + offset: 0x40022000 + stm32_gpio: GPIOA: offset: 0x48000000 diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml index 5f222c7..2aca27c 100644 --- a/platforms/stm32/f4.yaml +++ b/platforms/stm32/f4.yaml @@ -29,6 +29,11 @@ size: 64k periph: + stm32_flash: + FLASH: + type: f4 + offset: 0x40023c00 + stm32_gpio: GPIOA: offset: 0x40020000 diff --git a/platforms/stm32/l0.yaml b/platforms/stm32/l0.yaml index f8e8414..e20984d 100644 --- a/platforms/stm32/l0.yaml +++ b/platforms/stm32/l0.yaml @@ -1,5 +1,10 @@ # This is incomplete, just preserving register addresses! - periph: + stm32_flash: + FLASH: + type: l0 + offset: 0x40022000 + stm32_gpio: GPIOA: offset: 0x50000000 diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml index cb1d5fb..d8fb1f3 100644 --- a/platforms/stm32/wb.yaml +++ b/platforms/stm32/wb.yaml @@ -28,6 +28,11 @@ size: 10k periph: + stm32_flash: + FLASH: + type: wb + offset: 0x58004000 + stm32_gpio: GPIOA: offset: 0x48000000 -- cgit v1.2.3