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 1333a14 commit c0be4a0Copy full SHA for c0be4a0
1 file changed
src/emlearn_neighbors/micropython.mk
@@ -0,0 +1,9 @@
1
+MOD_DIR := $(USERMOD_DIR)
2
+
3
+# Add all C files to SRC_USERMOD.
4
+SRC_USERMOD_C += $(MOD_DIR)/neighbors.c
5
6
+EMLEARN_DIR := $(shell python3 -c "import emlearn; print(emlearn.includedir)")
7
8
+# We can add our module folder to include paths if needed
9
+CFLAGS_USERMOD += -I$(EMLEARN_DIR)
0 commit comments