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

BLE: Cordio host upgrade #9864

Merged
merged 11 commits into from
Mar 2, 2019
Merged

Conversation

paul-szczepanek-arm
Copy link
Member

@paul-szczepanek-arm paul-szczepanek-arm commented Feb 26, 2019

Description

Upgrade Cordio host to 19.02.
Open source Cordio controller.

Pull request type

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

Reviewers

@donatieng
@pan-

Release Notes

Upgrade of cordio host to new version (from 2.4 to 19.02). Should not impact users and be a in-place upgrade.
Replace compiled cordio controller libs with sources - no functional change and no impact on users.

@paul-szczepanek-arm
Copy link
Member Author

Please add needs work. This is based on the pre-release and needs updating.


/*************************************************************************************************/
/*!
* \brief Attribute protocol client and server API. */
Copy link
Member Author

Choose a reason for hiding this comment

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

blame regex, will fix

Copy link
Member Author

Choose a reason for hiding this comment

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

no, really, eclipse regex did this, very unhappy with it now, will write a stern letter to the Eclipse Foundation

@ciarmcom ciarmcom requested review from donatieng, pan- and a team February 26, 2019 20:00
@ciarmcom
Copy link
Member

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

@paul-szczepanek-arm
Copy link
Member Author

based on final 19.02 cordio release

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.

Thanks @paul-szczepanek-arm - a few minor things but looks good!

@@ -41,6 +41,10 @@
/*! WSF handler ID */
wsfHandlerId_t stack_handler_id;

/* WSF heap allocation */
uint8_t *SystemHeapStart;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could these be made static? (and stack_handler_id above as well)

Copy link
Member Author

Choose a reason for hiding this comment

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

no, they need to be provided for wsf

extern "C" {
#endif

/* UART */
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove these implementations if not needed :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I can't, we need to provide something for the linker, I will signpost and comment them

@paul-szczepanek-arm
Copy link
Member Author

ready for review, testing

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 27, 2019

Upgrade of cordio host to new version. Should not impact users and be a in-place upgrade.

Can you be more specific - what version are we updating "from to" ?

@paul-szczepanek-arm
Copy link
Member Author

Added versions but since numbering has clearly changed to year/month style, this is not that important.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 28, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 28, 2019

Test run: FAILED

Summary: 1 of 9 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR8

@paul-szczepanek-arm
Copy link
Member Author

looks like CI problem

/* verify signed write is permitted */
if ((pAttr->settings & ATTS_SET_ALLOW_SIGNED) == 0)
/* verify permissions */
if (attsPermissions(pCcb->connId, ATTS_PERMIT_WRITE, handle, pAttr->permissions) != ATT_SUCCESS)
Copy link
Member

Choose a reason for hiding this comment

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

I remember we made changes here as the check from the stack were incorrect. We should double check if they are correct now

@paul-szczepanek-arm
Copy link
Member Author

yes and yes

@paul-szczepanek-arm
Copy link
Member Author

still testing but ready for CI

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 1, 2019

@pan- Happy with it as it is?

@paul-szczepanek-arm
Copy link
Member Author

he said yes

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 1, 2019

he said yes

@pan- lost his voice? 😀

CI restarted

Copy link
Member

@pan- pan- left a comment

Choose a reason for hiding this comment

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

Lets get this in.

@mbed-ci
Copy link

mbed-ci commented Mar 1, 2019

Test run: FAILED

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

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR8

@paul-szczepanek-arm
Copy link
Member Author

fixed IAR problem

@paul-szczepanek-arm
Copy link
Member Author

paul-szczepanek-arm commented Mar 1, 2019

IAR still complaining (different file), hang on

@donatieng
Copy link
Contributor

@ARMmbed/mbed-os-maintainers sanity checking in progress: https://mbed-os.mbedcloudtesting.com/blue/organizations/jenkins/mbed-os-ci_fork-test/detail/mbed-os-ci_fork-test/125/pipeline/83

@paul-szczepanek-arm
Copy link
Member Author

my IAR was out of date, fixed, ready for CI

@adbridge
Copy link
Contributor

adbridge commented Mar 1, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Mar 1, 2019

Test run: FAILED

Summary: 2 of 14 test jobs failed
Build number : 3
Build artifacts

Failed test jobs:

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

@donatieng
Copy link
Contributor

donatieng commented Mar 1, 2019

Hmmm... Looks like a K66F filesystem test being flaky 😿

@ghost ghost added the PM_ACCEPTED label Mar 1, 2019
@cmonr
Copy link
Contributor

cmonr commented Mar 1, 2019

@donatieng Fortunately, we can restart just jenkins-ci/greentea-test.

It's been restarted.

@cmonr cmonr merged commit 4043623 into ARMmbed:master Mar 2, 2019
@cmonr cmonr removed the needs: CI label Mar 2, 2019
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.

8 participants