-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Program size is not checked against all available partitions #1166
Comments
This way developers can select an arbitrary partition which will be used for dynamic memory checks.
Hi @maxbalan, PlatformIO is not aware of what partition will be used for the application. Selecting the biggest partition with the [env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = espidf
monitor_speed = 115200
board_build.partitions = partitions.csv
board_build.app_partition_name = app1 To test it out, just pull the latest changes from this repo. |
Hi @valeros thank you for your reply and solution, I will test it as soon as I can and report back with the results |
Hi @valeros I did test this feature as part of the release 6.4.0, and can confirm it is working as expected, the build is passed when setting parameter |
Hi,
I am trying to build a program and flash it to a different partition then factory one, hence my
app0
is of128kb
size andapp2
is 3mb since I intend to flash it to theapp2
when building the
checkprogsize
fails because it only check the partition size that starts at0x10000
but does not look for other partitions size.I think the firmware size check against the partitions should be done in fashion where it check that the program will fit in at least one partition before failing the build/upload.
platformio.ini
partitions.csv
terminal output
The text was updated successfully, but these errors were encountered: