We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current version of template is using CMAKE_BUILD_TYPE to determine Release/Debug build. Which will result in the command like this:
idf.py -DCMAKE_BUILD_TYPE=Debug build flash monitor
The template should use CONFIG_COMPILER_OPTIMIZATION_DEBUG, CONFIG_COMPILER_OPTIMIZATION_SIZE, CONFIG_COMPILER_OPTIMIZATION_PERF and so on.
Setting CMAKE_BUILD_TYPE in IDF is not a supported way of changing optimization level, more details: espressif/esp-idf#4189
The text was updated successfully, but these errors were encountered:
@georgik Would you mind opening a PR for that?
Sorry, something went wrong.
No branches or pull requests
Motivations
Current version of template is using CMAKE_BUILD_TYPE to determine Release/Debug build. Which will result in the command like this:
The template should use CONFIG_COMPILER_OPTIMIZATION_DEBUG, CONFIG_COMPILER_OPTIMIZATION_SIZE, CONFIG_COMPILER_OPTIMIZATION_PERF and so on.
Setting CMAKE_BUILD_TYPE in IDF is not a supported way of changing optimization level, more details: espressif/esp-idf#4189
The text was updated successfully, but these errors were encountered: