summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 5e127b430d..4d7a3aecdf 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -298,11 +298,20 @@
298#if CONFIG_CPU != SH7034 298#if CONFIG_CPU != SH7034
299#define IRAM_STEAL 299#define IRAM_STEAL
300#endif 300#endif
301#if defined(CPU_ARM)
302/* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
303 * when not compiling with -ffunction-sections, even when the function has
304 * a section attribute. */
305#define STATICIRAM
306#else
307#define STATICIRAM static
308#endif
301#else 309#else
302#define ICODE_ATTR 310#define ICODE_ATTR
303#define ICONST_ATTR 311#define ICONST_ATTR
304#define IDATA_ATTR 312#define IDATA_ATTR
305#define IBSS_ATTR 313#define IBSS_ATTR
314#define STATICIRAM static
306#endif 315#endif
307 316
308#ifndef IRAM_LCDFRAMEBUFFER 317#ifndef IRAM_LCDFRAMEBUFFER