Setting "idf.enableCCache" to true does not work (VSC-835)
See original GitHub issueI tried setting "idf.enableCCache": true
in the project settings.json
file and globally. When building, I watch the CMake configuration info at the beginning, I do not see the line -- ccache will be used for faster recompilation
.
I have to add this line in the CMakeLists.txt
file
set(CCACHE_ENABLE "1")
in order to get it to work.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Fatal Errors - ESP32 - — ESP-IDF Programming Guide v4.2 ...
This allows the panic handler to run without needing to re-enable cache first. This may be necessary to debug some complex issues with...
Read more >Configuration Options - ESP-IDF Programming Guide
Define maximum number of partitions that can be mounted. SPIFFS Cache Configuration¶. SPIFFS_CACHE¶. Enable SPIFFS Cache. Found in: Component config ...
Read more >Read the Docs Template Documentation
This is the documentation for Espressif IoT Development Framework (esp-idf). ESP-IDF is the official development.
Read more >Configuration Options — ESP-IDF 编程指南 v3.3.5-125 ...
If not set (default), the bootloader will permanently disable UART bootloader flash cache access on first boot. If set, the UART bootloader will...
Read more >ESP-IDF | CLion Documentation - JetBrains
This article is an introductory guide for working with ESP-IDF in CLion. ... See Tutorial: Configure CLion on Windows for instructions.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, it works now when I perform those steps. If I find any other situations where this happens, I will let you know. At least I know if it does happen, a full clean will force it to work.
On Wed, Feb 9, 2022, 6:13 AM Brian A. Ignacio @.***> wrote:
I found another time when CCache gets disabled, When you set the target to a different board, It forces a reconfigure and does not have the CCache arg when it does this. (As long as you don’t run the SDK Config editor before building, if you do run it or do a manual full clean, it will work.)