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

Shell add getopt long nuttx #2

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

Conversation

jakub-uC
Copy link
Owner

@jakub-uC jakub-uC commented Jul 1, 2021

Testing NuttX getopt

Jakub Rzeszutko added 11 commits June 28, 2021 14:37
Rename third party getopt library to z_getopt to avoid naming conflicts
with getopt GNU implementation.

Signed-off-by: Jakub Rzeszutko <[email protected]>
Adding library functions: getopt_long and  getopt_long_only
to extend existing getopt support.

Signed-off-by: Jakub Rzeszutko <[email protected]>
Add support for shell_getopt_long and shell_getopt_long_only
functions.

Signed-off-by: Jakub Rzeszutko <[email protected]>
Extend prj_getopt.conf with CONFING_GETOPT_LONG option.

Signed-off-by: Jakub Rzeszutko <[email protected]>
Update the shell documentation with information about supporting the
getopt_long function.

Signed-off-by: Jakub Rzeszutko <[email protected]>
Adding ztests for shell_getopt library.

Signed-off-by: Jakub Rzeszutko <[email protected]>
User can enable single intance support for the getopt, getopt_long
and getopt_long_only functions.
These features were added to make it easier to port existing code
to Zephyr.
Note however that using them via the shell is not recommended
as individual backends may overwrite the state of these functions.

Signed-off-by: Jakub Rzeszutko <[email protected]>
Signed-off-by: Jakub Rzeszutko <[email protected]>
Signed-off-by: Jakub Rzeszutko <[email protected]>
Signed-off-by: Jakub Rzeszutko <[email protected]>
Signed-off-by: Jakub Rzeszutko <[email protected]>
jakub-uC pushed a commit that referenced this pull request Aug 13, 2021
Implement the functions required to calculate the SubEvent 1
and SubEvent n mapped channel indices.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
jakub-uC pushed a commit that referenced this pull request Aug 13, 2021
Added Bluetooth Specification references to the
implementation of Channel Selection algorithm #2 in the
Controller.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
jakub-uC pushed a commit that referenced this pull request Oct 18, 2021
Remove explicit disable of Channel Selection Algorithm #2
in the mesh tests that use Extended Advertising.

Fixes zephyrproject-rtos#39188.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant