soc: arm: Add Kconfig option for SOC_STM32F765XX

Adds a new Kconfig menuchoice for the STM32F765xx series.

Signed-off-by: Rahul Arasikere <arasikere.rahul@gmail.com>
This commit is contained in:
Rahul Arasikere 2023-08-29 16:03:12 -04:00 committed by Carles Cufí
commit da55c26593
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# ST STM32F765XX MCU configuration options
# Copyright (c) 2023 Rahul Arasikere
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F765XX
config SOC
default "stm32f765xx"
config NUM_IRQS
default 110
endif # SOC_STM32F765XX

View file

@ -2,6 +2,7 @@
# Copyright (c) 2018 Yurii Hamann
# Copyright (c) 2022, Rtone.
# Copyright (c) 2023, Rahul Arasikere.
# SPDX-License-Identifier: Apache-2.0
choice
@ -23,6 +24,10 @@ config SOC_STM32F756XX
config SOC_STM32F750XX
bool "STM32F750XX"
config SOC_STM32F765XX
bool "STM32F765XX"
select CPU_HAS_FPU_DOUBLE_PRECISION
config SOC_STM32F767XX
bool "STM32F767XX"
select CPU_HAS_FPU_DOUBLE_PRECISION