question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting "idf.enableCCache" to true does not work (VSC-835)

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
meltdown03commented, Feb 9, 2022

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:

Hopefully this vsix installer https://nightly.link/espressif/vscode-esp-idf-extension/actions/artifacts/160791289.zip should fix the issue @meltdown03 https://github.com/meltdown03 !

— Reply to this email directly, view it on GitHub https://github.com/espressif/vscode-esp-idf-extension/issues/635#issuecomment-1033696255, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPBQCHBFHP4SYHXYLYJIVLU2JK4ZANCNFSM5NZNTZ5A . You are receiving this because you were mentioned.Message ID: @.***>

0reactions
meltdown03commented, Feb 13, 2022

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.)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found