RTEMS | bsps/leon3: Fix LEON3 timer initialization (!1189)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Thu Apr 9 22:42:41 UTC 2026
Sebastian Huber commented on a discussion on bsps/sparc/leon3/start/amba.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1189#note_148331
> * Note that minimum value is the number of timer instances present in
> * GRTIMER/GPTIMER hardware. See HW manual.
> */
> - if (leon3_timer_prescaler)
> - grlib_store_32(&LEON3_Timer_Regs->sreload, leon3_timer_prescaler);
> + if (leon3_timer_prescaler) {
> + grlib_store_32(timer_regs->sreload, leon3_timer_prescaler);
I am sorry for my sloppy testing. This time I used the right config.ini:
```ini
[sparc/gr740]
LEON3_GPTIMER_BASE =
```
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1194
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1189#note_148331
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260409/930e16ca/attachment.htm>
More information about the bugs
mailing list