Skip to content

Commit 5c81d19

Browse files
Pataterdgreen-arm
authored andcommitted
psa: Document a test partition creation gotcha
The release script must be run from mbed-os root, otherwise the test partition binaries will not be created. Add a note in the tool's README to make this clear and hopefully help save someone some debugging time in the future.
1 parent 3d1b836 commit 5c81d19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/psa/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ optional arguments:
5151
-x ..., --extra ... additional build parameters
5252
```
5353

54+
* The script must be run from the mbed-os folder via `tools/psa/release.py`,
55+
otherwise the list of available tests will not be accurate and the test
56+
partitions will not be properly generated.
5457
* When `MCU ` is not specified, the script compiles all the images for all the targets.
5558
* When `-t/--tc` is not specified, the script compiles with the default_toolchain speciified in targets.json.
5659
* When `-d/--debug` is not specified, the script compiles the images using the release profile.

0 commit comments

Comments
 (0)