Merge pull request #6223 from haukepetersen/opt_samxyz21_structure

cpu/sam0: structural clean-up for sam[dlr]21 CPUs
pr/spi.typo
Kaspar Schleiser 7 years ago committed by GitHub
commit 2c02520f73

@ -1,7 +1,6 @@
# define the cpu used by Arduino/Genuino Zero board
export CPU = samd21
export CPU_MODEL = samd21g18a
export CFLAGS += -D__SAMD21G18A__
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0

@ -1,7 +1,6 @@
# define the cpu used by SAMR21 Xplained Pro board
export CPU = samd21
export CPU_MODEL = samr21x18a
CFLAGS += -D__SAMR21G18A__
export CPU_MODEL = samr21g18a
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0

@ -1,7 +1,6 @@
# define the cpu used by SODAQ Autonomo board
export CPU = samd21
export CPU_MODEL = samd21j18a
CFLAGS += -D__SAMD21J18A__
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0

@ -4,11 +4,14 @@ CFLAGS += -DCPU_FAM_$(shell echo $(CPU_FAM) | tr 'a-z-' 'A-Z_')
# this CPU implementation doesn't use CMSIS initialization
export CFLAGS += -DDONT_USE_CMSIS_INIT
# for the sam[drl] CPUs we hold all linkerscripts in the sam0 common folder
export LINKFLAGS += -L$(RIOTCPU)/sam0_common/ldscripts
# use common periph functions
USEMODULE += periph_common
# include sam21 common periph drivers
USEMODULE += sam21_common_periph
# include sam0 common periph drivers
USEMODULE += sam0_common_periph
# export the common include directory
export INCLUDES += -I$(RIOTCPU)/sam21_common/include
export INCLUDES += -I$(RIOTCPU)/sam0_common/include

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save