Skip to content

Cordio LPA for Cypress targets #11327

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

Closed
wants to merge 3 commits into from

Conversation

kyle-cypress
Copy link

@kyle-cypress kyle-cypress commented Aug 24, 2019

Description

Improve Cordio Low Power Assist.
Minor fixes/enhancements to driver

This PR is dependent on #11323 and #11324

Pull request type

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

Reviewers

@ARMmbed/team-cypress

Release Notes

@ciarmcom
Copy link
Member

@kyle-cypress, thank you for your changes.
@ARMmbed/mbed-os-pan @ARMmbed/mbed-os-maintainers please review.

*
********************************************************************************
* \copyright
* Copyright 2019-2020, Cypress Semiconductor Corporation. All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you align the license as other files from PSOC6 ? This is not a license we can accept.

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

MukundGitHub and others added 2 commits August 26, 2019 09:46
Allow more flexibile configuration for BLE radio pins
Migrate to using ThisThread::sleep_for instead.
@kyle-cypress
Copy link
Author

This PR is dependent on #11323 and #11324

}

void CyH4TransportDriver::initialize()
{
#if (defined(MBED_TICKLESS) && DEVICE_SLEEP && DEVICE_LPTICKER)
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't MBED_TICKLESS contain sleep at least ?

Copy link
Author

Choose a reason for hiding this comment

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

While https://os.mbed.com/docs/mbed-os/v5.13/porting/tickless.html states that target should support Sleep HAL API to enable TICKLESS, MBED has no checks that we can find to ensure that DEVICE_SLEEP is set if MBED_TICKLESS is set (i.e. there does not seem to be a technical means by which one implies the other). Therefore, the current implementation is cautious.

Fixes are for CY8CKIT_062S2_43012 and CY8CPROTO_062_4343W
@0xc0170
Copy link
Contributor

0xc0170 commented Aug 29, 2019

Integrated via #11367

@0xc0170 0xc0170 closed this Aug 29, 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.

4 participants