Merge pull request #700 from lschuermann/dev/uptime-param

Add SoC timer peripheral timer-uptime CLI parameter
This commit is contained in:
enjoy-digital 2020-11-18 10:38:58 +01:00 committed by GitHub
commit 390820219e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -310,6 +310,9 @@ def soc_core_args(parser):
# Timer parameters # Timer parameters
parser.add_argument("--no-timer", action="store_true", parser.add_argument("--no-timer", action="store_true",
help="Disable Timer (default=False)") help="Disable Timer (default=False)")
parser.add_argument("--timer-uptime", action="store_true",
help="Add an uptime register to the timer (default=False)")
# Controller parameters # Controller parameters
parser.add_argument("--no-ctrl", action="store_true", parser.add_argument("--no-ctrl", action="store_true",
help="Disable Controller (default=False)") help="Disable Controller (default=False)")