File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 84
84
PROJECT_DIR = env .subst ("$PROJECT_DIR" )
85
85
PROJECT_SRC_DIR = env .subst ("$PROJECT_SRC_DIR" )
86
86
CMAKE_API_REPLY_PATH = os .path .join (".cmake" , "api" , "v1" , "reply" )
87
- SDKCONFIG_PATH = os .path .expandvars (board .get (
87
+ SDKCONFIG_PATH = os .path .expandvars (board .get (
88
88
"build.esp-idf.sdkconfig_path" ,
89
89
os .path .join (PROJECT_DIR , "sdkconfig.%s" % env .subst ("$PIOENV" )),
90
90
))
@@ -1276,6 +1276,10 @@ def _create_venv(venv_dir):
1276
1276
"the `variant` field! The default `esp32` variant will be used."
1277
1277
)
1278
1278
extra_components .append (ARDUINO_FRAMEWORK_DIR )
1279
+ # Add path to internal Arduino libraries so that the LDF will be able to find them
1280
+ env .Append (
1281
+ LIBSOURCE_DIRS = [os .path .join (ARDUINO_FRAMEWORK_DIR , "libraries" )]
1282
+ )
1279
1283
1280
1284
print ("Reading CMake configuration..." )
1281
1285
project_codemodel = get_cmake_code_model (
You can’t perform that action at this time.
0 commit comments