Giter VIP home page Giter VIP logo

meta-rpi-bt-dac's Introduction

meta-rpi-bt-dac

Yocto layer to build Bluetooth DAC image for Raspberry Pi Zero W + pHAT DAC.

Description

This layer extends the meta-raspberrypi BSP layer and builds a Linux image that allows to use Raspberry Pi Zero W and DAC hat as a Bluetooth audio sink. When the device is powered on, it will automatically become discoverable by Bluetooth. Pairing can be done without a pin, and the Pi is then recognized as a Bluetooth audio device (Advanced Audio Distribution Profile, A2DP).

Hardware

Raspberry Pi Zero W

pHAT DAC

Pre-built images

Latest pre-built image can be found from the Releases page. It can be directly flashed to a SD card.

Dependencies

This layer depends on:

  • URI: git://git.yoctoproject.org/poky

    • branch: warrior
  • URI: git://git.openembedded.org/meta-openembedded

    • layers: meta-oe, meta-networking, meta-python
    • branch: warrior
  • URI: git://git.yoctoproject.org/meta-raspberrypi

    • branch: warrior

Quick Start

  1. Clone the dependencies and switch to correct branch
  2. source poky/oe-init-build-env build
  3. Add this layer to build/conf/bblayers.conf and the dependencies above
  4. Set MACHINE in local.conf to raspberrypi0-wifi
    • To remove unnecessary features, the following can also be added to local.conf:
    • MACHINE_FEATURES_remove = "apm wifi screen touchscreen"
    • DISTRO_FEATURES_remove = "ipv4 ipv6 irda usbgadget usbhost wifi nfs zeroconf 3g nfc x11 wayland vulkan"
    • For read-only root filesystem, add IMAGE_FEATURES += "read-only-rootfs" to local.conf
  5. bitbake core-image-base
  6. dd to a SD card the generated sdimg file (build/tmp/deploy/images/raspberrypi0-wifi/core-image-base-raspberrypi0-wifi.rpi-sdimg)
  7. Boot your RPI.

License

The source is released under the MIT license. See LICENSE for details. The binary releases contain third-party components in binary form. See the accompanied licenses archive for individual licenses.

meta-rpi-bt-dac's People

Contributors

spietika 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.