Commit Graph

21 Commits (1182d1e9bbcd2f45df828477872c99a4ff90a19b)

Author SHA1 Message Date
jeromecoutant 79ea26614b PSA release script update: add toolchain option 2019-05-17 16:32:49 +02:00
Alexander Zilberkant 8c5ba9154d Update PSA code generator
Unify TF-M and Mbed-SPM code generators:
 - Unify SPM initialization logic:
   - All partitions are registered at once
   - Test partitions are guarded by #ifndef
   - Introduce single template list
 - Beatify template files and add "Autogen-do not modify" notice
Prepare for integration with mbed-os build system:
 - Generate all the files in a single place
Simplify tools/psa/release.py script
2019-04-30 14:10:23 +03:00
Oren Cohen a127f10648 Check that required toolchains are in PATH 2019-04-07 18:49:35 +03:00
Oren Cohen 42a9d485e7 Set default value of extra args to [] 2019-03-26 13:53:31 +02:00
Oren Cohen d012b3a5f5 Missing docstring 2019-03-26 10:54:47 +02:00
Oren Cohen 6d64c85b6c Specify extra args with -x and verbose_check_call 2019-03-26 10:52:46 +02:00
Oren Cohen ef19ade249 Revert back to direct calls to python 2019-03-26 10:52:46 +02:00
Oren Cohen e8165fdaa8 small fix 2019-03-26 10:52:45 +02:00
Oren Cohen 03c0302850 Add list option 2019-03-26 10:48:16 +02:00
Oren Cohen 654882453b Refactor
* Use default image command generator.
* Call directly to mbed-cli.
* Add --skip-tests.
2019-03-26 10:48:16 +02:00
Oren Cohen 16bcd5f8e3 List PSA secure platform and add choices option 2019-03-26 10:48:16 +02:00
Oren Cohen 10708f1991 Overhaul logging and verbosity
* Default verbose
* -q for quiet build with minimal status prints
2019-03-26 10:48:16 +02:00
Oren Cohen 963dd62524 Bugfix: send the correct parameter to _get_target_info() 2019-03-12 10:02:33 +02:00
Oren Cohen dad75b55f6 Minor changes fixing the script from getting stuck
* git diff of bin/hex files could be huge print and make
* calling python unbuffered with stdout=subprocess.PIPE could be problematic
2019-03-11 17:49:28 +02:00
Oren Cohen f534caa4c7
Enhancements
* Replace call with check_call to throw exception on failure
* Check if binaries actually been changes before calling git commit
* Docstrings for all functions
* Small refactor
2019-03-10 21:39:10 +02:00
Oren Cohen 92cc3d0bcb Add git commit option 2019-03-10 17:10:50 +02:00
Oren Cohen 91dabb535a Update docs for PSA tools 2019-03-10 17:10:48 +02:00
Oren Cohen 9a3ab4983e
Add build profile option
Default set to release
2019-03-07 23:54:52 +02:00
Oren Cohen 1b26cb7edf Fix tool 2019-03-07 15:22:17 +02:00
Oren Cohen cf8ab27080 Add option to run on a single target 2019-03-04 19:11:38 +02:00
Oren Cohen 7b44834d81 Secure binaries release script
This script will find all the PSA targets and compile their secure binaries
Including test secure binaries
2019-03-04 18:42:28 +02:00