-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
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
ESP-ADF does not get recognized in VSCode after install (AUD-5539) #1231
Comments
I recommend using the IDF release/v5.2 version. It worked normally for me. |
I figured out the sequence of steps to take to undo the damage mixed versions cause.
Pay VERY close attention to NOTE: Make sure you add path to the ESP-IDF Python environment and while doing so, make sure to use the PROJECT_NAME := your_project_name
include $(IDF_PATH)/project.mk
# Change to: include $(ADF_PATH)/project.mk
cmake_minimum_required(VERSION 3.5)
include($ENV{ADF_PATH}/CMakeLists.txt)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(your_project_name) While doing this, you might want to use a tool named Voidtools Everything as this makes finding those folders and executables extremely easy. If the build failed (evidenced by the FreeRTOS include failures), you need to remove the
|
It seems like if you use a custom version or something installed outside of the extension for the ESP-IDF environment, the default version of the tools installed after it is fixed to v5.0 instead of v4.4 as it should be, even if you have |
You're right, very cool work! |
Environment
Problem Description
Using any part of ESP-ADF in the project will cause "cannot open source file" error (such as
audio_common.h
)However, using idf.py to test its installation status works fine.
Expected Behavior
The header files are included with no issues.
Actual Behavior
Visual Studio Code refuses to accept the
components
folder and causes compile errors when any of the ESP-ADF components are used.Steps to Reproduce
install.bat
for ESP-IDFexport.bat
for ESP-IDFinstall.bat
for ESP-ADFexport.bat
for ESP-ADFCode to Reproduce This Issue
sdkconfig
The text was updated successfully, but these errors were encountered: