summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 963818551f..55d5ffd06f 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -624,7 +624,6 @@
624#define ICONST_ATTR __attribute__ ((section(".irodata"))) 624#define ICONST_ATTR __attribute__ ((section(".irodata")))
625#define IDATA_ATTR __attribute__ ((section(".idata"))) 625#define IDATA_ATTR __attribute__ ((section(".idata")))
626#define IBSS_ATTR __attribute__ ((section(".ibss"))) 626#define IBSS_ATTR __attribute__ ((section(".ibss")))
627#define DATA_ATTR __attribute__ ((section(".data")))
628#define USE_IRAM 627#define USE_IRAM
629#if CONFIG_CPU != SH7034 628#if CONFIG_CPU != SH7034
630#define PLUGIN_USE_IRAM 629#define PLUGIN_USE_IRAM
@@ -642,10 +641,15 @@
642#define ICONST_ATTR 641#define ICONST_ATTR
643#define IDATA_ATTR 642#define IDATA_ATTR
644#define IBSS_ATTR 643#define IBSS_ATTR
645#define DATA_ATTR
646#define STATICIRAM static 644#define STATICIRAM static
647#endif 645#endif
648 646
647#if defined(SIMULATOR) && defined(__APPLE__)
648#define DATA_ATTR __attribute__ ((section(".section __DATA, __data")))
649#else
650#define DATA_ATTR __attribute__ ((section(".data")))
651#endif
652
649#ifndef IRAM_LCDFRAMEBUFFER 653#ifndef IRAM_LCDFRAMEBUFFER
650/* if the LCD framebuffer has not been moved to IRAM, define it empty here */ 654/* if the LCD framebuffer has not been moved to IRAM, define it empty here */
651#define IRAM_LCDFRAMEBUFFER 655#define IRAM_LCDFRAMEBUFFER