File tree 4 files changed +35
-0
lines changed
arch/arm/soc/st_stm32/stm32f0
4 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Kconfig - ST Microelectronics STM32F072XB MCU
2
+ #
3
+ # Copyright (c) 2017 BayLibre, SAS
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+
8
+ if SOC_STM32F072XB
9
+
10
+ config SOC
11
+ string
12
+ default stm32f072xb
13
+
14
+ config FLASH_PAGE_SIZE
15
+ hex
16
+ default 0x800
17
+
18
+ config NUM_IRQS
19
+ int
20
+ default 32
21
+
22
+ endif # SOC_STM32F072XB
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ depends on SOC_SERIES_STM32F0X
12
12
config SOC_STM32F030X8
13
13
bool "STM32F030X8"
14
14
15
+ config SOC_STM32F072XB
16
+ bool "STM32F072XB"
17
+
15
18
config SOC_STM32F091XC
16
19
bool "STM32F091XC"
17
20
Original file line number Diff line number Diff line change 11
11
#if defined(CONFIG_SOC_STM32F030X8 )
12
12
#define DT_FLASH_SIZE __SIZE_K(64)
13
13
#define DT_SRAM_SIZE __SIZE_K(8)
14
+ #elif defined(CONFIG_SOC_STM32F072XB )
15
+ #define DT_FLASH_SIZE __SIZE_K(128)
16
+ #define DT_SRAM_SIZE __SIZE_K(16)
14
17
#elif defined(CONFIG_SOC_STM32F091XC )
15
18
#define DT_FLASH_SIZE __SIZE_K(256)
16
19
#define DT_SRAM_SIZE __SIZE_K(32)
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2017 BayLibre, SAS
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ #include <st/stm32f0.dtsi>
You can’t perform that action at this time.
0 commit comments