Merge pull request #3913 from tonhuisman/bugfix/display_build_set-limit_build_size-also-for-esp32

[Build] Set LIMIT_BUILD_SIZE also for ESP32 on DISPLAY builds (and pre-IDF4.x)
This commit is contained in:
TD-er
2022-01-14 20:26:17 +01:00
committed by GitHub
+2 -2
View File
@@ -1221,8 +1221,8 @@ To create/register a plugin, you have to :
// Collection of all display plugins. (also NeoPixel)
#ifdef PLUGIN_DISPLAY_COLLECTION
#if !defined(LIMIT_BUILD_SIZE) && defined(ESP8266)
#define LIMIT_BUILD_SIZE // Redice buildsize on ESP8266 to fit in all Display plugins
#if !defined(LIMIT_BUILD_SIZE) && (defined(ESP8266) || !(ESP_IDF_VERSION_MAJOR > 3))
#define LIMIT_BUILD_SIZE // Reduce buildsize (on ESP8266 / pre-IDF4.x) to fit in all Display plugins
#endif
#ifndef USES_P012
#define USES_P012 // LCD