From 928922743a0b1b612fcd3a2a66df3180f5f9e8a7 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 6 Mar 2022 22:00:00 +0100 Subject: [PATCH] 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 --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index e529a66..ef9ce68 100755 --- a/build.sh +++ b/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