When building any of the example projects from the template, I'm getting the popup warning
"Low Application Partition Size" "Less than 30% of application partition size is free (275,072 of 1,048,576 bytes)"!
"binary size 0xbcd80 bytes. Smallest app partition is 0x100000 bytes. 0x43280 bytes (26%) free."
So from within the IDE, I modified the partitions.csv and ran 'Menu Config' (also via the IDE) to use partions.csv. However, after saving/building, the sdkconfig is still not using partions.csv, and thus I still get the size warning. Opening the IDE's Partitions Table Editor, and Menu Config after building, shows the correct settings!!
So I modified the sdkconfig file manually to use partitions.csv, but as soon as I build , it gets overwritten back to the single app.. and the warning popup appears.
Finally, I tried using the command-line to make the sdkconfig change, and that works.. the build doesn't over write sdkconfig.. and it uses the custom partitions.csv and I don't get the error.
But I don't understand why the sdkconfig changes don't take via the IDE.. nor why it would over-write it during the build. I'm concerned that future sdkconfig changes via the IDE will show correctly, yet are not reflected in sdkconfig.
Build is overwriting sdkconfig
-
nopnop2002
- Posts: 348
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: Build is overwriting sdkconfig
>So from within the IDE,
I don't know what you mean by IDE, but creating a sdkconfig.defaults would probably solve the problem, right?
https://docs.espressif.com/projects/esp ... onfig.html
I don't know what you mean by IDE, but creating a sdkconfig.defaults would probably solve the problem, right?
https://docs.espressif.com/projects/esp ... onfig.html
- IoT-Rainer
- Posts: 6
- Joined: Sun Feb 23, 2025 10:03 am
Re: Build is overwriting sdkconfig
Hi,
you need to understand the build process.
I am new to ESP32 and there is. lots of information, but the tricky parts are not so easy to find in the doc universe.
sdkconfig is built from Kconfig and Kconfig.projbuild.
https://docs.espressif.com/projects/esp ... index.html
I find the doc a little bit exhaustive, it should be layered a little more, the things you need to know how to use and the details.
It is simple, change Kconfig or Kconfig.projbuild (the latter seems to be deprecated but shows its config on top menu layer in sdkconfig).
sdkconfig.defaults can contain your default SDK config which ist used.
Then clean, rebuild. May be also idf.py menuconfig, I am not at the PC.
Important are also the environment variables (target, paths etc.), that you do not have a mess between command line and IDE.
Good luck, Rainer
you need to understand the build process.
I am new to ESP32 and there is. lots of information, but the tricky parts are not so easy to find in the doc universe.
sdkconfig is built from Kconfig and Kconfig.projbuild.
https://docs.espressif.com/projects/esp ... index.html
I find the doc a little bit exhaustive, it should be layered a little more, the things you need to know how to use and the details.
It is simple, change Kconfig or Kconfig.projbuild (the latter seems to be deprecated but shows its config on top menu layer in sdkconfig).
sdkconfig.defaults can contain your default SDK config which ist used.
Then clean, rebuild. May be also idf.py menuconfig, I am not at the PC.
Important are also the environment variables (target, paths etc.), that you do not have a mess between command line and IDE.
Good luck, Rainer
IoT, embedded and web: https://www.kaufmann-automotive.ch
Who is online
Users browsing this forum: trendictionbot, YisouSpider and 7 guests