-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove dependency on us_ticker HAL apis for non USTICKER targets #10155
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
Conversation
Added |
@cmonr Can we start CI just to check if |
Of course pending @ARMmbed/team-seeed review |
CI started |
Test run: FAILEDSummary: 3 of 9 test jobs failed Failed test jobs:
|
Please review build failures (related to the changes) |
The failures point to undefined functions from us ticker - looks like their target code is not protected, please review |
Added USTICKER to these targets:
All of these targets had @ARMmbed/team-nxp @ARMmbed/team-seeed please review changes to your targets @ARMmbed/mbed-os-maintainers @maclobdell can you add more partners according to the affected targets? |
@cmonr can we run CI to check if last commit helped? |
👍 I would not expect to have this not being defined. We will start CI later today, when rc4 jobs go through |
@ARMmbed/team-seeed @ARMmbed/team-nxp ping |
Started CI |
Test run: FAILEDSummary: 3 of 9 test jobs failed Failed test jobs:
|
@cmonr @NirSonnenschein @0xc0170 Why does astyle suddently looks into files inside |
@cmonr @NirSonnenschein @0xc0170 can we start CI while the astyle issue is being queried? |
@mmahadevan108 Can you review last commit? |
restarting CI to verify latest fix pending a-style issue fix |
Test run: FAILEDSummary: 2 of 13 test jobs failed Failed test jobs:
|
restarted failed jenkins jobs |
|
@ARMmbed/mbed-os-maintainers Any updates regarding the astyle issue? |
@ARMmbed/mbed-os-maintainers Is this PR ready for merge once the astyle issue is handled? |
@mikisch81 I believe so. Bringing in the fix here: #10221 I think once the PR is merged, kicking off Travis CI again for this PR should make everything green (I suspect after the merge, the ref/pull/10155/merge reference is regenerated). If not, we can restart CI post-haste. |
@ARMmbed/team-nxp can you look at the last commit? |
Local testing with the last astyle missed a single character. Should be good once #10222 comes in. |
- Surround mbed_us_ticker_api.c with if DEVICE_USTICKER - get_us_ticker_data() returns NULL for non-usticker targets.
- LPC4088 - LPC4088_DM - MAX32600MBED - NCS36510 - WIZWIKI_W7500 - WIZWIKI_W7500ECO - WIZWIKI_W7500P
Rebased after #10222 was merged |
restarting CI after rebase for astyle fix |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
@ARMmbed/mbed-os-maintainers Any more stuff is needed for this PR? |
@ARMmbed/team-seeed would you like to review this before it is merged? please review or indicate that you don't intend to. |
Remove dependency on us_ticker HAL apis for non USTICKER targets
Description
During #9221 there were difficulties building a secure image without
USTICKER
and as a workaround a dummy implementation of us_ticker HAL apis was built in the secure image.#9896 handled part of the problem by calling
wait_ns()
in wait APIs when there is no USTICKER, but stillmbed_us_ticker_api.c
defined a static struct of function pointers pointing to the usticker hal APIs and there are multiple places in the tree which callget_us_ticker_data()
.So this PR solves these issues by:
Fixes #10139
Pull request type
Reviewers
@ARMmbed/mbed-os-psa @kjbracey-arm
Release Notes