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:
Galen Seitz 2018-10-09 22:23:36 -07:00 committed by Anas Nashif
parent d509100e11
commit 498fa532c9
2 changed files with 32 additions and 0 deletions

View 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

View file

@ -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