openmv/src/stm32cubeai/cube.mk
Thibaut Vercueil c23466aa09 fixed typos
2019-10-24 14:54:31 +02:00

28 lines
773 B
Makefile
Executable File

# This file is part of the OpenMV project.
#
# Copyright (c) 2019 STMicroelectronics
#
# This work is licensed under the MIT license, see the file LICENSE for details.
# Enable CUBE-AI builtin module
CFLAGS += -DCUBEAI
# Append to OMV_QSTR_DEFS
OMV_QSTR_DEFS += $(TOP_DIR)/stm32cubeai/qstrdefscubeai.h
FIRM_OBJ += $(wildcard $(BUILD)/$(CMSIS_DIR)/src/dsp/BasicMathFunctions/*.o)
FIRM_OBJ += $(wildcard $(BUILD)/$(CMSIS_DIR)/src/dsp/SupportFunctions/*.o)
FIRM_OBJ += $(addprefix $(BUILD)/stm32cubeai/data/,\
network.o \
network_data.o \
)
FIRM_OBJ += $(addprefix $(BUILD)/stm32cubeai/,\
nn_st.o \
py_st_nn.o \
)
LIBS += -l:NetworkRuntime_CM7_GCC.a -Lstm32cubeai/AI/Lib -lc -lm