-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14203 from leandrolanzieri/pr/kconfig/atmega128rf…
…a1_boards_symbols boards/atmega128rfa1-based: Model features in Kconfig
- Loading branch information
Showing
5 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright (c) 2020 HAW Hamburg | ||
# | ||
# 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 "derfmega128" if BOARD_DERFMEGA128 | ||
|
||
config BOARD_DERFMEGA128 | ||
bool | ||
default y | ||
select CPU_MODEL_ATMEGA128RFA1 | ||
select HAS_PERIPH_ADC | ||
select HAS_PERIPH_I2C | ||
select HAS_PERIPH_RTC | ||
select HAS_PERIPH_RTT | ||
select HAS_PERIPH_SPI | ||
select HAS_PERIPH_TIMER | ||
select HAS_PERIPH_UART |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2020 HAW Hamburg | ||
# | ||
# 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 "microduino-corerf" if BOARD_MICRODUINO_CORERF | ||
|
||
config BOARD_MICRODUINO_CORERF | ||
bool | ||
default y | ||
select CPU_MODEL_ATMEGA128RFA1 | ||
select HAS_PERIPH_ADC | ||
select HAS_PERIPH_I2C | ||
select HAS_PERIPH_RTC | ||
select HAS_PERIPH_RTT | ||
select HAS_PERIPH_SPI | ||
select HAS_PERIPH_TIMER | ||
select HAS_PERIPH_UART |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright (c) 2020 HAW Hamburg | ||
# | ||
# 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. | ||
# | ||
|
||
## CPU Models | ||
config CPU_MODEL_ATMEGA128RFA1 | ||
bool | ||
select CPU_FAM_ATMEGA128 | ||
select HAS_CPU_ATMEGA128RFA1 | ||
select HAS_ATMEGA_PCINT1 | ||
|
||
## Definition of specific features | ||
config HAS_CPU_ATMEGA128RFA1 | ||
bool | ||
help | ||
Indicates that a 'atmega128rfa1' cpu is being used. | ||
|
||
## Common CPU symbols | ||
config CPU_MODEL | ||
default "atmega128rfa1" if CPU_MODEL_ATMEGA128RFA1 | ||
|
||
config CPU | ||
default "atmega128rfa1" if CPU_MODEL_ATMEGA128RFA1 | ||
|
||
source "$(RIOTCPU)/atmega_common/Kconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters