mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core: sys: move ringbuffer to core
This commit is contained in:
parent
73dddfb601
commit
9ce0b676b4
@ -48,7 +48,6 @@ ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter uart0,$(USEMODULE)))
|
||||
USEMODULE += lib
|
||||
USEMODULE += posix
|
||||
endif
|
||||
|
||||
@ -102,10 +101,6 @@ ifneq (,$(filter rgbled,$(USEMODULE)))
|
||||
USEMODULE += color
|
||||
endif
|
||||
|
||||
ifneq (,$(filter pipe,$(USEMODULE)))
|
||||
USEMODULE += lib
|
||||
endif
|
||||
|
||||
ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
||||
USEPKG += libfixmath
|
||||
endif
|
||||
|
@ -8,7 +8,7 @@
|
||||
* General Public License v2.1. See the file LICENSE in the top level
|
||||
* directory for more details.
|
||||
*
|
||||
* @ingroup sys_lib
|
||||
* @ingroup core_util
|
||||
* @{
|
||||
* @file ringbuffer.h
|
||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
@ -8,7 +8,7 @@
|
||||
* General Public License v2.1. See the file LICENSE in the top level
|
||||
* directory for more details.
|
||||
*
|
||||
* @ingroup sys_lib
|
||||
* @ingroup core_util
|
||||
* @{
|
||||
* @file ringbuffer.c
|
||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
@ -21,8 +21,5 @@ export UNDEF += $(BINDIR)cpu/startup.o
|
||||
# export the peripheral drivers to be linked into the final binary
|
||||
export USEMODULE += periph
|
||||
|
||||
# the uart implementation uses ringbuffer and therefore needs lib
|
||||
export USEMODULE += lib
|
||||
|
||||
# CPU depends on the atmega common module, so include it
|
||||
include $(ATMEGA_COMMON)Makefile.include
|
||||
|
@ -25,9 +25,6 @@ export UNDEF += $(BINDIR)cpu/startup.o
|
||||
# Export the peripheral drivers to be linked into the final binary:
|
||||
export USEMODULE += periph
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# CPU depends on the cortex-m common module, so include it:
|
||||
include $(CORTEX_COMMON)Makefile.include
|
||||
|
||||
|
@ -26,8 +26,5 @@ export UNDEF += $(BINDIR)cpu/startup.o
|
||||
# export the peripheral drivers to be linked into the final binary
|
||||
export USEMODULE += periph
|
||||
|
||||
# the syscalls implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# CPU depends on the cortex-m common module, so include it
|
||||
include $(CORTEX_COMMON)Makefile.include
|
||||
|
@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1
|
||||
# export the peripheral drivers to be linked into the final binary
|
||||
export USEMODULE += periph
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# tell the build system that the CPU depends on the Cortex-M common files
|
||||
export USEMODULE += cortex-m3_common
|
||||
|
||||
|
@ -10,9 +10,6 @@ export USEMODULE += cortex-m0_common
|
||||
# define path to cortex-m common module, which is needed for this CPU
|
||||
export CORTEX_COMMON = $(RIOTCPU)/cortex-m0_common/
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# define the linker script to use for this CPU
|
||||
export LINKERSCRIPT ?= $(RIOTCPU)/$(CPU)/samd21_linkerscript.ld
|
||||
|
||||
|
@ -7,9 +7,6 @@ export USEMODULE += cortex-m0_common
|
||||
# define path to cortex-m common module, which is needed for this CPU
|
||||
export CORTEX_COMMON = $(RIOTCPU)/cortex-m0_common/
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# define the linker script to use for this CPU. The CPU_MODEL variable is defined in the
|
||||
# board's Makefile.include. This enables multiple STMF0 controllers with different memory to
|
||||
# use the same code-base.
|
||||
|
@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1
|
||||
# tell the build system that the CPU depends on the Cortex-M common files
|
||||
export USEMODULE += cortex-m3_common
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# define path to cortex-m common module, which is needed for this CPU
|
||||
export CORTEXM_COMMON = $(RIOTCPU)/cortex-m3_common/
|
||||
|
||||
|
@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1
|
||||
# export the peripheral drivers to be linked into the final binary
|
||||
export USEMODULE += periph
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# tell the build system that the CPU depends on the Cortex-M common files
|
||||
export USEMODULE += cortex-m4_common
|
||||
|
||||
|
@ -4,9 +4,6 @@ export CFLAGS += -DCOREIF_NG=1
|
||||
# export the peripheral drivers to be linked into the final binary
|
||||
export USEMODULE += periph
|
||||
|
||||
# this CPU implementation makes use of the ringbuffer, so include the lib module
|
||||
export USEMODULE += lib
|
||||
|
||||
# tell the build system that the CPU depends on the Cortex-M common files
|
||||
export USEMODULE += cortex-m4_common
|
||||
|
||||
|
@ -5,7 +5,6 @@ BOARD_BLACKLIST := chronos mbed_lpc1768 msb-430 msb-430h native qemu-i386 redbee
|
||||
wsn430-v1_3b wsn430-v1_4 z1
|
||||
# all listed boards: no periph_conf.h defined,
|
||||
|
||||
USEMODULE += lib
|
||||
USEMODULE += vtimer
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1 +0,0 @@
|
||||
USEMODULE += lib
|
Loading…
Reference in New Issue
Block a user