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:
commit
40ce74b54d
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
MODULE = board
|
||||
|
||||
DIRS = $(RIOTBOARD)/common/silabs
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -20,7 +20,6 @@
|
||||
*/
|
||||
|
||||
#include "board.h"
|
||||
#include "board_common.h"
|
||||
|
||||
void board_init(void)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user