cancel
Showing results for 
Search instead for 
Did you mean: 

Generating CMake project using NetXDuo is broken

mo_krauti
Associate II

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.

3 REPLIES 3
Mahmoud Ben Romdhane
ST Employee

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

 

 

mo_krauti
Associate II

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.

Hello @mo_krauti ,

 

I suggest that you work with the preconfigured projects under the package X-CUBE-AZRTOS-F7 folder.

 

Thanks.

Mahmoud