Skip to content

Conversation

@Ayushkothari96
Copy link

@Ayushkothari96 Ayushkothari96 commented Nov 15, 2025

Note: This PR is part 1 of 2 for fixing issue #99191.

Related PR:

Fixes zephyrproject-rtos/zephyr#99191

STM32H5 series uses OCTOSPI naming instead of XSPI for the peripheral instances. Add compatibility macros to alias XSPI1 to OCTOSPI1 to maintain driver compatibility across STM32 series.

This resolves compilation errors when using the XSPI PSRAM driver on STM32H573 and other STM32H5 devices.

Changes:

  • Added XSPI1, XSPI1_NS, XSPI1_S compatibility macros for STM32H5
  • Follows existing HAL legacy pattern for backward compatibility

Fixes zephyrproject-rtos/zephyr#99191

STM32H5 series uses OCTOSPI naming instead of XSPI for the
peripheral instances. Add compatibility macros to alias XSPI1
to OCTOSPI1 to maintain driver compatibility across STM32 series.

This resolves compilation errors when using the XSPI PSRAM driver
on STM32H573 and other STM32H5 devices.

Signed-off-by: Ayush Kothari <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STM32 XSPI PSRAM driver does not compile for STM32H573

1 participant