2020-07-29 01:11 AM
I’ve been using these examples for a long time, but I’ve never been able to open them and rebuild them right after importing without an error or missing path of header and source files. For simple examples, this is not so much a problem, but for more complex ones (such as an Ethernet communication) it would be good if it worked without any problems. Now specifically, it would be good if it works with: STM32Cube_FW_H7_V1.7.0 \ Projects \ NUCLEO-H743ZI \ Applications \ LwIP \ LwIP_HTTP_Server_Netconn_RTOS
(STM32CubeIDE version is 1.4.0)
The compiler can't even find the main files after importing. And the example project files are simply not opened by the IDE. Even if I tried to follow user guide instructions (STM32CubeH7GettingStarted.pdf included in the package).
Solved! Go to Solution.
2020-07-29 05:02 AM
The best way is to open those projects directly within the repository, as all references to libraries etc are relative to that folder structure.
My recommendation: make a copy of the selected project folder first (to e.g. "<project> ORI") before using that project, because this makes it easier to later compare changes you may have made.
I have just tested that again with the most recent CubeIDE version 140:
You will get some information messages, like "This project requires a conversion..." and "...without problems..."
Don't forget to check parallel build, otherwise it might take a lot longer to compile: Project > Properties > C/C++ Build, tab Behavior --> set Enable parallel build
Build the project and after a while... baaam... Build Finished. 0 errors, 0 warnings
Does it answer your question?
Good luck
/Peter
2020-07-29 05:02 AM
The best way is to open those projects directly within the repository, as all references to libraries etc are relative to that folder structure.
My recommendation: make a copy of the selected project folder first (to e.g. "<project> ORI") before using that project, because this makes it easier to later compare changes you may have made.
I have just tested that again with the most recent CubeIDE version 140:
You will get some information messages, like "This project requires a conversion..." and "...without problems..."
Don't forget to check parallel build, otherwise it might take a lot longer to compile: Project > Properties > C/C++ Build, tab Behavior --> set Enable parallel build
Build the project and after a while... baaam... Build Finished. 0 errors, 0 warnings
Does it answer your question?
Good luck
/Peter
2020-07-29 05:38 AM
Thank you Peter! It works! :)
2020-07-29 11:45 AM
Hi Peter @Peter BENSCH ,
Thanks for the description. Is this documented somewhere?
JW
2020-07-29 11:54 PM
Hi, Jan,
you're welcome.
I have only listed my experiences that I have gained from training courses, solved problems, etc. However, there is already some documentation for CubeIDE, e.g. UM2609, which at section 2.9 (currently pg 89) descibes almost the same procedure for importing an AC6 (aka SW4STM32) project.
/Peter
2020-08-01 09:50 AM
Ironically the lwIP examples themselves will not start working from this... Especially with STM32H7 and RTOS!
Be warned:
https://community.st.com/s/question/0D50X0000C6eNNSSQ2/bug-fixes-stm32h7-ethernet