Skip to main content
Associate III
March 11, 2025
Question

Generating CMake project using NetXDuo is broken

  • March 11, 2025
  • 2 replies
  • 524 views

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.

2 replies

Technical Moderator
April 11, 2025

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

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
mo_krautiAuthor
Associate III
April 11, 2025

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.

Technical Moderator
April 11, 2025

Hello @mo_krauti ,

 

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

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.