mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
LCD_DEPTH == 2, horizontal packing: specify if lcd framebuffer is in iram into the model specific config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22399 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5b1192f834
commit
ee9ece1acf
6 changed files with 11 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
/*** globals ***/
|
/*** globals ***/
|
||||||
|
|
||||||
unsigned char lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IBSS_ATTR;
|
unsigned char lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IRAM_LCDFRAMEBUFFER;
|
||||||
|
|
||||||
static const unsigned char pixmask[4] ICONST_ATTR = {
|
static const unsigned char pixmask[4] ICONST_ATTR = {
|
||||||
0xC0, 0x30, 0x0C, 0x03
|
0xC0, 0x30, 0x0C, 0x03
|
||||||
|
|
|
@ -169,4 +169,6 @@
|
||||||
|
|
||||||
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
||||||
|
|
||||||
|
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||||
|
|
||||||
#endif /* SIMULATOR */
|
#endif /* SIMULATOR */
|
||||||
|
|
|
@ -173,4 +173,6 @@
|
||||||
|
|
||||||
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
||||||
|
|
||||||
|
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||||
|
|
||||||
#endif /* SIMULATOR */
|
#endif /* SIMULATOR */
|
||||||
|
|
|
@ -202,4 +202,6 @@
|
||||||
#define IPOD_ACCESSORY_PROTOCOL
|
#define IPOD_ACCESSORY_PROTOCOL
|
||||||
#define HAVE_SERIAL
|
#define HAVE_SERIAL
|
||||||
|
|
||||||
|
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -192,4 +192,6 @@
|
||||||
|
|
||||||
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
||||||
|
|
||||||
|
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -203,4 +203,6 @@
|
||||||
|
|
||||||
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
#define ICODE_ATTR_TREMOR_NOT_MDCT
|
||||||
|
|
||||||
|
#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue