# Copyright (c) 2021 BrainCo Inc. | |
# SPDX-License-Identifier: Apache-2.0 | |
if SOC_GD32F405 | |
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 | |
endif # SOC_GD32F405 |