CubeMX code generation error: LwIP API generating in both projects on NUCLEO-H745ZI-Q
I am trying to create a project with Ethernet and LwIP on M4 core of NUCLEO-H745ZI-Q, but when generating code with CubeMX the LwIP directory is included in both cores' projects. This leads to an error when building the M7 core code. I am using 6.10.0 version of CubeMX. Below you can see the errors that occur.
fatal error: lwip/debug.h: No such file or directory
fatal error: netif/ppp/ppp_opts.h: No such file or directory
fatal error: netif/ppp/ppp_opts.h: No such file or directory
make: *** [Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk:91: Middlewares/Third_Party/LwIP/src/netif/ppp/auth.o] Error 1
make: *** [Middlewares/Third_Party/LwIP/src/netif/ppp/subdir.mk:93: Middlewares/Third_Party/LwIP/src/netif/ppp/ccp.o] Error 1
make: *** [Middlewares/Third_Party/LwIP/system/OS/subdir.mk:19: Middlewares/Third_Party/LwIP/system/OS/sys_arch.o] Error 1
make: *** Waiting for unfinished jobs....
