File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,18 +212,18 @@ deploy: all mtb_program
212212# When working locally, if a "local-devs.yml" file is placed in "tools/psoc6"
213213# it will be used
214214ifneq ($(DEVS_FILE ) ,)
215- MULTI_BOARD_DEVS_OPTS = -b $(BOARD ) -y $(DEVS_FILE )
215+ MULTI_BOARD_DEVS_OPTS = -f name= $(BOARD ) --devs-yml $(DEVS_FILE )
216216else
217217DFLT_LOCAL_DEVS_FILE_NAME = local-devs.yml
218218LOCAL_DEVS_FILE =$(TOP ) /tools/psoc6/$(DFLT_LOCAL_DEVS_FILE_NAME )
219219ifneq (,$(wildcard $(LOCAL_DEVS_FILE ) ) )
220- MULTI_BOARD_DEVS_OPTS = -b $(BOARD ) -y $(LOCAL_DEVS_FILE )
220+ MULTI_BOARD_DEVS_OPTS = -f name= $(BOARD ) --devs-yml $(LOCAL_DEVS_FILE )
221221endif
222222endif
223223
224224attached_devs :
225225 @:
226- $(eval ATTACHED_TARGET_LIST = $(shell $(PYTHON ) $(TOP ) /lib/mpy-test-ext/get_devs .py serial-number $(MULTI_BOARD_DEVS_OPTS ) ) )
226+ $(eval ATTACHED_TARGET_LIST = $(shell $(PYTHON ) $(TOP ) /lib/mpy-test-ext/devs_query .py serial_number $(MULTI_BOARD_DEVS_OPTS ) ) )
227227 $(eval ATTACHED_TARGETS_NUMBER = $(words $(ATTACHED_TARGET_LIST ) ) )
228228 $(info Number of attached targets : $(ATTACHED_TARGETS_NUMBER ) )
229229 $(info List of attached targets : $(ATTACHED_TARGET_LIST ) )
You can’t perform that action at this time.
0 commit comments