From a1ffd8f57ad97d1b1f5e637e1d6ac52526c72173 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 31 Mar 2021 12:55:37 +0200 Subject: [PATCH] Enable PSRAM for Berry Berry is enabled in `my_user_config.h` by default. --- tasmota/tasmota_configurations_ESP32.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_configurations_ESP32.h b/tasmota/tasmota_configurations_ESP32.h index fea1429e1..86c44b038 100644 --- a/tasmota/tasmota_configurations_ESP32.h +++ b/tasmota/tasmota_configurations_ESP32.h @@ -60,8 +60,9 @@ #define USE_SDCARD #define GUI_TRASH_FILE -#define USE_BERRY // Enable Berry scripting language +#ifdef USE_BERRY // Berry scripting language #define USE_BERRY_PSRAM // Allocate Berry memory in PSRAM if PSRAM is connected - this might be slightly slower but leaves main memory intact +#endif #define USE_ADC #define USE_SPI @@ -93,8 +94,9 @@ #define USE_SDCARD #define GUI_TRASH_FILE -#define USE_BERRY // Enable Berry scripting language +#ifdef USE_BERRY // Berry scripting language #define USE_BERRY_PSRAM // Allocate Berry memory in PSRAM if PSRAM is connected - this might be slightly slower but leaves main memory intact +#endif #define USE_I2C #define USE_BMA423