https://github.com/ARMmbed/yotta
DEPRECATED: yotta build; better software
https://github.com/ARMmbed/yotta
Last synced: 7 months ago
JSON representation
DEPRECATED: yotta build; better software
- Host: GitHub
- URL: https://github.com/ARMmbed/yotta
- Owner: ARMmbed
- License: apache-2.0
- Archived: true
- Created: 2014-02-06T13:03:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T13:49:47.000Z (over 4 years ago)
- Last Synced: 2024-04-26T00:09:26.935Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 2.76 MB
- Stars: 164
- Watchers: 60
- Forks: 64
- Open Issues: 112
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Deprecation note!
**Please note: This repository is deprecated and it is no longer actively maintained**.
## yotta: Build Software with Reusable Components
yotta is a tool from [ARM mbed](https://mbed.org), to make it easier to build
better software with C++ and C by re-using modules. Publish your own modules to
the [yotta registry](http://yottabuild.org/) to share them with other people,
or re-use them privately in your own projects.Whenever you build a project with yotta, you first select a [yotta
target](http://docs.yottabuild.org/tutorial/targets.html). Targets describe the
platform that you're building for (such as an [embedded IoT development
board](http://yottabuild.org/#/target/frdm-k64f-gcc), or natively for
[Mac](http://yottabuild.org/#/target/x86-osx-native) or
[Linux](http://yottabuild.org/#/target/x86-linux-native)), and provide all the
information that yotta and modules you're using need to configure themselves
correctly for that platform.### Installation
yotta is written in
[python](https://www.python.org/downloads/release/python-279/), and is
installed using [pip](https://pip.pypa.io/en/stable/installing/).
Install yotta itself by running:```bash
pip install yotta
```**Note that yotta needs several non-python dependencies to be installed
correctly (such as a C++ compiler).** The **[detailed installation
instructions](http://docs.yottabuild.org/#installing)** include a full guide.Exactly which other dependencies (such as compilers and other build tools) are
required will also depend on the [yotta target
description](http://docs.yottabuild.org/tutorial/targets.html) that you intend
to use, so please be sure to also check the target description's own
documentation.## Get Started!
The best way to get started is to [follow the
tutorial](http://docs.yottabuild.org/tutorial/tutorial.html), or if you have
questions/feedback please [create an
issue](https://github.com/ARMmbed/yotta/issues)!## How `yotta` works
Every yotta module or application includes a
[`module.json`](http://docs.yottabuild.org/reference/module.html) file, which
lists the other modules that it needs (amongst other information like the
module's license, and where to submit bug reports).When you run [`yotta build`](http://docs.yottabuild.org/tutorial/building.html)
to build your project, yotta downloads your dependencies, and makes them
available to your project. 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 add a new module to your program run `yotta install `. yotta
will install both the module you've specified and any of its dependencies that
you don't already have. It will also update your module.json file to reflect
the new dependency.The best way to really understand how yotta works is to [follow the
tutorial](http://docs.yottabuild.org/tutorial/tutorial.html).## Further Documentation
For further documentation see the [yotta docs](http://docs.yottabuild.org)
website.## Tips
* `yt` is a shorthand for the `yotta` command, and it's much quicker to type!
* yotta is strongly influenced by [npm](http://npmjs.org), the awesome node.js
software packaging system. Much of the syntax for module description and
commands is very similar.## License
yotta is licensed under Apache-2.0