1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23:49 +01:00

boards/common: clean up msba2 common files

The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.

Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.

This should eventuelly be moved to `makefiles/tools/`
This commit is contained in:
Benjamin Valentin 2019-11-16 11:57:15 +01:00
parent e52c92eb42
commit 60686c96dc
15 changed files with 10 additions and 59 deletions

View File

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

View File

@ -1 +1,3 @@
include $(RIOTBOARD)/common/msba2/Makefile.dep
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
USEMODULE += cc1100
endif

View File

@ -1,3 +1,5 @@
CPU = lpc2387
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi
@ -5,5 +7,3 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
# Various other features (if any)
include $(RIOTBOARD)/common/msba2/Makefile.features

View File

@ -1,3 +1 @@
USEMODULE += boards_common_msba2
include $(RIOTBOARD)/common/msba2/Makefile.include

View File

@ -22,8 +22,9 @@
#ifndef BOARD_H
#define BOARD_H
#include "lpc2387.h"
#include "bitarithm.h"
#include "msba2_common.h"
#ifdef __cplusplus
extern "C" {

View File

@ -1,3 +0,0 @@
MODULE = boards_common_msba2
include $(RIOTBASE)/Makefile.base

View File

@ -1 +0,0 @@
CPU = lpc2387

View File

@ -21,5 +21,3 @@ include $(RIOTMAKE)/tools/serial.inc.mk
FLASHFILE ?= $(HEXFILE)
FFLAGS = $(PROG_DEV) $(FLASHFILE)
INCLUDES += -I$(RIOTBOARD)/common/msba2/include

View File

@ -1,36 +0,0 @@
/*
* Copyright 2014 Kaspar Schleiser <kaspar@schleiser.de>
*
* 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.
*/
/**
* @defgroup boards_common_msba2 MSB-A2 common
* @ingroup boards_common
* @brief Shared files and configuration for all MSB-A2 boards.
* @{
*
* @file
* @brief MSB-A2 Common Board Definitions
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef MSBA2_COMMON_H
#define MSBA2_COMMON_H
#include <stdint.h>
#include "lpc2387.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
/** @} */
#endif /* MSBA2_COMMON_H */

View File

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

View File

@ -1,5 +1,3 @@
include $(RIOTBOARD)/common/msba2/Makefile.dep
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
USEMODULE += cc1100
endif

View File

@ -1,3 +1,5 @@
CPU = lpc2387
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_rtc
@ -6,5 +8,3 @@ FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
# Various other features (if any)
include $(RIOTBOARD)/common/msba2/Makefile.features

View File

@ -1,4 +1,2 @@
USEMODULE += boards_common_msba2
include $(RIOTBOARD)/common/msba2/Makefile.include
include $(RIOTMAKE)/tools/openocd.inc.mk

View File

@ -19,7 +19,7 @@
#ifndef BOARD_H
#define BOARD_H
#include "msba2_common.h"
#include "lpc2387.h"
#include "bitarithm.h"
#ifdef __cplusplus