Legacy Networking | leon3: Use sreload instead of scaler_reload for GPTIMER scaler value (!24)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Aug 21 17:10:15 UTC 2025



Gedare Bloom created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/24

Branches: cherry-pick-ea84592c to 6
Author:   Gedare Bloom




## Summary

leon3: Use sreload instead of scaler_reload for GPTIMER scaler value

LEON3_Timer_Regs->scaler_reload does not access the Scaler Reload Value
Register as intended. The correct field is LEON3_Timer_Regs->sreload,
which retrieves the GPTIMER core's scaler reload value.


(cherry picked from commit ea84592c823b606f44e652e9a05c01e58a69c20e)

Co-authored-by: Prithvi Tambewagh <prithvitambewagh789 at gmail.com>

Closes #22 

<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/24
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/20250821/d170f9a4/attachment-0001.htm>


More information about the bugs mailing list