Commit 36b1a31c authored by HaiLong Yang's avatar HaiLong Yang Committed by Carles Cufi
Browse files

soc: arm: gigadevice: support gd32f405xx soc



Add support for GD32F405xx series SOCs.

Signed-off-by: default avatarHaiLong Yang <cameledyang@pm.me>
parent bba0e028
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
# Copyright (c) 2021 BrainCo Inc.
# SPDX-License-Identifier: Apache-2.0

config SOC
	default "gd32f405"

config SYS_CLOCK_HW_CYCLES_PER_SEC
	default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)

config NUM_IRQS
	default 82
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@ choice
	prompt "GigaDevice GD32F4XX MCU Selection"
	depends on SOC_SERIES_GD32F4XX

	config SOC_GD32F405
		bool "gd32f405"

	config SOC_GD32F450
		bool "gd32f450"