13 lines
232 B
Plaintext
13 lines
232 B
Plaintext
|
# Copyright (c) 2022, Rtone.
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
if SOC_GD32F470
|
||
|
|
||
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||
|
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)
|
||
|
|
||
|
config NUM_IRQS
|
||
|
default 91
|
||
|
|
||
|
endif # SOC_GD32F470
|