-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add target CYSBSYSKIT_01 #12603
Add target CYSBSYSKIT_01 #12603
Conversation
@dustin-crossman, thank you for your changes. |
On a somewhat related note: I'd like a little clarification regarding what #define signifies deep sleep availability and how MBED_TICKLESS relates to that. Initially we thought removing MBED_TICKLESS would clear up some of the deep sleep related failures for this board but clearly it did not. Looking a little closer there doesn't seem to be any deep sleep specific defines with the closest being DEVICE_LPTICKER if DEVICE_SLEEP is also defined. Edit: I've duplicated and reworded a bit this question on the forums: https://forums.mbed.com/t/clarification-regarding-mbed-tickless/7602 |
@kjbracey-arm / @bulislaw Could either of you answer the above questions ? |
Regarding Dustin's question from above, a question has been filed on the forum: https://forums.mbed.com/t/clarification-regarding-mbed-tickless/7602. Thank you, Ian |
Yeah it makes perfect sense. Tickless is an optimisation not a requirement. If you have working tickless and deep sleep then in theory it should be possible to enable tickless though.
We do support tickless from us ticker, but it's sort of a work around for cases when lpticker is not available or the way hardware behaves is not working well with Mbed tickless infrastructure (we need to use LPTicker as a new systick to avoid drifts associated with changing time sources systick<>lpticker which may introduce delays and latency in the system depending on HW). The difference is that by using high frequency timer we can't go into deep sleep so it only does a shallow sleep. I'm not sure whats the difference in terms of power consumption between shallow sleeping with 1ms wakeups for SysTick and shallow sleeping between events with high freq timer. |
@bulislaw Thanks for the explanation! Looking through the mbed rtos code that all makes more sense. We were pondering enabling TICKLESS_FROM_US_TICKER on this board but since that's more of a workaround and we plan on enabling deep sleep for this board in the future anyway I think this PR is good to get reviewed. |
Please review license check: |
Missing licenses are reported in the following locations: Ian |
@0xc0170 Fixed up license issues! |
@0xc0170 Hey any update on this? |
I'll start the CI in the interim |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Test restarted |
@Mergifyio backport mbed-os-5.15 |
Command
|
This reverts commit 4e6692b. There are issues with wifi connectivity on this target that mean it is not ready to ship with 5.15.2.
* upstream/mbed-os-5.15: (45 commits) Revert "Backport ARMmbed#12603: Add CYSBSYSKIT_01" Update STM32 EMAC driver based on review Update STM32 EMAC driver - limit RX frame length WHD: Remove an assert from get_rssi() crypto: Use updated ECC curve macros crypto: Update the service for Mbed Crypto 3.x crypto: Upgrade to Mbed Crypto 3.1.0 tls: Upgrade to Mbed TLS 2.20.0 Backport ARMmbed#12701: Custom BT Firmware for CYW9P62S1_43012EVB_01 Backport ARMmbed#12603: Add CYSBSYSKIT_01 Backport ARMmbed#12492: Update psoc6cm0p to version 1.1.1. Backport ARMmbed#12422: Cypress Asset Update Backport ARMmbed#12421: Cypress target reorganization Backport ARMmbed#12394: Fix Cypress 1M SDIO + other minor bugs Backport ARMmbed#12097: Cypress: Fix IAR Warnings Backport ARMmbed#12052: Fix for ARM issue 11859. Backport ARMmbed#12038: Remove qspi_frequency() call. Backport ARMmbed#12019: rework cypress lptimer hal Cellular: ALT1250 PPP cellular driver for mbed-os 5.15 RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15) ...
Summary of changes
Adds target CYSBSYSKIT_01. The CYSBSYSKIT_01 is a Arduino Feather compatible PSoC6 kit. The software flow for this board deviates somewhat from other Cypress boards because the CYSBSYSKIT_01 intends to support FOTA. To support this the boards will come pre-flashed with a CM0 image that perform the bootloading and FOTA functionalities (we don't intend to provide this CM0 image publicly). Flashing with mbed will just update the CM4 image.
Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
Greentea test results:
GT_CYSBSYSKIT_01-3-9-20.log
Failure explanations:
Reviewers