LCD_DEPTH == 2, vertical packing: specify if lcd framebuffer is in iram into the model specific config file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22400 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-08-18 04:24:01 +00:00
parent ee9ece1acf
commit 9eea8abce5
7 changed files with 14 additions and 1 deletions

View file

@ -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,

View file

@ -129,4 +129,6 @@
#define TCCBOOT
#endif
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
#endif /* SIMULATOR */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -162,4 +162,7 @@
#ifdef BOOTLOADER
#define TCCBOOT
#endif
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
#endif /* SIMULATOR */

View file

@ -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