|
# Copyright (c) 2022 YuLong Yao <feilongphone@gmail.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_GD32A503
|
|
|
|
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_GD32A503
|