Unsolved A Makefile problem
-
Is there a way to restore its value?
-
@mrdebug Is there actually any documentation for this esp32? Maybe it is described somewhere?
-
Looking at this:
Set default LDFLAGS
EXTRA_LDFLAGS ?=
LDFLAGS ?= -nostdlib
-u call_user_start_cpu0
$(EXTRA_LDFLAGS)
-Wl,--gc-sections
-Wl,-static
-Wl,--start-group
$(COMPONENT_LDFLAGS)
-lgcc
-lstdc++
-lgcov
-Wl,--end-group
-Wl,-ELI think the correct way is to add your values to
EXTRA_LDFLAGS
in yourMakefile
before inserting$(IDF_PATH)/make/project.mk
At least it looks like that is the way it was designed.
Regards
-
Absolutely not.
I have already asked in the Espressif official forum without any reply.
I have asked here because this forum is read by top level developers.There is another way, it is to use cmake. With cmake everithing works.
The problem is the IDE.
I need to use an IDE to develop, such as Eclipse (the only one). The problem is that Eclipse does not considered the CMakeLists.txt file. It considers only the Makefile file because Eclipse manages the Esp32 projects as Makefile projects.To use Eclipse is not mandatory (I hate Eclipse) but it is the only one.
-
Ok now I try
-
I need to use an IDE to develop, such as Eclipse (the only one). The problem is that Eclipse does not considered the CMakeLists.txt file. It considers only the Makefile file because Eclipse manages the Esp32 projects as Makefile projects.
Why not use QtCreator? https://doc.qt.io/qtcreator/creator-project-generic.html is exactly for that use case with existing makefiles.
I use them for Atmel ATMEGA projects, e.g.
Regards
-
Is it possible to manage a CMakeList project?
-
-
I will try
-
@mrdebug said in A Makefile problem:
After having studying how to QtCreator generates a Makefile, I have inserted the following lines on code in my Makefile
Mmm, so are you editing the Makefile by hand?
I'm not sure it's a good way to go.
You may want to edit your Qt project file (.pro) and let qmake create your Makefile then, passing to it all your settings...