2021-03-31 19:46:34 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-05 05:49:05 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MEMC_STM32 memc_stm32.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MEMC_STM32_SDRAM memc_stm32_sdram.c)
|
2020-11-02 03:48:15 +08:00
|
|
|
zephyr_linker_sources_ifdef(CONFIG_MEMC_STM32_SDRAM SECTIONS memc_stm32_sdram.ld)
|
2021-03-31 19:46:34 +08:00
|
|
|
|
2021-08-05 05:49:05 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MEMC_MCUX_FLEXSPI memc_mcux_flexspi.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MEMC_MCUX_FLEXSPI_HYPERRAM memc_mcux_flexspi_hyperram.c)
|
2021-04-15 13:48:57 +08:00
|
|
|
|
|
|
|
if(CONFIG_FLASH_MCUX_FLEXSPI_XIP)
|
|
|
|
zephyr_code_relocate(memc_mcux_flexspi.c ${CONFIG_FLASH_MCUX_FLEXSPI_XIP_MEM}_TEXT)
|
|
|
|
endif()
|