fix(color): Put LCD buffers at start of SDRAM (#4433)
This commit is contained in:
@@ -68,8 +68,14 @@
|
||||
|
||||
#if defined(SDRAM) && !defined(SIMU)
|
||||
#define __SDRAM __attribute__((section(".sdram"), aligned(4)))
|
||||
#if defined(COLORLCD)
|
||||
#define __SDRAMFONTS __attribute__((section(".sdram_fonts"), aligned(4)))
|
||||
#endif
|
||||
#else
|
||||
#define __SDRAM __DMA
|
||||
#if defined(COLORLCD)
|
||||
#define __SDRAMFONTS __DMA
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __GNUC__
|
||||
|
||||
Reference in New Issue
Block a user