samples: drivers: include the stm32 xspi node for running the samples
The stm32 xspi node is another possible multi-spi for connecting external NOR flash memories. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
5dff83a8be
commit
0289105758
4 changed files with 9 additions and 3 deletions
|
@ -29,5 +29,7 @@ tests:
|
|||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
sample.drivers.stm32.jesd216:
|
||||
filter: dt_compat_enabled("st,stm32-ospi-nor") or dt_compat_enabled("st,stm32-qspi-nor")
|
||||
filter: dt_compat_enabled("st,stm32-xspi-nor")
|
||||
or dt_compat_enabled("st,stm32-ospi-nor")
|
||||
or dt_compat_enabled("st,stm32-qspi-nor")
|
||||
depends_on: spi
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#define FLASH_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(st_stm32_qspi_nor)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(st_stm32_ospi_nor)
|
||||
#define FLASH_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(st_stm32_ospi_nor)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(st_stm32_xspi_nor)
|
||||
#define FLASH_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(st_stm32_xspi_nor)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_s32_qspi_nor)
|
||||
#define FLASH_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_s32_qspi_nor)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_imx_flexspi_nor)
|
||||
|
|
|
@ -6,7 +6,7 @@ tests:
|
|||
- spi
|
||||
- flash
|
||||
filter: dt_compat_enabled("jedec,spi-nor") or dt_compat_enabled("st,stm32-qspi-nor")
|
||||
or dt_compat_enabled("st,stm32-ospi-nor")
|
||||
or dt_compat_enabled("st,stm32-ospi-nor") or dt_compat_enabled("st,stm32-xspi-nor")
|
||||
or (dt_compat_enabled("nordic,qspi-nor") and CONFIG_NORDIC_QSPI_NOR)
|
||||
platform_exclude: hifive_unmatched
|
||||
harness: console
|
||||
|
|
|
@ -26,7 +26,9 @@
|
|||
#endif
|
||||
#define SPI_FLASH_SECTOR_SIZE 4096
|
||||
|
||||
#if defined(CONFIG_FLASH_STM32_OSPI) || defined(CONFIG_FLASH_STM32_QSPI)
|
||||
#if defined(CONFIG_FLASH_STM32_OSPI) || \
|
||||
defined(CONFIG_FLASH_STM32_QSPI) || \
|
||||
defined(CONFIG_FLASH_STM32_XSPI)
|
||||
#define SPI_FLASH_MULTI_SECTOR_TEST
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue