A bare-bones Nerves project showing the changes required to get the Adafruit Stereo Speaker Bonnet working with a Raspberry Pi Zero.
This example is only intended for use with the rpi0
target.
To start your Nerves app:
export MIX_TARGET=rpi0
or prefix every command withMIX_TARGET=rpi0
- Install dependencies with
mix deps.get
- Create firmware with
mix firmware
- Burn to an SD card with
mix firmware.burn