2018-05-23 19:22:20 +08:00
|
|
|
zephyr_library()
|
2018-03-28 18:06:12 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SPI_FLASH_W25QXXDV spi_flash_w25qxxdv.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_QMSI soc_flash_qmsi.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_NRF soc_flash_nrf.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_MCUX soc_flash_mcux.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_FLASH_PAGE_LAYOUT flash_page_layout.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE flash_handlers.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_SAM0 flash_sam0.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_NIOS2_QSPI soc_flash_nios2_qspi.c)
|
2017-10-27 21:43:34 +08:00
|
|
|
|
2017-12-04 21:09:59 +08:00
|
|
|
if(CONFIG_SOC_SERIES_STM32F0X)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_STM32
|
2017-12-04 21:09:59 +08:00
|
|
|
flash_stm32.c
|
|
|
|
flash_stm32f0x.c
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
if(CONFIG_SOC_SERIES_STM32F3X)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_STM32 flash_stm32f3x.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_STM32 flash_stm32f3x_priv.c)
|
2017-10-27 21:43:34 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CONFIG_SOC_SERIES_STM32F4X)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_STM32
|
2017-10-27 21:43:34 +08:00
|
|
|
flash_stm32.c
|
|
|
|
flash_stm32f4x.c
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CONFIG_SOC_SERIES_STM32L4X)
|
2018-03-28 18:06:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_SOC_FLASH_STM32
|
2017-10-27 21:43:34 +08:00
|
|
|
flash_stm32.c
|
|
|
|
flash_stm32l4x.c
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2018-10-19 01:15:46 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_FLASH_SHELL flash_shell.c)
|
|
|
|
|
2018-03-21 01:41:39 +08:00
|
|
|
zephyr_include_directories_ifdef(CONFIG_SOC_FLASH_NRF_RADIO_SYNC ${ZEPHYR_BASE}/subsys/bluetooth)
|