2024-09-19 02:50 AM - edited 2024-09-19 02:51 AM
Hi all.
I'm working with the F767ZI Nucleo today, specifically trying to compile and evaluate an example in the F7 Firmware repository: C:\**\STM32Cube\Repository\STM32Cube_FW_F7_V1.17.2\Projects\STM32F767ZI-Nucleo\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS.
After the required conversion to enable it to compile in CubeIDE, everything thereafter was absolutely fine, although I was aware of some on-screen information relating to backing-up of the original source code files. I didn't take too much notice of it and perhaps I should have.
The project compiled with zero errors and zero warnings. Flashing the board was also sucessful. The project runs as expected, displaying the demo webpage from the assigned IP address.
However. I decided to copy the original project to another directory on another drive so I could take a deeper dive into the code and now, both the original Repository copy and the copied project have errors:
Error: Program "make" not found in PATH
I suspect that this is related to the Eclipse environment but I'm unsure of how to correct this. I really need to have this example up and running again. Any help on this will be greatly appreciated. Thanks.
Solved! Go to Solution.
2024-09-19 03:11 AM - edited 2024-09-19 03:13 AM
Ok as it's broken, it's hard to recover from it.
So as you are based on an available example: STM32Cube_FW_F7_V1.17.2\Projects\STM32F767ZI-Nucleo\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS.
Try to clone the package from gitgub here.with -- recursive option (the example is located here: https://github.com/STMicroelectronics/STM32CubeF7/tree/master/Projects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS)
or download it from here as a zip file from here.
And apply your modifications on it (if you have).
2024-09-19 02:56 AM - edited 2024-09-19 02:57 AM
Hello,
If you move it back to the location where it was compiling without errors, do you get the same behavior? or the project is broken?
2024-09-19 03:01 AM
@SofLit Hi, yes, I get the same errors. It was my first thought to copy the directory back to its original location so it's my guess that the project is broken somehow.
2024-09-19 03:11 AM - edited 2024-09-19 03:13 AM
Ok as it's broken, it's hard to recover from it.
So as you are based on an available example: STM32Cube_FW_F7_V1.17.2\Projects\STM32F767ZI-Nucleo\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS.
Try to clone the package from gitgub here.with -- recursive option (the example is located here: https://github.com/STMicroelectronics/STM32CubeF7/tree/master/Projects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS)
or download it from here as a zip file from here.
And apply your modifications on it (if you have).
2024-09-19 03:17 AM
@SofLit Thanks. I have re-installed the firmware package via CubeMX. All is working now. However, what would be the correct way to work on a (copied) firmware example (for future reference)?
2024-09-19 03:22 AM - edited 2024-09-19 03:45 AM
Copy the all project folder- using copy/paste don't use cut/paste before you are sure the project is OK with the copied version as it could get broken during the cut/paste operation for some reasons.
Now for your projects, I suggest to use some of versioning tools like git/github, in any case you face an issue, you can revert and recover.