This is a simple automation tool to check the status of Mbed OS applications, update dependencies, compile and run on hardware platforms.
It uses an interactive CLI interface to perform multiple tasks on top of Mbed CLI.
git clone https://github.com/MarceloSalazar/aman
cd aman
-
Configure application database
Review
applications.json
(or other json file) and ensure contains relevant information for the applications and targets that you'd like to test. -
Update local configuration
The
.env
file is used to store local configuration. Not currently used. Example of paratemers:WIFI_SSID=xxx WIFI_PASS=yyy
python aman.py
Configuration loaded from file dft_cfg.json
Application Manager
===================
(Cmd) help
Documented commands (type help <topic>):
========================================
all compile exit help install load run save status toolchain update
Type help
and find out details about the commands
In summary:
load
--> loadsapplications.json
. If not specified, will use detault configuration (dft_cfg.json), which is being updated when a command finish executing to keep the latest status.install {app_n}
--> Install an application- (Optional) --> Update specific libraries:
update {app_n} {library} {sha/tag}
compile {app_n}
--> Compile an applicationrun {app_n}
--> Program target and verify application works as expectedall {app_n}
--> Performs multiple tasks with an application (install, compile, run)exit
Note {app_n}
can also be all
, which means the operation is performed on all applications.
- Add ability to publish changes into repository/branch
- Add support for Windows. Currently only OSX is supported.
- Add option to compile using multiple toolchains. Currently either GCC_ARM or ARM is supported.
- Check/Install Python requirements
- mbed-host-tests --> 1.4.0
- Use connectivity credentials, for example WiFi SSID/PASS
- Option to override default timeout for applications