File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ uint8_t *eth_get_tx_buffer(uint16_t *size) {
80
80
/* -------------------------------------------------------------------------- */
81
81
EthernetDriver::EthernetDriver () {
82
82
/* -------------------------------------------------------------------------- */
83
-
84
83
85
84
/* default MAC ADDRESS */
86
- mac_address[0 ] = 0xAA ;
87
- mac_address[1 ] = 0xBB ;
88
- mac_address[2 ] = 0xCC ;
89
- mac_address[3 ] = 0xDD ;
90
- mac_address[4 ] = 0xEE ;
91
- mac_address[5 ] = 0xFF ;
85
+ const bsp_unique_id_t * t = R_BSP_UniqueIdGet ();
86
+ mac_address[0 ] = 0xA8 ;
87
+ mac_address[1 ] = 0x61 ;
88
+ mac_address[2 ] = 0x0A ;
89
+ mac_address[3 ] = t->unique_id_words [0 ] ^ t->unique_id_words [1 ];
90
+ mac_address[4 ] = t->unique_id_words [2 ];
91
+ mac_address[5 ] = t->unique_id_words [3 ];
92
92
93
93
/* ethernet PHY _________________________________________________________ */
94
94
phy_cfg.channel = ETHERNET_CHANNEL;
You can’t perform that action at this time.
0 commit comments