Release and Debug configuration for ESP32

marcin@foobot.io
Posts: 1
Joined: Fri Sep 27, 2019 3:08 pm

Release and Debug configuration for ESP32

Postby marcin@foobot.io » 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

Who is online

Users browsing this forum: asargent, Google [Bot] and 103 guests