Hi, I'm using RL-NET 6.4, I wanted to change MAC address of my boards dynamically, there is this evidence in documentations.
The MAC address is written to the Ethernet controller registers when the controller initializes (when calling the function net_initialize). For this reason, ETH_CFG.MacAdr must be set before the system initializes.
But it seems that there is no ETH_CFG.MacAdr variable, So the question is am I missing something? How should I change the MAC address dynamically?
Regards
And your next step then was to scan through all header files, checking if any header file contained ETH_CFG?
Thanks for the info, Actually I have found it on #include "rl_net_lib.h"
But no matter if I include it in my main code,I still got the same error,
Also if I include #include <net_config.h> the code generates another error
C:\Keil_v5\ARM\PACK\Keil\MDK-Middleware\6.4.0\Network\Include\net_config.h(27): error: #35: #error directive: "::Network:Interface: No interface enabled in configuration" #error "::Network:Interface: No interface enabled in configuration"
I do not real not know what am I doing wrong.