summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/pcm_mixer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/pcm_mixer.h b/firmware/export/pcm_mixer.h
index f430ce0..9c4e06e 100644
--- a/firmware/export/pcm_mixer.h
+++ b/firmware/export/pcm_mixer.h
@@ -34,7 +34,8 @@
#define MIX_FRAME_SAMPLES 256
#endif
-#if defined(CPU_COLDFIRE) || defined(CPU_PP)
+/* IAUDIO_M5 is very tight on IRAM */
+#if (defined(CPU_COLDFIRE) && !defined(IAUDIO_M5)) || defined(CPU_PP)
/* For Coldfire, it's just faster
For PortalPlayer, this also avoids more expensive cache coherency */
#define DOWNMIX_BUF_IBSS IBSS_ATTR