From 6f63fc104e26962b7bc2ba88e3379883eb0a6aa0 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Sat, 6 Feb 2021 07:15:02 +0700 Subject: [PATCH] demo: more helpful usage message --- litex/soc/software/demo/demo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litex/soc/software/demo/demo.py b/litex/soc/software/demo/demo.py index c720a7f49..962ef979c 100644 --- a/litex/soc/software/demo/demo.py +++ b/litex/soc/software/demo/demo.py @@ -12,7 +12,9 @@ from distutils.dir_util import copy_tree def main(): parser = argparse.ArgumentParser(description="LiteX Bare Metal Demo App.") - parser.add_argument("--build-path", help="Target's build path.", required=True) + parser.add_argument("--build-path", help="Target's build path (eg ./build/board_name/)." + \ + "Note: this tool needs to be invoked from the project directory " + \ + "(the directory containing the build/ subdirectory)", required=True) args = parser.parse_args() # Create demo directory