Merge pull request #2017 from kaspar030/move_ringbuffer_to_core
Move ringbuffer to core
This commit is contained in:
commit
3ea777ff14
@ -48,7 +48,6 @@ ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter uart0,$(USEMODULE)))
|
ifneq (,$(filter uart0,$(USEMODULE)))
|
||||||
USEMODULE += lib
|
|
||||||
USEMODULE += posix
|
USEMODULE += posix
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -102,10 +101,6 @@ ifneq (,$(filter rgbled,$(USEMODULE)))
|
|||||||
USEMODULE += color
|
USEMODULE += color
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter pipe,$(USEMODULE)))
|
|
||||||
USEMODULE += lib
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
||||||
USEPKG += libfixmath
|
USEPKG += libfixmath
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
* General Public License v2.1. See the file LICENSE in the top level
|
* General Public License v2.1. See the file LICENSE in the top level
|
||||||
* directory for more details.
|
* directory for more details.
|
||||||
*
|
*
|
||||||
* @ingroup sys_lib
|
* @ingroup core_util
|
||||||
* @{
|
* @{
|
||||||
* @file ringbuffer.h
|
* @file ringbuffer.h
|
||||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
* General Public License v2.1. See the file LICENSE in the top level
|
* General Public License v2.1. See the file LICENSE in the top level
|
||||||
* directory for more details.
|
* directory for more details.
|
||||||
*
|
*
|
||||||
* @ingroup sys_lib
|
* @ingroup core_util
|
||||||
* @{
|
* @{
|
||||||
* @file ringbuffer.c
|
* @file ringbuffer.c
|
||||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
* @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 the peripheral drivers to be linked into the final binary
|
||||||
export USEMODULE += periph
|
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
|
# CPU depends on the atmega common module, so include it
|
||||||
include $(ATMEGA_COMMON)Makefile.include
|
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 the peripheral drivers to be linked into the final binary:
|
||||||
export USEMODULE += periph
|
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:
|
# CPU depends on the cortex-m common module, so include it:
|
||||||
include $(CORTEX_COMMON)Makefile.include
|
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 the peripheral drivers to be linked into the final binary
|
||||||
export USEMODULE += periph
|
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
|
# CPU depends on the cortex-m common module, so include it
|
||||||
include $(CORTEX_COMMON)Makefile.include
|
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 the peripheral drivers to be linked into the final binary
|
||||||
export USEMODULE += periph
|
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
|
# tell the build system that the CPU depends on the Cortex-M common files
|
||||||
export USEMODULE += cortex-m3_common
|
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
|
# define path to cortex-m common module, which is needed for this CPU
|
||||||
export CORTEX_COMMON = $(RIOTCPU)/cortex-m0_common/
|
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
|
# define the linker script to use for this CPU
|
||||||
export LINKERSCRIPT ?= $(RIOTCPU)/$(CPU)/samd21_linkerscript.ld
|
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
|
# define path to cortex-m common module, which is needed for this CPU
|
||||||
export CORTEX_COMMON = $(RIOTCPU)/cortex-m0_common/
|
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
|
# 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
|
# board's Makefile.include. This enables multiple STMF0 controllers with different memory to
|
||||||
# use the same code-base.
|
# 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
|
# tell the build system that the CPU depends on the Cortex-M common files
|
||||||
export USEMODULE += cortex-m3_common
|
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
|
# define path to cortex-m common module, which is needed for this CPU
|
||||||
export CORTEXM_COMMON = $(RIOTCPU)/cortex-m3_common/
|
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 the peripheral drivers to be linked into the final binary
|
||||||
export USEMODULE += periph
|
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
|
# tell the build system that the CPU depends on the Cortex-M common files
|
||||||
export USEMODULE += cortex-m4_common
|
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 the peripheral drivers to be linked into the final binary
|
||||||
export USEMODULE += periph
|
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
|
# tell the build system that the CPU depends on the Cortex-M common files
|
||||||
export USEMODULE += cortex-m4_common
|
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
|
wsn430-v1_3b wsn430-v1_4 z1
|
||||||
# all listed boards: no periph_conf.h defined,
|
# all listed boards: no periph_conf.h defined,
|
||||||
|
|
||||||
USEMODULE += lib
|
|
||||||
USEMODULE += vtimer
|
USEMODULE += vtimer
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
USEMODULE += lib
|
|
||||||
Loading…
x
Reference in New Issue
Block a user