samples: drivers: jesd216 reading jedec IDs from stm32 boards
Add the stm32-ospi-nor or stm32-qspi-nor compatible to run the sample on stm32 boards without jedec,spi-nor compatible. No more config file needed to get the jedec ID and SFDP info from the external quad- or octo-SPI flash of the stm32 disco boards. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
ce82348ccf
commit
6b87eedee0
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2022 STMicroelectronics
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_FLASH_STM32_OSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2022 STMicroelectronics
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_FLASH_STM32_OSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,3 +0,0 @@
|
|||
CONFIG_FLASH_STM32_QSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2023 STMicroelectronics
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_FLASH_STM32_OSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2022 STMicroelectronics
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_FLASH_STM32_OSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,3 +0,0 @@
|
|||
CONFIG_FLASH_STM32_QSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,3 +0,0 @@
|
|||
CONFIG_FLASH_STM32_QSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# Copyright (c) 2022 STMicroelectronics
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_FLASH_STM32_OSPI=y
|
||||
CONFIG_SPI_NOR_SFDP_RUNTIME=y
|
||||
CONFIG_SPI_NOR=n
|
|
@ -28,3 +28,6 @@ tests:
|
|||
platform_allow: nrf52840dk_nrf52840
|
||||
integration_platforms:
|
||||
- nrf52840dk_nrf52840
|
||||
sample.drivers.stm32.jesd216:
|
||||
filter: dt_compat_enabled("st,stm32-ospi-nor") or dt_compat_enabled("st,stm32-qspi-nor")
|
||||
depends_on: spi
|
||||
|
|
Loading…
Reference in a new issue