-
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 #14310 from leandrolanzieri/pr/kconfig/efm32_board…
…s_symbols boards/efm32-based: Model features in Kconfig
- Loading branch information
Showing
18 changed files
with
1,167 additions
and
1 deletion.
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,10 @@ | ||
# 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_COMMON_SILABS | ||
bool | ||
select HAS_ARDUINO | ||
select HAS_RIOTBOOT |
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,19 @@ | ||
# 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_COMMON_SLWSTK6000B | ||
bool | ||
select BOARD_COMMON_SILABS | ||
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 | ||
select HAS_PERIPH_UART_MODECFG | ||
|
||
source "$(RIOTBOARD)/common/silabs/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
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 "ikea-tradfri" if BOARD_IKEA_TRADFRI | ||
|
||
config BOARD_IKEA_TRADFRI | ||
bool | ||
default y | ||
select CPU_MODEL_EFR32MG1P132F256GM32 | ||
select HAS_PERIPH_RTC | ||
select HAS_PERIPH_RTT | ||
select HAS_PERIPH_SPI | ||
select HAS_PERIPH_TIMER | ||
select HAS_PERIPH_UART | ||
select HAS_PERIPH_UART_MODECFG | ||
select HAS_RIOTBOOT |
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,24 @@ | ||
# 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 "slstk3401a" if BOARD_SLSTK3401A | ||
|
||
config BOARD_SLSTK3401A | ||
bool | ||
default y | ||
select BOARD_COMMON_SILABS | ||
select CPU_MODEL_EFM32PG1B200F256GM48 | ||
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 | ||
select HAS_PERIPH_UART_MODECFG | ||
|
||
source "$(RIOTBOARD)/common/silabs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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 "slstk3402a" if BOARD_SLSTK3402A | ||
|
||
config BOARD_SLSTK3402A | ||
bool | ||
default y | ||
select BOARD_COMMON_SILABS | ||
select CPU_MODEL_EFM32PG12B500F1024GL125 | ||
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 | ||
select HAS_PERIPH_UART_MODECFG | ||
|
||
source "$(RIOTBOARD)/common/silabs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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 "sltb001a" if BOARD_SLTB001A | ||
|
||
config BOARD_SLTB001A | ||
bool | ||
default y | ||
select BOARD_COMMON_SILABS | ||
select CPU_MODEL_EFR32MG1P132F256GM48 | ||
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 | ||
select HAS_PERIPH_UART_MODECFG | ||
|
||
source "$(RIOTBOARD)/common/silabs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 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 "slwstk6000b-slwrb4150a" if BOARD_SLWSTK6000B_SLWRB4150A | ||
|
||
config BOARD_SLWSTK6000B_SLWRB4150A | ||
bool | ||
default y | ||
select CPU_MODEL_EFR32MG1P233F256GM48 | ||
select BOARD_COMMON_SLWSTK6000B | ||
|
||
source "$(RIOTBOARD)/common/slwstk6000b/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# 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 "slwstk6000b-slwrb4162a" if BOARD_SLWSTK6000B_SLWRB4162A | ||
|
||
config BOARD_SLWSTK6000B_SLWRB4162A | ||
bool | ||
default y | ||
select CPU_MODEL_EFR32MG12P332F1024GL125 | ||
select BOARD_COMMON_SLWSTK6000B | ||
|
||
source "$(RIOTBOARD)/common/slwstk6000b/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 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 "stk3600" if BOARD_STK3600 | ||
|
||
config BOARD_STK3600 | ||
bool | ||
default y | ||
select BOARD_COMMON_SILABS | ||
select CPU_MODEL_EFM32LG990F256 | ||
select HAS_PERIPH_ADC | ||
select HAS_PERIPH_DAC | ||
select HAS_PERIPH_I2C | ||
select HAS_PERIPH_PWM | ||
select HAS_PERIPH_RTC | ||
select HAS_PERIPH_RTT | ||
select HAS_PERIPH_SPI | ||
select HAS_PERIPH_TIMER | ||
select HAS_PERIPH_UART | ||
select HAS_PERIPH_UART_MODECFG | ||
|
||
source "$(RIOTBOARD)/common/silabs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# 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 "stk3700" if BOARD_STK3700 | ||
|
||
config BOARD_STK3700 | ||
bool | ||
default y | ||
select BOARD_COMMON_SILABS | ||
select CPU_MODEL_EFM32GG990F1024 | ||
select HAS_PERIPH_ADC | ||
select HAS_PERIPH_DAC | ||
select HAS_PERIPH_I2C | ||
select HAS_PERIPH_PWM | ||
select HAS_PERIPH_RTC | ||
select HAS_PERIPH_RTT | ||
select HAS_PERIPH_SPI | ||
select HAS_PERIPH_TIMER | ||
select HAS_PERIPH_UART | ||
select HAS_PERIPH_UART_MODECFG | ||
|
||
source "$(RIOTBOARD)/common/silabs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 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 CPU_COMMON_EFM32 | ||
bool | ||
select HAS_ARCH_EFM32 | ||
select HAS_CORTEXM_MPU | ||
select HAS_CPU_EFM32 | ||
select HAS_PERIPH_CPUID | ||
select HAS_PERIPH_FLASHPAGE | ||
select HAS_PERIPH_FLASHPAGE_RAW | ||
select HAS_PERIPH_GPIO | ||
select HAS_PERIPH_GPIO_IRQ | ||
|
||
## Definition of specific features | ||
config HAS_ARCH_EFM32 | ||
bool | ||
help | ||
Indicates that the 'efm32' architecture is being used. | ||
|
||
config HAS_CPU_EFM32 | ||
bool | ||
help | ||
Indicates that the CPU being used is an EFM32. | ||
|
||
## Common CPU symbols | ||
config CPU | ||
default "efm32" if CPU_COMMON_EFM32 | ||
|
||
orsource "families/*/Kconfig" | ||
source "$(RIOTCPU)/cortexm_common/Kconfig" |
Oops, something went wrong.