mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
72d11d84b8
The configuration whether a HXTAL is present and what its clock frequency is will be added to Kconfig. Since it is the only GD32V board at the moment, the configuration is added to the Kconfig of the board, but should be moved to a common Kconfig later when more GD32V boards are added.
32 lines
705 B
Plaintext
32 lines
705 B
Plaintext
# Copyright (c) 2020 Inria
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config BOARD
|
|
default "seeedstudio-gd32" if BOARD_SEEEDSTUDIO_GD32
|
|
|
|
config BOARD_SEEEDSTUDIO_GD32
|
|
bool
|
|
default y
|
|
select CPU_MODEL_GD32VF103VBT6
|
|
select HAS_PERIPH_UART
|
|
select BOARD_HAS_HXTAL
|
|
select BOARD_HAS_LXTAL
|
|
|
|
config BOARD_HAS_HXTAL
|
|
bool
|
|
help
|
|
Indicates that the board is providing an HXTAL oscillator
|
|
|
|
config BOARD_HAS_LXTAL
|
|
bool
|
|
help
|
|
Indicates that the board is providing an LXTAL oscillator
|
|
|
|
config CLOCK_HXTAL
|
|
int
|
|
default 80000000
|