• This repository has been archived on 15/Jan/2021
  • Stars
    star
    163
  • Rank 231,141 (Top 5 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 11 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DEPRECATED: yotta build; better software

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, to make it easier to build better software with C++ and C by re-using modules. Publish your own modules to the yotta registry 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. Targets describe the platform that you're building for (such as an embedded IoT development board, or natively for Mac or Linux), 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, 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 (such as a C++ compiler). The detailed installation instructions 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 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, or if you have questions/feedback please create an issue!

How yotta works

Every yotta module or application includes a module.json 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 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 <modulename>. 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.

Further Documentation

For further documentation see the yotta docs website.

Tips

  • yt is a shorthand for the yotta 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.

License

yotta is licensed under Apache-2.0

More Repositories

1

mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
C
4,650
star
2

DAPLink

C
2,272
star
3

mbed-cli

Arm Mbed Command Line Interface
Python
333
star
4

mbed-HDK

DEPRECATED mbed HDK - This repository is not being maintained. For the latest updates, please use: https://github.com/ARMmbed/mbed-HDK-Eagle-Projects
SMT
170
star
5

mbed-HDK-Eagle-Projects

Collection of Eagle projects for targets, interfaces, shields and more
SMT
167
star
6

mbed-os-example-ble

BLE demos using mbed OS and mbed cli
C++
134
star
7

uvisor

DEPRECATED mbed OS uVisor -- device security layer for ARMv7M microcontrollers
C
132
star
8

homebrew-formulae

homebrew ("the missing package manager for OS X") formulae from the mbed team.
Ruby
118
star
9

mbed-crypto

The development of Mbed Crypto has moved to Mbed TLS. No updates will be made to the mbed-crypto repository anymore.
C
103
star
10

mbed-os-5-docs

Full documentation for Mbed OS 5 and 6
Python
98
star
11

dapjs

JavaScript interface to CMSIS-DAP
TypeScript
84
star
12

ble

API to abstract working with Bluetooth Smart Controllers
C++
80
star
13

mbed-os-example-lorawan

Simple LoRaWAN example application for mbed OS
C++
79
star
14

mbed-os-example-lorawan-fuota

Mbed OS 5 Firmware update over LoRaWAN example application
C++
66
star
15

mbed-littlefs

[experimental] Mbed OS wrapper for LittleFS v2.0 (alpha)
C
65
star
16

mbed-client

DEPRECATED: C++ API for mbed-client
C++
53
star
17

mbed-os-example-bootloader

DEPRECATED: example
C++
47
star
18

mbed-mqtt

Mbed-os MQTT and MQTT-SN library, based on Eclipse Paho project.
C++
46
star
19

mbed-os-linker-report

Post-processing of linker output to calculate and visualize memory usage for elf-sections
JavaScript
46
star
20

ble-nrf51822

Nordic stack and drivers for the mbed BLE_API
C++
45
star
21

mbed-os-example-blinky

Blinky example for Mbed OS 6.0
CMake
42
star
22

mbed-tools

โš ๏ธ Beta Status: New command line tooling for Mbed OS
Python
41
star
23

mbed-drivers

Drivers for common MCU peripherals in mbed OS.
C++
39
star
24

mbed-os-example-mesh-minimal

Simplest Mesh capable test application for mbed OS
C
35
star
25

ATParser

Parser for AT commands and similar protocols.
C++
34
star
26

mbed-cli-windows-installer

Windows installer for mbed CLI
NSIS
33
star
27

sal-stack-nanostack

IPv6+6LoWPAN+Thread stack for mbed OS.
31
star
28

dlmalloc

Doug Lea's malloc
C
31
star
29

mbed-os-example-tls

mbed TLS Sample application
C
30
star
30

mbed-os-tools

The tools to test and work with Mbed OS
Python
30
star
31

mbed-semtech-lora-rf-drivers

Semtech's LoRa RF drivers for mbed OS
C++
27
star
32

greentea

IoT reGREssion ENvironment for TEst Automation
Python
27
star
33

spif-driver

Block device driver for NOR SPI flash devices that support SFDP, such as the MX25R or SST26F016B
C++
26
star
34

nrf5x-dfu-bootloader

DEPRECATED
C
25
star
35

ble-examples

BLE demos using mbed OS 3 and yotta.
C++
24
star
36

minar

mbed OS scheduler
C++
24
star
37

mbed-os-example-wifi

DEPRECATED: Wi-fi example for Mbed OS 6
C++
23
star
38

lwip

Fork of master lwIP repository
C
23
star
39

mbed-ls

MOVED: https://github.com/ARMmbed/mbed-os-tools (mbedls detects Mbed Enabled devices connected to your computer)
23
star
40

mbed-os-example-sockets

Simple example for the network-socket API
C++
20
star
41

mbed-os-example-client

DEPRECATED: This is the mbed Client example application for mbed OS.
C++
20
star
42

mbed-os-example-cellular

This is an example based on mbed-os cellular APIs that demonstrates a TCP or UDP echo transaction with a public echo server.
C++
19
star
43

stm32customtargets

Enable the support of your custom boards in mbed-os 6
C
19
star
44

mbed-client-example-6lowpan

DEPRECATED: Example demonstrating 6LoWPAN mesh networking
C++
19
star
45

suit-manifest-generator

C
18
star
46

GettingStartedmbedOS

Source files for the mbed OS User Guide - please read on the website
17
star
47

mbed-js-example

Basic Example for JavaScript on mbed
JavaScript
16
star
48

lorawan-fota-demo

Superseded by https://github.com/armmbed/mbed-os-example-lorawan-fuota
C++
16
star
49

mbed-client-quickstart

DEPRECATED: Mbed Client example program.
C++
16
star
50

wifi-ism43362

ISM43362 WiFi driver
C++
15
star
51

esp8266-driver

Deprecated: outdated ESP8266 Mbed OS driver
15
star
52

mbed-hal

mbed low-level HAL API
C
15
star
53

mbed-tls-sockets

A C++ Sockets-like API for mbed TLS
C++
14
star
54

mbed-access-point

mbed Access Point based on OpenWrt
C
14
star
55

ble-x-nucleo-idb0xa1

port of BLE_API to ST BLE shield
C
14
star
56

easy-connect

DEPRECATED: Easily add all supported connectivity methods to your mbed OS project
C++
14
star
57

mbed-os-example-filesystem

The Mbed OS file system example
C++
14
star
58

mbed-os-bluetooth-integration-testsuite

Mbed OS test suite for Bluetooth integration
C++
13
star
59

mbed-os-example-pelion

Mbed OS example for Pelion Device Management
C++
13
star
60

mbed-os-example-atecc608a

Mbed OS Examples for the ATECC608A
C
13
star
61

mbed-cli-osx-installer

DEPRECATED installer for Mbed CLI on OS X
Python
13
star
62

mbed-os-example-for-aws

Mbed OS example to connect to AWS IoT Core
C++
12
star
63

nrf51-sdk

Module to contain files provided by the nordic nRF51 SDK
C
12
star
64

core-util

DEPRECATED: Mbed 3 utilities library
C++
12
star
65

mbed-webapp-example

Example java web application that run on top of mbed Device Server
Java
11
star
66

mbed-events

DEPRECATED! This project has moved to mbed-os
C++
11
star
67

post-mortem-debugging

Post mortem debugging with CMSIS-DAP and DAPLink
Python
10
star
68

lora-docs

Getting started with LoRa and mbed
JavaScript
10
star
69

mbed-flasher

mbed device flasher application
Python
10
star
70

ble-ancs-client

Demo for the ANCS client.
C++
9
star
71

dali-based-driver-for-mbedos

DALI-based Driver for Mbed OS
C++
9
star
72

BLEIntros

DEPRECATED BLE intro texts
9
star
73

mbed-js-v2

Work in progress - for mbed.js see https://github.com/armmbed/mbed-js-example
C++
9
star
74

ci-test-shield

mbed CI Test Shield
C++
9
star
75

mbed-hal-nrf51822-mcu

mbed HAL port for nRF51822
C
9
star
76

cmsis-debug-adapter

Debug adapter for CMSIS-DAP using GDB MI
TypeScript
9
star
77

uvisor-lib

DEPRECATED: This repo is deprecated and only for historical purposes only - see https://github.com/ARMmbed/uvisor
CMake
9
star
78

mbed-client-for-aws

AWS IoT SDK port for Mbed OS
C++
8
star
79

htrun

MOVED: https://github.com/ARMmbed/mbed-os-tools (Flash, reset and run host supervised tests on mbed platforms)
8
star
80

mbed-os-example-sd-driver

mbed-os example for the sd-driver (SDCard) block device driver (SDBlockDevice)
C++
7
star
81

mbed-hal-st-stm32f4

mbed HAL for ST STM32F4-series microcontrollers
C
7
star
82

wearable-reference-design

Wearable Reference Design main GitHub page.
7
star
83

mbed-nfc-nt3h2111

NFC driver for NXP NT3H2111
C++
7
star
84

i2cee-driver

[experimental] Block device driver for I2C EEPROM devices
C++
7
star
85

wearable-reference-design-example-user-interface

Example application demonstrating the user interface on the Wearable Reference Design.
C++
7
star
86

mbed-js-ble-example

BLE Example for JerryScript on mbed
JavaScript
7
star
87

fpga-ci-test-shield

Verilog source code, tests and utilities for the FPGA CI Test Shield
Verilog
7
star
88

utest

utest: Asynchronous C++ Test Harness for embedded targets
C++
7
star
89

dataflash-driver

Block device driver for DataFlash devices
C++
7
star
90

mbed-os-docker-images

mbed docker-hub Dockerfiles
Dockerfile
6
star
91

mbed-mesh-api

Mesh network API.
6
star
92

sockets

mbed sockets library abstraction layer
C++
6
star
93

valinor

Generate Project Files to Debug ELF files.
Python
6
star
94

sdio-driver

SDIO block device driver
6
star
95

stm-spirit1-rf-driver

Prototype RF driver for STM Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo
C
6
star
96

mbed-os-example-for-azure

Mbed OS example to connect to Azure IoT Hub
C++
6
star
97

icetea

DEPRECATED mbed test framework
Python
6
star
98

mbed-os-experimental-ble-services

Incubator of Bluetooth services
C++
6
star
99

hackathon

mbed Hackathon @ โ€ŽCambridge University Engineering Society
C
6
star
100

target-mbed-gcc

DEPRECATED Base for mbed yotta compilation targets compiling with GCC
CMake
6
star