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

Merge pull request #15714 from basilfx/feature/efm32_boards_cleanup

boards/e180-zg120b-tb: board cleanups
This commit is contained in:
Bas Stottelaar 2021-01-07 16:24:11 +01:00 committed by GitHub
commit 40ce74b54d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 3 additions and 21 deletions

View File

@ -10,7 +10,6 @@ config BOARD
config BOARD_E180_ZG120B_TB
bool
default y
select BOARD_COMMON_SILABS
select CPU_MODEL_EFR32MG1B232F256GM32
select HAS_PERIPH_ADC
select HAS_PERIPH_RTC

View File

@ -1,5 +1,3 @@
MODULE = board
DIRS = $(RIOTBOARD)/common/silabs
include $(RIOTBASE)/Makefile.base

View File

@ -2,9 +2,3 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += efm32_coretemp
USEMODULE += saul_gpio
endif
# add board common drivers
USEMODULE += boards_common_silabs
# include board common dependencies
include $(RIOTBOARD)/common/silabs/Makefile.dep

View File

@ -10,7 +10,5 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart periph_uart_modecfg
# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
FEATURES_PROVIDED += efm32_coretemp
include $(RIOTBOARD)/common/silabs/Makefile.features
FEATURES_PROVIDED += riotboot

View File

@ -1,10 +1,4 @@
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# setup JLink for flashing
PROGRAMMER ?= jlink
JLINK_DEVICE = EFR32MG1BxxxF256
JLINK_PRE_FLASH = r
# include board common
include $(RIOTBOARD)/common/silabs/Makefile.include

View File

@ -20,7 +20,6 @@
*/
#include "board.h"
#include "board_common.h"
void board_init(void)
{

View File

@ -11,5 +11,5 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart periph_uart_modecfg
# Put other features for this board (in alphabetical order)
FEATURES_PROVIDED += riotboot
FEATURES_PROVIDED += efm32_coretemp
FEATURES_PROVIDED += riotboot