No i didnt apply the patch. Where and how do i apply it ?
EDIT:
Ok so i have done my homework. i understand that this thing you posted in the readme.md is the output of the git diff command when you made the changes in the /ports/esp32/Makefile.
The thing is that i have the stock Makefile and i dont know where to add thoose. I tried to copy them to a file named test.patch and runned from the repository's root the git apply test.patch but this is returning error.
Could you please give me some usable help here and not only just a few words? I will write a guide for the others afterwards.
If you have no time there is no problem. Just say it and i will give up and sleep more
EDIT:
Ok so i have done my homework. i understand that this thing you posted in the readme.md is the output of the git diff command when you made the changes in the /ports/esp32/Makefile.
Code:
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile
index dcf4110cf..c473783e3 100644
--- a/ports/esp32/Makefile
+++ b/ports/esp32/Makefile
@@ -378,7 +378,8 @@ DRIVERS_SRC_C = $(addprefix drivers/,\
OBJ_MP =
OBJ_MP += $(PY_O)
-OBJ_MP += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
+OBJ_SRC_C = $(SRC_C:.c=.o)
+OBJ_MP += $(addprefix $(BUILD)/, $(OBJ_SRC_C:.cpp=.o))
OBJ_MP += $(addprefix $(BUILD)/, $(EXTMOD_SRC_C:.c=.o))
OBJ_MP += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
OBJ_MP += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
The thing is that i have the stock Makefile and i dont know where to add thoose. I tried to copy them to a file named test.patch and runned from the repository's root the git apply test.patch but this is returning error.
Could you please give me some usable help here and not only just a few words? I will write a guide for the others afterwards.
If you have no time there is no problem. Just say it and i will give up and sleep more