soc: arm: st_stm32: stm32f3: Add support for STM32F302x8
Add Kconfig support for STM32F302x8 SoC. Signed-off-by: Galen Seitz <galens@seitzassoc.com>
This commit is contained in:
parent
d509100e11
commit
498fa532c9
29
soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f302x8
Normal file
29
soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f302x8
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Kconfig - ST Microelectronics STM32F302X8 MCU
|
||||
#
|
||||
# Copyright (c) 2018 Seitz & Associates
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if SOC_STM32F302X8
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32f302x8"
|
||||
|
||||
config FLASH_PAGE_SIZE
|
||||
hex
|
||||
default 0x800
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 82
|
||||
|
||||
if GPIO_STM32
|
||||
|
||||
config GPIO_STM32_PORTF
|
||||
default y
|
||||
|
||||
endif # GPIO_STM32
|
||||
|
||||
endif # SOC_STM32F302X8
|
|
@ -9,6 +9,9 @@ choice
|
|||
prompt "STM32F3x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F3X
|
||||
|
||||
config SOC_STM32F302X8
|
||||
bool "STM32F302X8"
|
||||
|
||||
config SOC_STM32F303XC
|
||||
bool "STM32F303XC"
|
||||
select CPU_HAS_ARM_MPU
|
||||
|
|
Loading…
Reference in a new issue