2025-03-11 5:10 AM
When generating a CMake project using NetXDuo with lan8742 as phy driver and DHCP Client enabled, the necessary includes for the lan8742 bsp component and the dhcp client addon are missing from the CMake build configuration.
However when using the STM32CubeIDE as the export target in CubeMX, the includes are present in Project --> Properties --> C/C++ Build --> MCU GCC Compiler --> Include Paths. Building works just fine aswell.
2025-04-11 1:32 AM
Hello @mo_krauti ,
First let me thank you for posting and welcome to the ST Community.
For more investigation, I suggest please that you provide your Ioc.File.
Thanks.
Mahmoud
2025-04-11 7:45 AM
I have no idea why, but I have set up a new project and now the cmake build works. Sorry, might have been an fault on my end.
2025-04-11 8:25 AM
Hello @mo_krauti ,
I suggest that you work with the preconfigured projects under the package X-CUBE-AZRTOS-F7 folder.
Thanks.
Mahmoud