1
0
mirror of https://github.com/olofk/serv.git synced 2026-01-11 23:42:50 +00:00
olofk.serv/zephyr/soc/riscv/servant/Kconfig.defconfig
2024-12-17 11:39:13 +00:00

39 lines
558 B
Plaintext

# Copyright (c) 2020 Olof Kindgren <olof.kindgren@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if SOC_RISCV32_SERVANT
config SOC
string
default "servant"
config SYS_CLOCK_HW_CYCLES_PER_SEC
int
default 16000000
config RISCV_SOC_INTERRUPT_INIT
bool
default y
config NUM_IRQS
int
default 8
config SERV_TIMER
bool
default y
config ARCH_HAS_CUSTOM_CPU_IDLE
bool
default y
config ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
bool
default y
config RISCV_SOC_EXCEPTION_FROM_IRQ
bool
default y
endif # SOC_RISCV32_SERVANT