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 b1b44fe commit 3bff250Copy full SHA for 3bff250
builder/frameworks/espidf.py
@@ -884,7 +884,13 @@ def find_default_component(target_configs):
884
for config in target_configs:
885
if "__pio_env" in config:
886
return config
887
- return ""
+ sys.stderr.write(
888
+ "Error! Failed to find the default IDF component with build information for "
889
+ "generic files.\nCheck that the `EXTRA_COMPONENT_DIRS` option is not overridden "
890
+ "in your CMakeLists.txt.\nSee an example with an extra component here "
891
+ "https://docs.platformio.org/en/latest/frameworks/espidf.html#esp-idf-components\n"
892
+ )
893
+ env.Exit(1)
894
895
896
def create_version_file():
0 commit comments