summaryrefslogtreecommitdiff
path: root/list_targets.tcl
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-08-29 20:06:55 +0200
committerYuval Adam <_@yuv.al>2025-08-29 20:06:55 +0200
commitd096f707822967aa99d37605198fc9acd5f6a90d (patch)
treedd22876cbde04b2ae27b21817622a2fe5f163204 /list_targets.tcl
parent4f9dc0d6456ff9da22b44ff46d4ac52500fbeb27 (diff)
Blinky works
Diffstat (limited to 'list_targets.tcl')
-rw-r--r--list_targets.tcl8
1 files changed, 8 insertions, 0 deletions
diff --git a/list_targets.tcl b/list_targets.tcl
new file mode 100644
index 0000000..5cbbc4c
--- /dev/null
+++ b/list_targets.tcl
@@ -0,0 +1,8 @@
+open_hw_manager
+connect_hw_server
+puts "Available targets:"
+foreach target [get_hw_targets] {
+ puts "Target: $target"
+}
+close_hw_manager
+exit \ No newline at end of file