RTEMS | bsps/leon3: Fix LEON3 timer register store (!1194)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Thu Apr 9 22:41:39 UTC 2026
Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1194
Project:Branches: sebhub/rtems:fix-leon3-timer-sreload to rtems/rtos/rtems:main
Author: Sebastian Huber
Assignee: Sebastian Huber
Reviewer: Matteo Concas
bsps/leon3: Fix LEON3 timer register store
Fix the this compiler error introduced by commit
d9de3dac5d609a9fe0f551ce4859fa1583a39c8e:
bsps/sparc/leon3/start/amba.c: In function 'amba_initialize':
bsps/sparc/leon3/start/amba.c:221:32: error: passing argument 1 of
'grlib_store_32' makes pointer from integer without a cast
[-Wint-conversion]
221 | grlib_store_32(timer_regs->sreload, leon3_timer_prescaler);
Tested with the following config.ini:
[sparc/gr740]
LEON3_GPTIMER_BASE =
Update #5541.
Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1194
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/a1f5f6ba/attachment-0001.htm>
More information about the bugs
mailing list