Hi all,
TF-M has recently introduced Python packaging for its modules and scripts. If you’re building the latest TF-M mainline, you’ll need to install them by running the following command from the root of the TF-M repository (using a virtual environment is recommended):
``` pip install . ``` or ``` # `-e` installs modules and scripts in editable/development mode i.e. source edits are automatically reflected in your dev environment pip install -e . ```
NOTE: You'll have to re-run the above command every time a new module is added, module is renamed or a new dependency is added.
The documentation [1] has been updated with more details. In addition, new guidelines are now available [2] for adding new scripts and modules.
Thank you.
Best regards, Mudit Sharma
[1]: https://trustedfirmware-m.readthedocs.io/en/latest/getting_started/index.htm... [2]: https://trustedfirmware-m.readthedocs.io/en/latest/contributing/python_scrip...