Skip to content

Commit

Permalink
soc: stm32: add support for stm32h750xx
Browse files Browse the repository at this point in the history
Add support for STM32H750XX SoC.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and jhedberg committed Mar 10, 2020
1 parent d3b5727 commit 244ebb8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions soc/arm/st_stm32/stm32h7/Kconfig.defconfig.stm32h750xx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ST STM32H750XX MCU configuration options

# Copyright (c) 2020 Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0

if SOC_STM32H750XX

config SOC
default "stm32h750xx"

config NUM_IRQS
default 150

endif # SOC_STM32H750XX
6 changes: 6 additions & 0 deletions soc/arm/st_stm32/stm32h7/Kconfig.soc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ST Microelectronics STM32H7 MCU line

# Copyright (c) 2019 Linaro Limited
# Copyright (c) 2020 Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0

choice
Expand All @@ -11,4 +12,9 @@ config SOC_STM32H747XX
bool "STM32H747XX"
select CPU_HAS_FPU_DOUBLE_PRECISION if CPU_CORTEX_M7

config SOC_STM32H750XX
bool "STM32H750XX"
select CPU_CORTEX_M7
select CPU_HAS_FPU_DOUBLE_PRECISION

endchoice

0 comments on commit 244ebb8

Please sign in to comment.