We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960b4de commit bd2d34cCopy full SHA for bd2d34c
builder/frameworks/espidf.py
@@ -874,7 +874,7 @@ def find_default_component(target_configs):
874
sys.stderr.write("Error: Couldn't find the main target of the project!\n")
875
env.Exit(1)
876
877
-if all(t in target_configs for t in (project_target_name, "__idf_main")):
+if project_target_name != "__idf_main" and "__idf_main" in target_configs:
878
sys.stderr.write(
879
(
880
"Warning! Detected two different targets with project sources. Please use "
0 commit comments