soc/arm/st_stm32: Add additional stm32g0 socs
Add soc configuration for g05x and g0bx socs. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
parent
aace0063ec
commit
c743beec64
9 changed files with 88 additions and 6 deletions
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g030xx
Normal file
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g030xx
Normal file
|
@ -0,0 +1,14 @@
|
|||
# STMicroelectronics STM32G030xx MCU
|
||||
|
||||
# Copyright (c) 2020 Thomas Stranger
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32G030XX
|
||||
|
||||
config SOC
|
||||
default "stm32g030xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 29
|
||||
|
||||
endif # SOC_STM32G030XX
|
|
@ -6,11 +6,9 @@
|
|||
if SOC_STM32G031XX
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32g031xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 30
|
||||
|
||||
endif # SOC_STM32G031XX
|
||||
|
|
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g050xx
Normal file
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g050xx
Normal file
|
@ -0,0 +1,14 @@
|
|||
# STMicroelectronics STM32G050xx MCU
|
||||
|
||||
# Copyright (c) 2020 Thomas Stranger
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32G050XX
|
||||
|
||||
config SOC
|
||||
default "stm32g050xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 29
|
||||
|
||||
endif # SOC_STM32G050XX
|
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g051xx
Normal file
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g051xx
Normal file
|
@ -0,0 +1,14 @@
|
|||
# STMicroelectronics STM32G051xx MCU
|
||||
|
||||
# Copyright (c) 2020 Thomas Stranger
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32G051XX
|
||||
|
||||
config SOC
|
||||
default "stm32g051xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 30
|
||||
|
||||
endif # SOC_STM32G051XX
|
|
@ -6,11 +6,9 @@
|
|||
if SOC_STM32G070XX
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32g070xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 30
|
||||
|
||||
endif # SOC_STM32G070XX
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# STMicroelectronics STM32G071RB MCU
|
||||
# STMicroelectronics STM32G071xx MCU
|
||||
|
||||
# Copyright (c) 2019 Philippe Retornaz <philippe@shapescale.com>
|
||||
# Copyright (c) 2019 STMicroelectronics
|
||||
|
@ -10,6 +10,6 @@ config SOC
|
|||
default "stm32g071xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 32
|
||||
default 31
|
||||
|
||||
endif # SOC_STM32G071XX
|
||||
|
|
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g0b0xx
Normal file
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g0b0xx
Normal file
|
@ -0,0 +1,14 @@
|
|||
# STMicroelectronics STM32G0B0xx MCU
|
||||
|
||||
# Copyright (c) 2020 Thomas Stranger
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32G0B0XX
|
||||
|
||||
config SOC
|
||||
default "stm32g0b0xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 30
|
||||
|
||||
endif # SOC_STM32G0B0XX
|
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g0b1xx
Normal file
14
soc/arm/st_stm32/stm32g0/Kconfig.defconfig.stm32g0b1xx
Normal file
|
@ -0,0 +1,14 @@
|
|||
# STMicroelectronics STM32G0B1xx MCU
|
||||
|
||||
# Copyright (c) 2020 Thomas Stranger
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32G0B1XX
|
||||
|
||||
config SOC
|
||||
default "stm32g0b1xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 31
|
||||
|
||||
endif # SOC_STM32G0B1XX
|
|
@ -2,19 +2,35 @@
|
|||
|
||||
# Copyright (c) 2019 Philippe Retornaz <philippe@shapescale.com>
|
||||
# Copyright (c) 2019 STMicroelectronics
|
||||
# Copyright (c) 2020 Thomas Stranger
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
choice
|
||||
prompt "STM32G0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32G0X
|
||||
|
||||
config SOC_STM32G030XX
|
||||
bool "STM32G030XX"
|
||||
|
||||
config SOC_STM32G031XX
|
||||
bool "STM32G031XX"
|
||||
|
||||
config SOC_STM32G050XX
|
||||
bool "STM32G050XX"
|
||||
|
||||
config SOC_STM32G051XX
|
||||
bool "STM32G051XX"
|
||||
|
||||
config SOC_STM32G070XX
|
||||
bool "STM32G070XX"
|
||||
|
||||
config SOC_STM32G071XX
|
||||
bool "STM32G071XX"
|
||||
|
||||
config SOC_STM32G0B0XX
|
||||
bool "STM32G0B0XX"
|
||||
|
||||
config SOC_STM32G0B1XX
|
||||
bool "STM32G0B1XX"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue