-
Notifications
You must be signed in to change notification settings - Fork 3k
BLE: Cordio build time configuration through mbed_lib.json #9813
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
Conversation
@paul-szczepanek-arm, thank you for your changes. |
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.
For maintenance wouldn't it make more sense to export config with names equal to the one used in cfg_stack.h
. I would avoid modification of cfg_stack.h
@0xc0170 we need the 5.12 tag. |
"cordio-cfg-max-connections": { | ||
"help": "Maximum number of connections", | ||
"value": 3, | ||
"macro_name": "CORDIO_CFG_MAX_CONNECTIONS" |
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 assumption is using macro_name to overwrite the default one - length ? Or why?
OK, I think this implements both of your comments. |
CI started |
Test run: FAILEDSummary: 3 of 8 test jobs failed Failed test jobs:
|
That is not a helpful message. Edit: the log is issued latter actually:
|
}, | ||
"desired-att-mtu": { | ||
"help": "Desired ATT_MTU, this needs to be between 23 and 517 (inclusive).", | ||
"value": 23, |
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.
"value": 23, | |
"value": 23 |
}, | ||
"max-prepared-writes": { | ||
"help": "Number of queued prepare writes supported by server.", | ||
"value": 4, |
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.
"value": 4, | |
"value": 4 |
ci restarted |
I'd wait! you guys are just too fast for me |
OK i have killed the job! @paul-szczepanek-arm please let us know when it is ready |
Apologies, it's good to go. |
Will wait on Travis CI to complete before restarting. |
CI started |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
Is it possible to configure this value in a custom_targets.json file? |
You can configure this parameter similar to others using the mbed_app.json: { |
Description
This doesn't change anything but provides an easy to find entry point to configure the Cordio stack.
Pull request type
Reviewers
@pan-
@donatieng
Release Notes
This doesn't remove the old Cordio stack config file and merely sits on top so will not introduce any unexpected changes. In case users modified the cfg files themselves (in features\FEATURE_BLE\targets\TARGET_CORDIO\stack\cordio_stack\ble-host\sources\stack\cfg) they will have to resolve the conflict.