PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.1KB

  1. // UTFT Memory Saver
  2. // -----------------
  3. //
  4. // Since most people have only one or possibly two different display modules a lot
  5. // of memory has been wasted to keep support for many unneeded controller chips.
  6. // You now have the option to remove this unneeded code from the library with
  7. // this file.
  8. // By disabling the controllers you don't need you can reduce the memory footprint
  9. // of the library by several Kb.
  10. //
  11. // Uncomment the lines for the displaycontrollers that you don't use to save
  12. // some flash memory by not including the init code for that particular
  13. // controller.
  14. //#define DISABLE_HX8340B_8 1 // ITDB22 8bit mode / GEEE22
  15. //#define DISABLE_HX8340B_S 1 // ITDB22 Serial mode
  16. //#define DISABLE_HX8347A 1 // ITDB32
  17. //#define DISABLE_HX8352A 1 // ITDB32WD / TFT01_32WD / CTE32W
  18. //#define DISABLE_ILI9320 1 // GEEE24 / GEEE28 - This single define will disable both 8bit and 16bit mode for this controller
  19. //#define DISABLE_ILI9325C 1 // ITDB24
  20. //#define DISABLE_ILI9325D 1 // ITDB24D / ITDB24DWOT / ITDB28 / TFT01_24_8 / TFT01_24_16 - This single define will disable both 8bit and 16bit mode for this controller
  21. //#define DISABLE_ILI9325D_ALT 1 // CTE28
  22. //#define DISABLE_ILI9327 1 // ITDB32WC / TFT01_32W
  23. //#define DISABLE_ILI9341_S4P 1 // MI0283QT9
  24. //#define DISABLE_ILI9341_S5P 1 // TFT01_22SP
  25. //#define DISABLE_ILI9481 1 // CTE32HR
  26. //#define DISABLE_ILI9486 1 // CTE40
  27. //#define DISABLE_PCF8833 1 // LPH9135
  28. //#define DISABLE_R61581 1 // CTE35IPS
  29. //#define DISABLE_S1D19122 1 // ITDB25H
  30. //#define DISABLE_S6D0164 1 // CTE22
  31. //#define DISABLE_S6D1121 1 // ITDB24E - This single define will disable both 8bit and 16bit mode for this controller
  32. //#define DISABLE_SSD1289 1 // ITDB32S / TFT01_32 / GEEE32 / ELEE32_REVA / ELEE32_REVB / CTE32 - This single define will disable both 8bit, 16bit and latched mode for this controller
  33. //#define DISABLE_SSD1963_480 1 // ITDB43 / TFT01_43
  34. //#define DISABLE_SSD1963_800 1 // ITDB50 / TFT01_50 / CTE50
  35. //#define DISABLE_SSD1963_800_ALT 1 // TFT01_70 / CTE70
  36. //#define DISABLE_ST7735 1 // ITDB18SP
  37. //#define DISABLE_ST7735S 1 // TFT01_18SP