Giter Club home page Giter Club logo

cuteradio's Introduction

cuteradio

Cuteradio is the main repository for a simple Qt-based Internet radio that runs on a Raspberry Pi 3. This repository contains five submodules. Each submodule corresponds to a Yocto layer and is added as a subdirectory to the directory cuteradio/sources. Cuteradio is currently based on the Yocto release thud.

We must install Docker before we can run the Yocto build. Docker installation is described here. We execute the Yocto build in the Docker container CROPS as described in the blog post Yocto Builds with CROPS Containers.

We create a work directory at a place of our choice and clone the main repository with all its submodules.

host$ mkdir work-cuteradio
host$ cd work-cuteradio
host$ git clone --recurse-submodules https://github.com/bstubert/cuteradio.git

For convenience, we copy the helper script ./cuteradio/ycr to the path ~/bin, which is included in PATH.

host$ cp ./cuteradio/ycr ~/bin

The call

host$ ./cuteradio/ycr <yocto-command>

spins up the CROPS container, enters the Yocto build environement and executes the .

For example, if we want to run Yocto commands interactively in the build environment, we execute the following command.

host$ ycr bash
pokyuser@fd206ebcd9d6:/work-cuteradio/build$

The second line is in the Linux environment provided by the CROPS container. So, we could run bitbake to build the Cuteradio image.

pokyuser@fd206ebcd9d6:/work-cuteradio/build$ bitbake cuteradio-image

We exit the container with the command:

pokyuser@fd206ebcd9d6:/work-cuteradio/build$ exit

We can also start the Yocto build with a single command:

host$ ycr bitbake cuteradio-image

cuteradio's People

Contributors

bstubert avatar

Watchers

James Cloos 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.