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 181800e commit b65e891Copy full SHA for b65e891
py/py.mk
@@ -33,6 +33,9 @@ ifneq ($(USER_C_MODULES),)
33
# pre-define USERMOD variables as expanded so that variables are immediate
34
# expanded as they're added to them
35
36
+# Confirm the provided path exists, show abspath if not to make it clearer to fix.
37
+$(if $(wildcard $(USER_C_MODULES)/.),,$(error USER_C_MODULES doesn't exist: $(abspath $(USER_C_MODULES))))
38
+
39
# C/C++ files that are included in the QSTR/module build
40
SRC_USERMOD_C :=
41
SRC_USERMOD_CXX :=
0 commit comments