Skip to main content
Charles Dias
Associate III
Jan 22, 2024 10:41 PM UTC
Solved

ETH on STM32H743 with Zephyr

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.
Charles Dias
Charles DiasBest answer
Associate III
Jan 23, 2024 2:50 PM UTC

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.

4 replies

Charles Dias
Associate III
Jan 22, 2024 11:12 PM UTC

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!

LCE
Principal III
Jan 23, 2024 6:30 AM UTC

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

Charles Dias
Charles DiasAuthorBest answer
Associate III
Jan 23, 2024 2:50 PM UTC

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.

Associate
Mar 14, 2025 4:07 PM UTC

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