mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Add SoC timer peripheral timer-uptime CLI parameter
This allows enabling the uptime register in the timer core from the command line.
This commit is contained in:
parent
3bd5d6cc0e
commit
778afb45d2
1 changed files with 3 additions and 0 deletions
|
@ -310,6 +310,9 @@ def soc_core_args(parser):
|
|||
# Timer parameters
|
||||
parser.add_argument("--no-timer", action="store_true",
|
||||
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
|
||||
parser.add_argument("--no-ctrl", action="store_true",
|
||||
help="Disable Controller (default=False)")
|
||||
|
|
Loading…
Reference in a new issue