Skip to main content
Graduate
January 22, 2024
Solved

ETH on STM32H743 with Zephyr

  • January 22, 2024
  • 3 replies
  • 2789 views

Dear,

I'm trying to use the ETH with Zephyr RTOS 3.5.99. It was built the samples/net/dhcpv4_client sample, however, I tried to build others examples from samples/net/socket, such as echo and echo_client, but was impossible.

I would appreciate it if anyone could provide information on how to set up ETH on Zephyr.

Thanks.

 

 

 
    This topic has been closed for replies.
    Best answer by Charles Dias

    As I was trying to build the sample from out-of-tree (I copied this example to another folder), the problem was that I didn't add the mbedtls module to the west.yml file. After this, everything worked fine.

    3 replies

    Graduate
    January 22, 2024

    I did something wrong. I was trying to build the sample out-of-tree, but when I built it inside the Zephyr folder, the project worked fine. Sorry for my mistake!

    Graduate II
    January 23, 2024

    I once had a look at the Zephyr ETH stuff. Wow, that stuff looks so much better than STM's HAL...

    Charles DiasAuthorAnswer
    Graduate
    January 23, 2024

    As I was trying to build the sample from out-of-tree (I copied this example to another folder), the problem was that I didn't add the mbedtls module to the west.yml file. After this, everything worked fine.

    Visitor II
    March 14, 2025

    Hi Charles,

    Could you please explain what exactly to add to the west.yml file?

    I ran a DHCP V4 out of the box on the nucleo h723zg board and ended up with this error.
    I have had issues with MPU and fitting in Lwip in the cube ide before.
    But this Zephyr is a completely unknown territory for me.

    surendersampath_0-1741968453843.png