soc: stm32: Adds support for STM32F401XD variants
Introduces config file entries for STM32F401XD variants. The STM32F401XD family is related to the STM32F401XE family but with a reduced flash memory. Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
This commit is contained in:
parent
0032951e29
commit
2b553ba74f
3 changed files with 17 additions and 0 deletions
|
@ -43,6 +43,7 @@ family:
|
||||||
- name: stm32f4x
|
- name: stm32f4x
|
||||||
socs:
|
socs:
|
||||||
- name: stm32f401xc
|
- name: stm32f401xc
|
||||||
|
- name: stm32f401xd
|
||||||
- name: stm32f401xe
|
- name: stm32f401xe
|
||||||
- name: stm32f405xx
|
- name: stm32f405xx
|
||||||
- name: stm32f407xx
|
- name: stm32f407xx
|
||||||
|
|
11
soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f401xd
Normal file
11
soc/st/stm32/stm32f4x/Kconfig.defconfig.stm32f401xd
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# ST STM32F401xD MCU configuration options
|
||||||
|
|
||||||
|
# Copyright (c) 2025 Cirrus Logic, Inc.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
if SOC_STM32F401XD
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
default 85
|
||||||
|
|
||||||
|
endif # SOC_STM32F401XD
|
|
@ -14,6 +14,10 @@ config SOC_STM32F401XC
|
||||||
bool
|
bool
|
||||||
select SOC_SERIES_STM32F4X
|
select SOC_SERIES_STM32F4X
|
||||||
|
|
||||||
|
config SOC_STM32F401XD
|
||||||
|
bool
|
||||||
|
select SOC_SERIES_STM32F4X
|
||||||
|
|
||||||
config SOC_STM32F401XE
|
config SOC_STM32F401XE
|
||||||
bool
|
bool
|
||||||
select SOC_SERIES_STM32F4X
|
select SOC_SERIES_STM32F4X
|
||||||
|
@ -100,6 +104,7 @@ config SOC_STM32F479XX
|
||||||
|
|
||||||
config SOC
|
config SOC
|
||||||
default "stm32f401xc" if SOC_STM32F401XC
|
default "stm32f401xc" if SOC_STM32F401XC
|
||||||
|
default "stm32f401xd" if SOC_STM32F401XD
|
||||||
default "stm32f401xe" if SOC_STM32F401XE
|
default "stm32f401xe" if SOC_STM32F401XE
|
||||||
default "stm32f405xx" if SOC_STM32F405XX
|
default "stm32f405xx" if SOC_STM32F405XX
|
||||||
default "stm32f407xx" if SOC_STM32F407XE
|
default "stm32f407xx" if SOC_STM32F407XE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue