This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote LCD Nokia5510/JLX12864 with ESP32
#17
Brick 
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.

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 Angel
Reply


Messages In This Thread
RE: Remote LCD Nokia5510/JLX12864 with ESP32 - by kagouraki - 2022-01-12, 07:41 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)