summaryrefslogtreecommitdiff
path: root/apps/codecs/codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/codec.h')
-rw-r--r--apps/codecs/codec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/codecs/codec.h b/apps/codecs/codec.h
index c00d2bd..3b6e779 100644
--- a/apps/codecs/codec.h
+++ b/apps/codecs/codec.h
@@ -21,6 +21,15 @@
#include "config.h"
+#if CONFIG_CPU == MCF5249 && !defined(SIMULATOR)
+#define ICODE_ATTR __attribute__ ((section(".icode")))
+#define IDATA_ATTR __attribute__ ((section(".idata")))
+#define USE_IRAM 1
+#else
+#define ICODE_ATTR
+#define IDATA_ATTR
+#endif
+
#include <sys/types.h>
/* Get these functions 'out of the way' of the standard functions. Not doing