aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Gustavsson <patrik.gustavsson@arm.com>2020-08-19 12:13:30 +0200
committertim.hall <tim.hall@arm.com>2020-08-21 08:26:14 +0000
commit6c87807ad1dc2ac35b05cb1e375544f04e123db1 (patch)
tree28c248e89cdf9274a4c2a8c8b5a842fd68211054
parent9baa4c3e6f5aef2f933d7ecdf71df3cb2e7ec3e0 (diff)
downloadethos-u-vela-6c87807ad1dc2ac35b05cb1e375544f04e123db1.tar.gz
MLBEDSW-2664 Clarify help for CLI-opt permanent-storage
-Make it clear that --permanent-storage option, only is valid for Ethos-U55. -Removed Shram from allowed values Signed-off-by: Patrik Gustavsson <patrik.gustavsson@arm.com> Change-Id: Ice6cacd509713e33bcb380c16dcd3c3b34a82a33
-rw-r--r--ethosu/vela/vela.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index b1edf34e..97cc8736 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -183,10 +183,10 @@ def main(args=None):
"--permanent-storage",
default=MemArea.OffChipFlash,
type=lambda s: MemArea[s],
- choices=list(MemArea)[3:-1],
+ choices=list(MemArea)[3:5],
help=(
- "Memory area for permanent storage. To store the weights and other constant data in SRAM select "
- "'OnChipFlash' (default: %(default)s)"
+ "Memory area for permanent storage, only valid for Ethos-U55. "
+ "To store the weights and other constant data in SRAM, select 'OnChipFlash'. (default: %(default)s)"
),
)
parser.add_argument(