Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MAC addresses build-time configurable, #38

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wom-bat
Copy link
Contributor

@wom-bat wom-bat commented Feb 20, 2024

It used to be that MAC addresses were hardcoded to 52:54:01:00:00, 52:54:01:00:0A, etc.
Now you can specify -DMAC_BASE_ADDRESS=0x5254010000 to the C compiler to get the same effect.

You must use the same MAC_BASE_ADDRESS for all components.

This is referenced by au-ts/lionsos#10

It used to be that MAC addresses were hardcoded to
52:54:01:00:00, 52:54:01:00:0A, etc.
Now you can specify -DMAC_BASE_ADDRESS=0x5254010000 to the C compiler
to get the same effect.

You must use the same MAC_BASE_ADDRESS for all components.

Signed-off-by: Peter Chubb <peter.chubb@unsw.edu.au>
Use the same default as before.

Signed-off-by: Peter Chubb <peter.chubb@unsw.edu.au>
@Ivan-Velickovic
Copy link
Collaborator

I'd like to get this in since we keep having MAC address clashes when we're developing at the same time in the lab. Would you mind rebasing it and the LionsOS one? Will try merge before any more conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants