Define USE_PWM_AUDIO_ON_ZERO

Allow to connect earphones or an amplifier to the Raspberry Pi Zero (2) via GPIO12/13 using a small external circuit, https://learn.adafruit.com/assets/28754
Closes https://github.com/probonopd/MiniDexed/issues/38
Thanks @rsta2
pull/40/head
probonopd 2 years ago
parent 27fe767e4d
commit 928922743a
  1. 1
      build.sh

@ -18,6 +18,7 @@ fi
cd circle-stdlib/
make mrproper || true
./configure -r ${RPI} --prefix "${TOOLCHAIN_PREFIX}"
echo "DEFINE += -DUSE_PWM_AUDIO_ON_ZERO" >> libs/circle/Config.mk
echo "DEFINE += -DSAVE_VFP_REGS_ON_IRQ" >> libs/circle/Config.mk
echo "DEFINE += -DREALTIME" >> libs/circle/Config.mk
make -j

Loading…
Cancel
Save