aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
Diffstat (limited to 'ice40')
-rw-r--r--ice40/main.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 01576cfd..f6ce9f6b 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -375,8 +375,11 @@ int main(int argc, char *argv[])
ctx->target_freq = vm["freq"].as<double>() * 1e6;
ctx->user_freq = true;
} else {
- log_warning("Target frequency not specified. Will optimise for max frequency.\n");
- }
+#ifndef NO_GUI
+ if (!vm.count("gui"))
+#endif
+ log_warning("Target frequency not specified. Will optimise for max frequency.\n");
+ }
ctx->timing_driven = true;
if (vm.count("no-tmdriv"))