summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/lcd-2bit-vert.c2
-rw-r--r--firmware/export/config-c100.h2
-rw-r--r--firmware/export/config-h100.h2
-rw-r--r--firmware/export/config-h120.h2
-rw-r--r--firmware/export/config-h300.h2
-rw-r--r--firmware/export/config-iaudio7.h3
-rw-r--r--firmware/export/config-mrobe500.h2
7 files changed, 14 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-vert.c b/firmware/drivers/lcd-2bit-vert.c
index 7342cbd..a124e3e 100644
--- a/firmware/drivers/lcd-2bit-vert.c
+++ b/firmware/drivers/lcd-2bit-vert.c
@@ -36,7 +36,7 @@
/*** globals ***/
-fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IBSS_ATTR;
+fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IRAM_LCDFRAMEBUFFER;
const unsigned char lcd_dibits[16] ICONST_ATTR = {
0x00, 0x03, 0x0C, 0x0F, 0x30, 0x33, 0x3C, 0x3F,
diff --git a/firmware/export/config-c100.h b/firmware/export/config-c100.h
index c4e5ad5..d632dee 100644
--- a/firmware/export/config-c100.h
+++ b/firmware/export/config-c100.h
@@ -129,4 +129,6 @@
#define TCCBOOT
#endif
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
+
#endif /* SIMULATOR */
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 68b2444..f06aaf8 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -213,3 +213,5 @@
#define MIN_REMOTE_CONTRAST_SETTING 5
#define MAX_REMOTE_CONTRAST_SETTING 63
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
+
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index b772a36..da75c60 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -210,3 +210,5 @@
#define MIN_REMOTE_CONTRAST_SETTING 5
#define MAX_REMOTE_CONTRAST_SETTING 63
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
+
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h
index 91f54f5..f32732f 100644
--- a/firmware/export/config-h300.h
+++ b/firmware/export/config-h300.h
@@ -206,3 +206,5 @@
#define MIN_REMOTE_CONTRAST_SETTING 5
#define MAX_REMOTE_CONTRAST_SETTING 63
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
+
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
diff --git a/firmware/export/config-iaudio7.h b/firmware/export/config-iaudio7.h
index 1e7c422..c8612bb 100644
--- a/firmware/export/config-iaudio7.h
+++ b/firmware/export/config-iaudio7.h
@@ -162,4 +162,7 @@
#ifdef BOOTLOADER
#define TCCBOOT
#endif
+
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
+
#endif /* SIMULATOR */
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index 29591ce..15ce126 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -249,4 +249,6 @@
#define BOOTFILE "rockbox." BOOTFILE_EXT
#define BOOTDIR "/.rockbox"
+#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
+
#endif