Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmsis hsp compatible #124

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/BasicMathFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
38 changes: 38 additions & 0 deletions mathworks/DSP_Lib/GCC/MathLibraryMakefiles/CommonTablesMakefile.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@


# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/CommonTables

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk


Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/ComplexMathFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk




Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/ControllerFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/FastMathFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR

MathLibraryDir = $(CMSIS_DSP_Lib)/FilteringFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/MatrixFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/StatisticsFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/SupportFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# External defines

# CMSIS_PATH
# CMSIS_DSP_Lib
# CFLAGS
# CPPFLAGS
# ASFLAGS
# CC
# CPP
# AS
# START_DIR
# OUTPUT_O_DIR


MathLibraryDir = $(CMSIS_DSP_Lib)/TransformFunctions

# Find all c files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.c)
COBJS := $(patsubst %.c,%.c.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.cpp)
CPPOBJS := $(patsubst %.cpp,%.cpp.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)

# Find all cpp files
ALL_L_SRCS := $(wildcard $(MathLibraryDir)/*.s)
ASOBJS := $(patsubst %.s,%.s.o,$(ALL_L_SRCS))
ALL_SRCS += $(ALL_L_SRCS)


ALL_OBJS += $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(COBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(CPPOBJS))) $(addprefix $(OUTPUT_O_DIR)/,$(notdir $(ASOBJS)))

include $(START_DIR)/MathLibraryMakefiles/arm_cortex_mathLib.mk
Loading