-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix enabling/disabling BLE-Features #13545
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
Fix enabling/disabling BLE-Features #13545
Conversation
@DBS06, thank you for your changes. |
@paul-szczepanek-arm Can you review ? |
The diff is really hard to read. I think you reordered the functions. Is that needed? |
I also reviewed but because of some many changes, it was not clear if there are additions or just refactoring (moving functions in within the same file) and applying |
I already thought, that this would be an issue. I could change that of course. |
|
||
|
||
#if BLE_ROLE_BROADCASTER | ||
#if BLE_FEATURE_PERIODIC_ADVERTISING |
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.
would all these make sense to be #if ... && ....
rather than these if if ?
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.
my changes mirror how it is done in the header, if we change it here to #if ... && ....
it should also be changed in the header.
BTW: for me it looks really awful how the code in the header and cpp is organized.
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 see, all fine then from my side
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.
Out of curiosity, what would you improve in the headers and cpp files ?
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
EDIT: Done! |
f7397f3
to
59996f2
Compare
Pull request has been modified.
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
actually, my bad, it was not incorporated |
59996f2
to
c0021e2
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.
LGTM
Ci started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Fixes #13541
The current implementation does not allows to disable BLE-Features to reduce the CORDIO-Stack-Size.
Impact of changes
BLE-Features can now be disabled
Migration actions required
Documentation
Pull request type
Test results
Reviewers