-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to platform-espressif32 6.0.0 (after 5.3.0) #862
Comments
this needs some investigation. Also look into moving from C++11 to C++17 |
In the firmware build the RAM went up by 5768 bytes and the Flash up by 24260 bytes. When running EMS-ESP (with MQTT and HA enabled) the available heap went down by 7KB. This is using v3.5.0-dev.14. For EMS-ESP v3.5.0 I suggest stick to espressif32 5.2.0 until we figure out some useful switches or work arounds. |
My testbuild with some extra debug messages compiled with c++17 and platform 5.3.0:
|
I've created a new branch tech-upgrade for testing these changes and monitoring memory usage and performance. These changes will most likely end up in EMS-ESP 3.6.0. |
and before you know it v6 is out with C+11 as default https://github.com/platformio/platform-espressif32/releases/tag/v6.0.0 |
with 4MB 5.2.0 it uses 15.7% RAM and 99.6% flash I still can't find why it the library uses so much more memory. I've been browsing the forums but haven't spotted anything yet @MichaelDvP any ideas? |
platform-espressif32 5.3.0 was just released (https://github.com/platformio/platform-espressif32/releases/tag/v5.3.0)
and compared to 5.2.0 both RAM and Flash have gone up quite considerably. Shall we hardcode EMS-ESP to use 5.2.0 ?
Originally posted by @proddy in #388 (comment)
The text was updated successfully, but these errors were encountered: