File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 22
33# Check if the ModusToolbox setup has been initialized
44# If that is the case, get active board
5- MTB_LIB_DIR = mtb-libs
5+ MTB_LIB_DIR = ../../lib/ mtb-psoc6 -libs
66MTB_LIBS_APP_INFO = $(MTB_LIB_DIR ) /build/get_app_info.txt
7+
78ifneq ($(wildcard $(MTB_LIBS_APP_INFO ) ) ,)
89 ACTIVE_BOARD = $(shell egrep '^ *MTB_TARGET' $(MTB_LIBS_APP_INFO) | sed 's/^.*= *//g' | sed 's/APP_//')
910endif
@@ -54,6 +55,7 @@ include $(BOARD_DIR)/mpconfigboard.mk
5455include $(TOP ) /py/py.mk
5556include $(TOP ) /extmod/extmod.mk
5657
58+ GIT_SUBMODULES += lib/mtb-psoc6-libs
5759
5860INC += -I.
5961INC += -I$(TOP )
@@ -214,7 +216,7 @@ $(BUILD)/firmware.hex: $(BUILD)/firmware.elf
214216
215217
216218# include adapter makefile
217- include mtb-libs/makefile_mtb.mk
219+ include $( TOP ) /lib/ mtb-psoc6 -libs/makefile_mtb.mk
218220
219221MPY_CROSS_FLAGS += -march=armv7m
220222
You can’t perform that action at this time.
0 commit comments