-
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
Nuvoton: Enable no HXT/LXT configurability #14721
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LXT/HXT are external crystl oscillator and can be absent on custom board. This enables configuring LXT/HXT presence: 1. By default, LXT/HXT are configured to be present, except M252 which has no HXT. 2. When LXT is configured to not present, lp_ticker/watchdog will clock by LIRC instead. 3. Limitations: (1) On all targets, LIRC-clocked lp_ticker gets inaccurate and fails to pass tests. (2) On NUC472/M453, HIRC-clocked PLL doesn't output 1MHz-aligned frequency. us_ticker gets slight inaccurate. (3) On all targets, LIRC-clocked RTC is not supported due to no H/W path/RTC clock source reset to LXT on reset/RTC not trimmed for other clock rates. 4. On M263, TRNG's clock source defaults to LXT and needs special handling without LXT. 5. On M252, replace target.hxt-enable with target.hxt-present for consistency.
This is to guard from BSP driver which cannot see this configuration and still uses HXT/LXT.
This is to spare one HXT component in case the substitute HIRC can pass Greentea test with accuracy.
ciarmcom
added
the
release-type: patch
Indentifies a PR as containing just a patch
label
Jun 2, 2021
@ccli8, thank you for your changes. |
This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please complete review of the changes to move the PR forward. Thank you for your contributions. |
0xc0170
approved these changes
Jun 7, 2021
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
mbedmain
added
release-version: 6.12.0
Release-pending
and removed
release-type: patch
Indentifies a PR as containing just a patch
Release-pending
labels
Jun 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
This PR tries to enable no HXT/LXT capability of being configurable. LXT/HXT are external crystal oscillator and can be absent on custom board.
Impact of changes
On M252,
target.hxt-enable
is replaced withtarget.hxt-present
for consistent with other targets.Migration actions required
mbed_app.json
, iftarget.hxt-enable
is defined, replace withtarget.hxt-present
.mbed_app.json
, iftarget.lxt-present
isfalse
, also remove RTC device addingtarget.device_has_remove: ["RTC"]
.Pull request type
Test results