Setting MAC address at boot? #stm32


Anders
 

Hi,

I'm new to Zephyr and is struggling with how to configure the MAC address for the ethernet interface on an STM32F767 based platform at boot.
I have searched the internet and the Zephyr documentation for guidance but have not found anything useful.

I have managed to set the MAC address at boot by modifying the function eth_initialize in eth_stm32_hal.c but there must be another way of doing this then modifying the driver or?

Regards,
Anders

Join users@lists.zephyrproject.org to automatically receive all group messages.