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)