You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Novators (via GitHub)" <gi...@apache.org> on 2024/03/17 19:25:44 UTC

[PR] Derive MAC Address from board unique_id [nuttx-apps]

Novators opened a new pull request, #2332:
URL: https://github.com/apache/nuttx-apps/pull/2332

   ## Summary
   
   Adds an option to derive a MAC Address from the board's unique_id.  Essentially just retrieves the unique_id and performs bit manipulation to ensure it is a valid unicast, locally administered MAC address.  This is useful for Ethernet hardware that does not have a built-in MAC address.  
   
   Requires BOARDCTL_UNIQUEID.
   Adds the NETINIT_UIDMAC Kconfig option.
   
   ## Impact
   
   Allows use of multiple boards on the same network without having to manually configure different MAC addresses for each.
   
   ## Testing
   
   Enable NETINIT_NOMAC and NETINIT_UIDMAC.  Your Ethernet interface should initialize with a unique MAC address based on the board's ID.
   
   Tested on a RP2040 based W5500-EVB-Pico evaluation board and a custom board.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Derive MAC Address from board unique_id [nuttx-apps]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #2332:
URL: https://github.com/apache/nuttx-apps/pull/2332


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org