From 91dabb535a7f34ba99d0f68c9901c5dc66dc28c7 Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Fri, 8 Mar 2019 14:17:58 +0200 Subject: [PATCH] Update docs for PSA tools --- tools/psa/README.md | 6 ++++-- tools/psa/release.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/psa/README.md b/tools/psa/README.md index cebeb0808e..3ebf3d3da6 100644 --- a/tools/psa/README.md +++ b/tools/psa/README.md @@ -34,14 +34,16 @@ Each implementation requires a set of autogenerated files describing the secure `release.py` is the script assigned with compiling the secure images: ``` -usage: release.py [-h] [-m MCU] +usage: release.py [-h] [-m MCU] [-d] optional arguments: -h, --help show this help message and exit -m MCU, --mcu MCU build for the given MCU + -d, --debug set build profile to debug ``` -When `MCU ` is not specified, the script compiles all the images for all the targets. +* When `MCU ` is not specified, the script compiles all the images for all the targets. +* When `-d/--debug` is not specified, the script compiles the images using the release profile. This script should be run in following scenarios: diff --git a/tools/psa/release.py b/tools/psa/release.py index ebd1777a11..987bd37ce2 100644 --- a/tools/psa/release.py +++ b/tools/psa/release.py @@ -132,7 +132,7 @@ def get_parser(): metavar="MCU") parser.add_argument("-d", "--debug", - help="build for the given MCU", + help="set build profile to debug", action="store_true", default=False)