Skip to content

BLE: update Cordio link layer to 19.2 #10542

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

Merged

Conversation

paul-szczepanek-arm
Copy link
Member

Description

This depends on an updated Nordic SDK to version 15:
#9999

This updates the cordio link layer to 19.2 the release notes for which are here:
https://github.com/ARMmbed/CordioBLE-Controller-Stable/blob/master/controller/cordio_link_readme.md

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[x] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@pan-

Release Notes

Updates cordio link layer, doesn't change user facing API.

@paul-szczepanek-arm
Copy link
Member Author

needs work to address Don's comments

@ciarmcom ciarmcom requested review from pan- and a team May 8, 2019 09:00
@ciarmcom
Copy link
Member

ciarmcom commented May 8, 2019

@paul-szczepanek-arm, thank you for your changes.
@pan- @ARMmbed/mbed-os-maintainers please review.

@paul-szczepanek-arm
Copy link
Member Author

paul-szczepanek-arm commented May 8, 2019

This is replacing the already reviewed #10272

@donatieng
Copy link
Contributor

Hey @paul-szczepanek-arm,

@donatieng I can move the config for DK but I don't have anything to put in the configs for NRF52832 and NRF52840. Only the DK requires extra config.

Not sure what you mean - any NRF52840-based device would require that config - can you move files around accordingly?

Copy link
Contributor

@donatieng donatieng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending Paul's ok with current re-testing

@paul-szczepanek-arm
Copy link
Member Author

This is good to go for CI. I'm running tests in parallel.

@paul-szczepanek-arm
Copy link
Member Author

works for 52840, not so much for 52 - need to investigate

@paul-szczepanek-arm
Copy link
Member Author

works on nrf52, but there is a problem with the testing app so validation is based on examples

@adbridge
Copy link
Contributor

@donatieng @pan- could one of you review the additional changes please

@yogeshk19
Copy link

@adbridge I was wondering if this is on track for being rolled into 5.12.4? I am hoping this would help resolve #10321, as this issue is preventing us from testing a lot of our features.

Thanks,
Yogesh

@@ -3,7 +3,7 @@
"config": {
"zero-copy-hci": {
"help": "messages sent between Host and Controller are passed directly without copying if enabled. WSF messages ownership is trasfered to the callee.",
"value": 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an impact on existing targets that uses the non zero copy HCI driver ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the zero copy is the new path, no change made for memcpy ones

@0xc0170
Copy link
Contributor

0xc0170 commented May 20, 2019

@adbridge I was wondering if this is on track for being rolled into 5.12.4? I am hoping this would help resolve #10321, as this issue is preventing us from testing a lot of our features.

It's functionality change, will target 5.13. @paul-szczepanek-arm correct? assuming feature branch is up to date and created against master soon

@paul-szczepanek-arm
Copy link
Member Author

I think feature branch is just waiting on this PR.

@0xc0170
Copy link
Contributor

0xc0170 commented May 20, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented May 20, 2019

Test run: FAILED

Summary: 2 of 11 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_exporter
  • jenkins-ci/mbed-os-ci_greentea-test

@0xc0170
Copy link
Contributor

0xc0170 commented May 21, 2019

CI restarted

@0xc0170
Copy link
Contributor

0xc0170 commented May 21, 2019

@paul-szczepanek-arm How old is the feature branch? we are getting failures I've seen previously - mismatch somewhere - I recall rebase fixed it . Can this branch be rebased? Pls write me the rebased forked, I can push it upstream.

@OPpuolitaival
Copy link
Contributor

Seems that code is too old to support python 3

@0xc0170
Copy link
Contributor

0xc0170 commented May 21, 2019

we need to bring feature-nrf52-sdk15 up to date with master, that will fix CI failures here (not related at least!)

@0xc0170
Copy link
Contributor

0xc0170 commented May 24, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented May 24, 2019

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_exporter

@0xc0170
Copy link
Contributor

0xc0170 commented May 26, 2019

Exporters restarted

@0xc0170 0xc0170 merged commit 9bf2d0a into ARMmbed:feature-nrf52-sdk15 May 27, 2019
@yogeshk19
Copy link

@0xc0170 Is this done, is this going to be rolled into the upcoming mbed os release?

@pan-
Copy link
Member

pan- commented Jun 10, 2019

@yogeshk19 Yes that's going to be in the next release.

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.

9 participants