1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/hifive1*: add Kconfig configuration

This commit is contained in:
Alexandre Abadie 2020-06-23 21:39:33 +02:00
parent b36b2ee748
commit 2a62840af3
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 40 additions and 0 deletions

19
boards/hifive1/Kconfig Normal file
View File

@ -0,0 +1,19 @@
# 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 "hifive1" if BOARD_HIFIVE1
config BOARD_HIFIVE1
bool
default y
select CPU_MODEL_FE310_G000
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART

21
boards/hifive1b/Kconfig Normal file
View File

@ -0,0 +1,21 @@
# 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 "hifive1b" if BOARD_HIFIVE1B
config BOARD_HIFIVE1B
bool
default y
select CPU_MODEL_FE310_G002
select HAS_PERIPH_I2C
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT
select HAS_PERIPH_SPI
select HAS_PERIPH_TIMER
select HAS_PERIPH_UART
select HAS_ARDUINO