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:
parent
b36b2ee748
commit
2a62840af3
19
boards/hifive1/Kconfig
Normal file
19
boards/hifive1/Kconfig
Normal 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
21
boards/hifive1b/Kconfig
Normal 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
|
Loading…
Reference in New Issue
Block a user