File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,14 @@ Each implementation requires a set of autogenerated files describing the secure
34
34
` release.py ` is the script assigned with compiling the secure images:
35
35
36
36
```
37
- usage: release.py [-h] [-m MCU] [-d] [-q] [--commit] [--skip-tests]
37
+ usage: release.py [-h] [-m MCU] [-d] [-q] [-l] [- -commit] [--skip-tests]
38
38
39
39
optional arguments:
40
40
-h, --help show this help message and exit
41
41
-m MCU, --mcu MCU build for the given MCU
42
42
-d, --debug set build profile to debug
43
43
-q, --quiet No Build log will be printed
44
+ -l, --list Print supported PSA secure targets
44
45
--commit create a git commit for each platform
45
46
--skip-tests skip the test build phase
46
47
```
Original file line number Diff line number Diff line change @@ -292,11 +292,16 @@ def get_parser():
292
292
default = False ,
293
293
help = "No Build log will be printed" )
294
294
295
+ parser .add_argument ('-l' , '--list' ,
296
+ action = "store_true" ,
297
+ default = False ,
298
+ help = "Print supported PSA secure targets" )
299
+
295
300
parser .add_argument ("--commit" ,
296
301
help = "create a git commit for each platform" ,
297
302
action = "store_true" ,
298
303
default = False )
299
-
304
+
300
305
parser .add_argument ('--skip-tests' ,
301
306
action = "store_true" ,
302
307
default = False ,
@@ -328,6 +333,11 @@ def main():
328
333
subprocess_output = FNULL
329
334
subprocess_err = subprocess .STDOUT
330
335
336
+ if options .list :
337
+ logger .info ("Avialable platforms are: {}" .format (
338
+ ', ' .join ([t for t in _get_psa_secure_targets_list ()])))
339
+ return
340
+
331
341
prep_build_dir ()
332
342
psa_platforms_list = get_mbed_official_psa_release (options .mcu )
333
343
logger .info ("Building the following platforms: {}" .format (
You can’t perform that action at this time.
0 commit comments