Release and Debug configuration for ESP32
Posted: Fri Sep 27, 2019 3:26 pm
Hello,
for my project I would like to create DEBUG and RELEASE configuration. It is quite easy to do with menuconfig - I just need to change "optimization level" and necessary changes are applied in sdkconfig.
But I do not want to use menuconfig everytime I need to change this configuration. So I created two different sdkconfigs: sdkconfig_debug and sdkconfig_release.
I am using CMake and I would like to be able to choose between sdkconfig_debug and sdkconfig_release. Is it possible?
I read here: viewtopic.php?t=5806
that someone was using SDKCONFIG for Make.
I tried that with CMake but it is not working for me
Thank you for any ideas.
Best,
Marcin
for my project I would like to create DEBUG and RELEASE configuration. It is quite easy to do with menuconfig - I just need to change "optimization level" and necessary changes are applied in sdkconfig.
But I do not want to use menuconfig everytime I need to change this configuration. So I created two different sdkconfigs: sdkconfig_debug and sdkconfig_release.
I am using CMake and I would like to be able to choose between sdkconfig_debug and sdkconfig_release. Is it possible?
I read here: viewtopic.php?t=5806
that someone was using SDKCONFIG for Make.
I tried that with CMake but it is not working for me
Thank you for any ideas.
Best,
Marcin