cpu: adapted Makefiles to unified cortexm module
parent
49dcb692d1
commit
0d5c8546f3
@ -1,4 +1,3 @@
|
||||
# select CPU
|
||||
export CORTEX := cortex-m3
|
||||
export CPU_ARCH := cortex-m3
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,3 +1,3 @@
|
||||
export CORTEX = cortex-m3
|
||||
export CPU_ARCH = cortex-m3
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,3 +1,3 @@
|
||||
export CORTEX = cortex-m0
|
||||
export CPU_ARCH = cortex-m0
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,3 +1,3 @@
|
||||
export CORTEX = cortex-m3
|
||||
export CPU_ARCH = cortex-m3
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,9 +1,9 @@
|
||||
export CORTEX = cortex-m0
|
||||
export CPU_ARCH = cortex-m0plus
|
||||
|
||||
# this CPU implementation doesn't use CMSIS initialisation
|
||||
export CFLAGS += -DDONT_USE_CMSIS_INIT
|
||||
|
||||
#
|
||||
# use the hwtimer compatibility layer
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,6 +1,6 @@
|
||||
export CORTEX = cortex-m0
|
||||
export CPU_ARCH = cortex-m0
|
||||
|
||||
# use hwtimer compatibility module
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,7 +1,7 @@
|
||||
# define the module that is build
|
||||
MODULE =cpu
|
||||
MODULE = cpu
|
||||
|
||||
# add a list of subdirectories, that should also be build
|
||||
DIRS += periph $(CORTEX_COMMON)
|
||||
DIRS += periph $(RIOTCPU)/cortexm_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -1,6 +1,6 @@
|
||||
export CORTEX = cortex-m3
|
||||
export CPU_ARCH = cortex-m3
|
||||
|
||||
# use hwtimer compatibility module
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,6 +1,6 @@
|
||||
export CORTEX = cortex-m4
|
||||
export CPU_ARCH = cortex-m4f
|
||||
|
||||
# use hwtimer compatibility module
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,6 +1,6 @@
|
||||
export CORTEX = cortex-m4
|
||||
export CPU_ARCH = cortex-m4f
|
||||
|
||||
# use hwtimer compatibility module
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
@ -1,7 +1,7 @@
|
||||
# define the module that is build
|
||||
MODULE =cpu
|
||||
MODULE = cpu
|
||||
|
||||
# add a list of subdirectories, that should also be build
|
||||
DIRS += periph $(CORTEX_COMMON)
|
||||
DIRS += periph $(RIOTCPU)/cortexm_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
@ -1,6 +1,6 @@
|
||||
export CORTEX = cortex-m3
|
||||
export CPU_ARCH = cortex-m3
|
||||
|
||||
# use hwtimer compatibility module
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortex_common
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
Loading…
Reference in New Issue