-
Notifications
You must be signed in to change notification settings - Fork 6
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
Network: Made Kconfig to border router module #298
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that actually the modification, makes only settable only an interface (WIRED or WIRELESS). The border router has able to set both interface params.
bfa4907
to
6d8b36b
Compare
48d763c
to
8e037d4
Compare
422712f
to
ddcee66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable values to int in the kconfig interface could throw an error if an user set both interfaces in the same int value
/home/eduardo-az/github-forks/m4a-firmware/firmware/network/border_router/border_router.c: In function 'border_router_setup':
/home/eduardo-az/github-forks/m4a-firmware/firmware/network/border_router/border_router.c:36:5: error: duplicate case value
36 | case CONFIG_WIRELESS_INTERFACE:
| ^~~~
/home/eduardo-az/github-forks/m4a-firmware/firmware/network/border_router/border_router.c:33:5: note: previously used here
33 | case CONFIG_WIRED_INTERFACE:
| ^~~~
```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, it's time to merge it
Contribution description
Made kconfig to border router module with the kconfig sets the configuration to wired or wireless interface
Testing procedure
Run in terminal
make menuconfig
, look for the option border router and choose between wired o wireless interface.Issues/PRs references