RTEMS | bsps/arm/stm32h7: group SPI CS GPIO initialization by port (!1161)
Mohamed Ayman (@mohamedayman23)
gitlab at rtems.org
Thu Mar 26 05:12:47 UTC 2026
Mohamed Ayman commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1161#note_147148
HI Kinsy,
I study stm32h7 as a learning reference for my GSoC project so i dont have stm32h7 board yet but,
I tested HAL_SPI_MspInit using a unit test with mocked GPIO functions.\
The test verified:
* SPI pins (SCK/MISO/MOSI) are initialized in correct order.
* CS pins on the same port are combined correctly.
* Pins are set HIGH before configuring as output.
* Pins with regs== NULL are skipped.
Output logs confirm correct behavior without requiring hardware.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1161#note_147148
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/20260326/9e0cdf61/attachment.htm>
More information about the bugs
mailing list