How to set the mac address dynamically on a Renesas RA6M2 CPU?
I found in the Azure RTOS documents that you must use the following API call, however in the Renesas FSP Documentation it says you must not use that and rather it says do this – the application must set ether_cfg_t::p_mac_address prior to initializing the IP instance.
in the auto generated code ether_cfg_t::p_mac_address points to a non-const global variable :- Set the required MAC address in the global variable before calling nx_ip_create() (or attaching a new interface to an already existing NetX IP instance).
in the auto generated code ether_cfg_t::p_mac_address points to a non-const global variable :-
Set the required MAC address in the global variable before calling nx_ip_create() (or attaching a new interface to an already existing NetX IP instance).
See less