Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fresh project build errors - ESP Insights Project commit: HEAD-HASH-NOTFOUND & ESP RainMaker Project commit: HEAD-HASH-NOTFOUND (IDFGH-14314) #11119

ae-5th started this conversation in Question - Community Help
Discussion options

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.3.2

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Build without errors.

What is the actual behavior?

Build with errors.

Steps to reproduce.

Go to New Project Wizard - Choose Template arduino-as-component.
Then CTRL+Shift+P and type/choose ESP-IDF: Add Arduino ESP32 as ESP-IDF Component.

Build or installation Logs.

-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
ESP Insights Project commit: HEAD-HASH-NOTFOUND
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
ESP RainMaker Project commit: HEAD-HASH-NOTFOUND
CMake Error at components/arduino/CMakeLists.txt:362 (message):
  esp32-arduino requires CONFIG_FREERTOS_HZ=1000 (currently 100)

More Information.

Fresh project with Arduino component does not build.

You must be logged in to vote

Replies: 3 comments

Comment options

The actual issue is esp32-arduino requires CONFIG_FREERTOS_HZ=1000 (currently 100).
Try adding CONFIG_FREERTOS_HZ=1000 to sdkconfig.defaults inside the project (create the file if not there) and try to build again

You must be logged in to vote
0 replies
Comment options

That did not helped. Still same build errors.

You must be logged in to vote
0 replies
Comment options

They are two separate issues:

  1. esp32-arduino requires CONFIG_FREERTOS_HZ=1000 (currently 100)
    • Set CONFIG_FREERTOS_HZ=1000 in sdkconfig
  2. Project commit: HEAD-HASH-NOTFOUND (ESP-IDF and ESP-Matter project build fails with HEAD-HASH-NOTFOUND (IDFGH-11631) (CON-1097) esp-matter#881 Project commit: HEAD-HASH-NOTFOUND (IDFGH-5405) esp-idf#7151)
    • Go to build/esp-idf/espressif__esp_rainmaker/CMakeFiles/git-data and build/esp-idf/espressif__esp_insights/CMakeFiles/git-data
    • Rename HEAD file to head-ref
    • Rerun the reconfigure task (Press F1, find the ESP-IDF: Run idf.py reconfigure Task)
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #10810 on March 13, 2025 11:10.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.