-
Notifications
You must be signed in to change notification settings - Fork 652
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1987: Added support for external clock source and systick user-defined clock value for ARM r=hudson-ayers a=valexandru ### Pull Request Overview This pull request adds support for setting external clock source for systick and extends the support for setting a user-defined clock speed for the systick. This pull request is needed for [#1918](#1918) to work because for the i.MX RT 1052 EVKB board, even though syst_calib.SKEW = 0 and syst.calib.NOREF = 0, the calibration value is not correct and causes thesystick to overflow too fast. Also, if I select external clock source in syst_csr, which causes an external 24 MHz clock source to be prescaled to 100KHz and used as systick, the system will work. ### Testing Strategy This pull request was tested using the i.MX RT 1052 EVKB Board. ### Documentation Updated - [x] No updates are required. ### Formatting - [x] Ran `make prepush`. Co-authored-by: Vochescu Alexandru <alexvochescu@gmail.com>
- Loading branch information
Showing
1 changed file
with
38 additions
and
11 deletions.
There are no files selected for viewing
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