dts: arm: stm32: add stm32f303xb bindings
The STM32F303xB is very similar to the xC, the only difference being the RAM and flash sizes. Signed-off-by: Martin Gritzan <martin.gritzan@gmail.com>
This commit is contained in:
parent
05df6830b7
commit
86cf5829a4
5 changed files with 73 additions and 51 deletions
16
soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f303x(b-c)
Normal file
16
soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f303x(b-c)
Normal file
|
@ -0,0 +1,16 @@
|
|||
# ST Microelectronics STM32F303XC MCU
|
||||
|
||||
# Copyright (c) 2016 RnDity Sp. z o.o.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# The HAL expects STM32F302XC to be defined for both the xB and xC variants (only RAM- and Flash-
|
||||
# size differ).
|
||||
if SOC_STM32F303XB || SOC_STM32F303XC
|
||||
|
||||
config SOC
|
||||
default "stm32f303xc"
|
||||
|
||||
config NUM_IRQS
|
||||
default 82
|
||||
|
||||
endif # SOC_STM32F303XB || SOC_STM32F303XC
|
|
@ -1,14 +0,0 @@
|
|||
# ST Microelectronics STM32F303XC MCU
|
||||
|
||||
# Copyright (c) 2016 RnDity Sp. z o.o.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32F303XC
|
||||
|
||||
config SOC
|
||||
default "stm32f303xc"
|
||||
|
||||
config NUM_IRQS
|
||||
default 82
|
||||
|
||||
endif # SOC_STM32F303XC
|
|
@ -17,6 +17,10 @@ config SOC_STM32F302XC
|
|||
config SOC_STM32F303X8
|
||||
bool "STM32F303X8"
|
||||
|
||||
config SOC_STM32F303XB
|
||||
bool "STM32F303XB"
|
||||
select CPU_HAS_ARM_MPU
|
||||
|
||||
config SOC_STM32F303XC
|
||||
bool "STM32F303XC"
|
||||
select CPU_HAS_ARM_MPU
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue