From 25b286c4e83bc52631b3a9d336633727df10b291 Mon Sep 17 00:00:00 2001 From: Sleeper85 <153944466+Sleeper85@users.noreply.github.com> Date: Mon, 28 Jul 2025 17:40:25 +0200 Subject: [PATCH] New YAML regarding PSRAM --- packages/board/board_ESP32-S3_AtomS3R.yaml | 6 ++-- .../board_options_PSRAM_octal_80Mhz.yaml | 31 +++++++++++++++++++ ....yaml => board_options_PSRAM_options.yaml} | 5 --- .../board/board_options_display_480x222.yaml | 6 ++-- 4 files changed, 37 insertions(+), 11 deletions(-) create mode 100644 packages/board/board_options_PSRAM_octal_80Mhz.yaml rename packages/board/{board_options_ESP32-S3_PSRAM.yaml => board_options_PSRAM_options.yaml} (97%) diff --git a/packages/board/board_ESP32-S3_AtomS3R.yaml b/packages/board/board_ESP32-S3_AtomS3R.yaml index 6621716..ee2434d 100644 --- a/packages/board/board_ESP32-S3_AtomS3R.yaml +++ b/packages/board/board_ESP32-S3_AtomS3R.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.06.12 -# Version : 1.3.0 +# Updated : 2025.07.28 +# Version : 1.3.1 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -44,7 +44,7 @@ packages: device_base: !include ../base/device_base.yaml device_base_wifi: !include ../base/device_base_wifi.yaml display: !include board_options_display_128x128.yaml - psram: !include board_options_ESP32-S3_PSRAM.yaml + psram: !include board_options_PSRAM_octal_80Mhz.yaml esp32: board: m5stack-atoms3 diff --git a/packages/board/board_options_PSRAM_octal_80Mhz.yaml b/packages/board/board_options_PSRAM_octal_80Mhz.yaml new file mode 100644 index 0000000..50fc690 --- /dev/null +++ b/packages/board/board_options_PSRAM_octal_80Mhz.yaml @@ -0,0 +1,31 @@ +# Updated : 2025.07.28 +# Version : 1.1.1 +# GitHub : https://github.com/Sleeper85/esphome-yambms + +# YamBMS ( Yet another multi-BMS Merging Solution ) + +# This YAML is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation, either version 3 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This file optimizes the use of the ESP32-S3 PSRAM by authorizing or forcing +# certain data to be written to the PSRAM rather than to the internal RAM. +# The configuration presented here already seems stable for several users and +# visibly offers better behavior of the esp when it contains a lot of entities. + +# PSRAM activation with default options +psram: + mode: octal + speed: 80MHz + +packages: + psram_options: !include board_options_PSRAM_options.yaml diff --git a/packages/board/board_options_ESP32-S3_PSRAM.yaml b/packages/board/board_options_PSRAM_options.yaml similarity index 97% rename from packages/board/board_options_ESP32-S3_PSRAM.yaml rename to packages/board/board_options_PSRAM_options.yaml index c513486..b6b6f13 100644 --- a/packages/board/board_options_ESP32-S3_PSRAM.yaml +++ b/packages/board/board_options_PSRAM_options.yaml @@ -22,11 +22,6 @@ # The configuration presented here already seems stable for several users and # visibly offers better behavior of the esp when it contains a lot of entities. -# PSRAM activation with default options -psram: - mode: octal - speed: 80MHz - # PSRAM extras options esp32: framework: diff --git a/packages/board/board_options_display_480x222.yaml b/packages/board/board_options_display_480x222.yaml index 906355a..cbafb84 100644 --- a/packages/board/board_options_display_480x222.yaml +++ b/packages/board/board_options_display_480x222.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.06.14 -# Version : 1.1.1 +# Updated : 2025.07.28 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -22,7 +22,7 @@ # +--------------------------------------+ packages: - psram: !include board_options_ESP32-S3_PSRAM.yaml + psram: !include board_options_PSRAM_octal_80Mhz.yaml color: - id: my_black