yotta is a tool that we're building at mbed, to make it easier to build better software written in C, C++ or other C-family languages. It's still early in development, so if you have questions/feedback or issues, please report them.
yotta is written in python, and is installed using pip. Install yotta itself by running:
pip install yotta
Note that yotta needs several non-python dependencies to be installed correctly in order to do anything useful. Please follow the detailed installation instructions on the yotta docs website to ensure you have a working installation.
Exactly which other dependencies (such as compilers and other build tools) are required will also depend on the yotta target description that you intend to use, so please be sure to also check the target description's own documentation.
The best way to get started is to follow the tutorial.
yotta downloads the software components that your program depends on. It's similar in concept to npm, pip or gem: although because C and C++ are compiled languages, yotta also controls the build of your software in order to ensure downloaded modules are available to use in your code.
To install a new module, you run yotta install --save <modulename>
, and yotta
will install both the module you've specified and any of its dependencies that
you don't already have installed. It will also update your module's description
file to reflect the new dependency.
The best way to really understand how yotta works is to follow the tutorial.
For further documentation see the yotta docs website.
yt
is a shorthand for theyotta
command, and it's much quicker to type!- yotta is strongly influenced by npm, the awesome node.js software packaging system. Much of the syntax for module description and commands is very similar.
yotta is licensed under Apache-2.0