2015-05-19 08:29:32 +02:00
|
|
|
PKG_NAME=cmsis-dsp
|
2018-12-06 14:11:08 +01:00
|
|
|
PKG_URL=https://github.com/ARM-software/CMSIS_5
|
|
|
|
PKG_VERSION=5.4.0
|
|
|
|
PKG_LICENSE=Apache-2.0
|
2015-05-19 08:29:32 +02:00
|
|
|
|
2019-10-02 12:47:02 +02:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
2015-05-19 08:29:32 +02:00
|
|
|
|
2021-09-29 09:32:14 +02:00
|
|
|
# include makefiles utils tools
|
|
|
|
include $(RIOTMAKE)/utils/strings.mk
|
|
|
|
|
2020-08-17 14:15:16 +02:00
|
|
|
CMSIS_DSP_MODULES = \
|
|
|
|
cmsis-dsp_BasicMathFunctions \
|
|
|
|
cmsis-dsp_CommonTables \
|
|
|
|
cmsis-dsp_ComplexMathFunctions \
|
|
|
|
cmsis-dsp_ControllerFunctions \
|
|
|
|
cmsis-dsp_FastMathFunctions \
|
|
|
|
cmsis-dsp_FilteringFunctions \
|
|
|
|
cmsis-dsp_MatrixFunctions \
|
|
|
|
cmsis-dsp_StatisticsFunctions \
|
|
|
|
cmsis-dsp_SupportFunctions \
|
|
|
|
cmsis-dsp_TransformFunctions \
|
2015-05-19 08:29:32 +02:00
|
|
|
|
2020-08-17 14:15:16 +02:00
|
|
|
.PHONY: cmsis-dsp_%
|
|
|
|
|
2021-01-13 10:15:54 +01:00
|
|
|
CFLAGS += -Wno-cast-align
|
|
|
|
|
2020-08-17 14:15:16 +02:00
|
|
|
all: $(CMSIS_DSP_MODULES)
|
|
|
|
|
|
|
|
cmsis-dsp_%:
|
2021-09-29 09:32:14 +02:00
|
|
|
$(MAKE) -C $(PKG_SOURCE_DIR)/CMSIS/DSP/Source/$* -f $(CURDIR)/Makefile.cmsis-dsp MODULE=$(call lowercase,$@)
|