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
Remove Maxim and SoftDevice BLE stacks which do not support the latest APIs #12674
Remove Maxim and SoftDevice BLE stacks which do not support the latest APIs #12674
Conversation
@LDong-Arm, thank you for your changes. |
Hi @pan- @evedon, this is the PR to remove deprecated target-specific BLE stacks. As in the description, this gets rid of the API implementation by SoftDevice but is not a complete clean-up of the lower level SDK code - do we care about this at the moment? |
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
FYI @ARMmbed/team-maximintegrated commit 7ef08df |
CI started |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Hi @0xc0170, it looks like the CI failed at some HTTP request which is probably unrelated? |
test restarted |
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.
Thanks @LDong-Arm, there are a few more things that need to be cleaned up in targets.json
:
Lines 10947 to 10949 in ba6f89e
"BLE_STACK_SUPPORT_REQD", | |
"SOFTDEVICE_PRESENT", | |
"S130", |
Lines 10972 to 10979 in ba6f89e
"MERGE_SOFT_DEVICE": true, | |
"EXPECTED_SOFTDEVICES_WITH_OFFSETS": [ | |
{ | |
"boot": "", | |
"name": "s130_nrf51_2.0.0_softdevice.hex", | |
"offset": 110592 | |
} | |
], |
Line 7457 in ba6f89e
"BLE" |
Otherwise, LGTM
Pull request has been modified.
@LDong-Arm Please rebase (recent merges made unfortunately a conflict here), will restart testing and this should go in today. |
The current Maxim BLE driver only implements the old BLE API which is deprecated and will be removed soon. Once an updated BLE stack for Maxim becomes available, BLE feature can be re-enabled.
…ets) The Nordic SoftDevice BLE stack used by NRF51* targets only supports legacy BLE APIs which we will removed completely. Note: NRF52* targets which use Cordio BLE stack are unaffected.
b475caf
to
6954dbe
Compare
@0xc0170 Rebased |
Pull request has been modified.
@0xc0170 @donatieng @evedon @bulislaw I resolved the merged conflicts in |
CI started |
As it was just a rebase to resolve a conflict, all fine here. |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
…er used Previously we overrode NRF targets to have a larger stack due to memory required by SoftDevice. Having deprecated SoftDevice in favour of Cordio for BLE (ARMmbed#12674), such requirement does not apply anymore.
…used Previously we overrode nRF targets to have a larger stack due to memory required by SoftDevice. Having deprecated SoftDevice in favour of Cordio for BLE (ARMmbed#12674), such requirement does not apply anymore.
Summary of changes
targets.json
.Note: Some references/macros for SoftDevice are still present in the Nordic SDK (
targets/TARGET_NORDIC/*
) and not cleanly separated with other components.Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
Note: This only disables BLE feature from targets.
Reviewers
@pan- @evedon