Thank you both. I followed the example of same70-xplained, and essentially I do the exact same thing.
However, as I get it, the final step would be to call stm32_macaddress() to set the address to the MAC. This function takes as an argument a struct stm32_ethmac_s which is private to the stm32_eth driver. So I understand that I cannot set the MAC address within the board initialization. Is there any other way? Or maybe this function shall be changed to: void stm32_macaddress(int intf); Στις Κυρ, 2 Αυγ 2020 στις 4:36 μ.μ., ο/η spudaneco <spudan...@gmail.com> έγραψε: > > > Another option surely is to bring it up in board's board_app_initialize > or such...Like: > https://github.com/apache/incubator-nuttx/blob/master/boards/arm/samv7/same70-xplained/src/sam_ethernet.c#L150Sent > from Samsung tablet. >