Giter VIP home page Giter VIP logo

bob-example-embedded's Introduction

Bob Embedded Example

Build Status

This repository uses the basement recipe layer to build both a small Linux image and a FreeRTOS based image in one project that share a common "echo" library that replies to your input. It's meant as an example on how to use Bob to build multi-image code-sharing projects to ensure API and ABI compatibility in heterogeneous and complex environments with ease.

For more information about recipe layers and Bob's usage in general see its documentation. If you're interested in building containers and virtual machine images with Bob, head over to the container example.

Prerequisites

  • A x86_64 system with the regular development tools installed (GCC, make, Perl, ...)
  • Bob Build Tool
  • Patience โ˜•

To actually run the built example you'll also need QEMU.

How to build

Clone the recipes and build them with Bob:

$ git clone https://github.com/BobBuildTool/bob-example-embedded.git \
    --recurse-submodules
$ cd bob-example-embedded
$ bob build demo::linux+freertos

How to use

Just execute run.sh in the result (something like ./work/demo/linux+freertos/dist/1/workspace/ but the number might differ) directory. It will start the Linux system and you can interact with the FreeRTOS system via microcom. Follow the instructions on the console. Both systems are started in parallel. The UART of the FreeRTOS system is connected to ttyAMA1 in the Linux system.

Contributions

Contributions are welcome in form of feedback, bug reports and code. If you want to contribute in the form of code but are unsure about how to do things exactly, feel free to open up a pull request and ask for help.

bob-example-embedded's People

Contributors

ferruck avatar jkloetzke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.