This commit is contained in:
kraus 2020-12-26 11:05:58 +01:00
parent e0f5544254
commit 9da8cbdf93
2 changed files with 8 additions and 0 deletions

View File

@ -250,4 +250,5 @@ https://github.com/olikraus/u8g2 ChangeLog
* Added support for UC1617 JLX128128 (issue 1151)
* Added support for Raystar SSD1305 (issue 1111)
* Added support for KS0713 controller (issue 1314)
* U8g2 16 Bit Mode enabled by default for ARM and ESP Systems (issue 1222)

View File

@ -71,6 +71,13 @@
//#define U8G2_16BIT
/* always enable U8G2_16BIT on 32bit environments, see issue https://github.com/olikraus/u8g2/issues/1222 */
#ifndef U8G2_16BIT
#if defined(unix) || defined(__arm__) || defined(__xtensa__) || defined(xtensa) || defined(__arc__) || defined(ESP8266) || defined(ESP_PLATFORM)
#define U8G2_16BIT
#endif
#endif
/*
The following macro switches the library into dynamic display buffer allocation mode.
Defining this constant will disable all static memory allocation for device memory buffer and thus allows the user to allocate device buffers statically.