2021-10-18 22:44:47 +08:00
|
|
|
# Sipeed Longan Nano Lite board Configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
CONFIG_SOC_SERIES_GD32VF103=y
|
|
|
|
CONFIG_SOC_GD32VF103=y
|
|
|
|
CONFIG_GD32_HXTAL_8MHZ=y
|
|
|
|
|
|
|
|
# enable machine timer
|
|
|
|
CONFIG_RISCV_MACHINE_TIMER=y
|
2021-12-05 07:56:48 +08:00
|
|
|
|
|
|
|
# enable uart driver
|
|
|
|
CONFIG_SERIAL=y
|
|
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
|
|
|
|
|
|
# enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|