Closed Blueforcer closed 1 year ago
Why i have 30kb less, with the same code?
Different platform version? What does the Github CI log have to say about "Platform: Espressif32" version vs what's shown on your computer?
Both are the same platformIO core (6.1.10)
I see the package verisons are a bit differnet
Github:
toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Vscode:
toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Maybe i should force platfromIO in the ini to use arduinoespressif32 2.0.7?
@maxgerhardt , thanks for the hint!
@Blueforcer , see https://github.com/platformio/platform-espressif32/releases
You can use the fixed version in platformio.ini
. See https://docs.platformio.org/en/latest/projectconf/sections/env/options/platform/platform.html
If i compile my ESP32 firmware with VS-Code/platformIO on windows 11, the ESP reports a free heap of 135kb. As soon my github action compiles the same code, the ESP reports only 95kb left. Why i have 30kb less, with the same code?
Configuration
platformIO core on both: 6.1.10
Operating system:
Windows 11 (VSCode), ubuntu-latest (GithubAction)
Description of problem
Steps to Reproduce
Expected Results
Both should be the same