RTEMS | bsp/arm/tms570: unlock IOMM and disable interrupts before setting pins (!1218)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jul 23 22:16:33 UTC 2026
Kinsey Moore started a new discussion on bsps/arm/tms570/start/pinmux.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1218#note_155263
>
> void tms570_pin_config_prepare(void)
> {
> - TMS570_IOMM.KICK_REG0 = 0x83E70B13U;
> - TMS570_IOMM.KICK_REG1 = 0x95A4F1E0U;
> + TMS570_IOMM.KICK_REG0 = 0x83E70B13U; // Hardcoded KICK0 unlock code (see TRM)
> + TMS570_IOMM.KICK_REG1 = 0x95A4F1E0U; // Hardcoded KICK1 unlock code (see TRM)
These should use `/* */` style comments.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1218#note_155263
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-4idvrekt18yziv5s25r7pmk8d-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260723/b2682c81/attachment-0001.htm>
More information about the bugs
mailing list