Skip to content

Commit

Permalink
ports/psoc6/mtb-libs/makefile_mtb.mk: Attached devs by py script.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Sep 13, 2023
1 parent 472f79d commit 87c9b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/psoc6/mtb-libs/makefile_mtb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ mtb_get_build_flags: mtb_build

attached_devs:
@:
$(eval ATTACHED_TARGET_LIST = $(shell fw-loader --device-list | sed -n -e 's/[0-9]: KitProg3 CMSIS-DAP BULK-//' -e 's/FW Version[^0-9]*\(\([0-9]\.\)\{0,4\}[0-9][^.]\).*//p'| sed -n 's/^[ \t]*//p'))
$(eval ATTACHED_TARGET_LIST = $(shell $(PYTHON) $(TOP)/tools/psoc6/get-devs.py serial-number))
$(eval ATTACHED_TARGETS_NUMBER = $(words $(ATTACHED_TARGET_LIST)))
$(info Number of attached targets : $(ATTACHED_TARGETS_NUMBER))
$(info List of attached targets : $(ATTACHED_TARGET_LIST))
Expand Down

0 comments on commit 87c9b68

Please sign in to comment.