You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drivers: memc: stm32_xspi_psram: Add conditional HAL API support
Add conditional compilation to support different STM32 XSPI HAL
capabilities across product lines:
- Use XSPIM (XSPI Manager) configuration when available (STM32H7RS)
- Use 16-line data mode on STM32H7RS, 8-line on STM32H5
- Include MaxTran and MemorySelect Init fields only when XSPIM exists
This allows the driver to automatically use full hardware
capabilities on STM32H7RS (16-line XSPI with dual-port manager)
while maintaining compatibility with STM32H5 series that have
simpler single-port XSPI/OCTOSPI implementation with 8-line max.
Related to zephyrproject-rtos/hal_stm32#328
Signed-off-by: Ayush Kothari <ayushkot96@gmail.com>
0 commit comments