You can automatically install and manage modules using the dtmm tool. The dtmm tool has the following syntax:
dtmm [-h] [search|se|install|in|uninstall|rm] [command-options]
You can search and list the available modules using the search command. As an example:
dtmm search -t hardware rng
Modules are automatically downloaded from the module repository. To install a module, you can use:
dtmm install rng
Modules will be installed into the modules/ folder, or the path specified by TOOLCHAIN_MODULES if it is set.
You can also uninstall modules using the dtmm tool with the following command:
dtmm uninstall rng
Modules will be removed from the modules/ folder, or the path specified by TOOLCHAIN_MODULES if it is set.