forked from telamon/utft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmemorysaver.h
28 lines (27 loc) · 1.09 KB
/
memorysaver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// UTFT Memory Saver
// -----------------
//
// Since most people have only one or possibly two different display modules a lot
// of memory has been wasted to keep support for many unneeded controller chips.
// You now have the option to remove this unneeded code from the library with
// this file.
// By disabling the controllers you don't need you can reduce the memory footprint
// of the library by several Kb.
//
// Uncomment the lines for the displaycontrollers that you don't use to save
// some flash memory by not including the init code for that particular
// controller.
//#define DISABLE_HX8347A 1
//#define DISABLE_ILI9327 1
//#define DISABLE_SSD1289 1
//#define DISABLE_ILI9325C 1
//#define DISABLE_ILI9325D 1 // This single define will disable both 8bit and 16bit mode for this controller
//#define DISABLE_HX8340B_8 1
//#define DISABLE_HX8340B_S 1
//#define DISABLE_HX8352A 1
//#define DISABLE_ST7735 1
//#define DISABLE_PCF8833 1
//#define DISABLE_S1D19122 1
//#define DISABLE_SSD1963_480 1
//#define DISABLE_SSD1963_800 1
//#define DISABLE_S6D1121 1