zephyr/drivers/flash
Andrzej Puzdrowski d095963e73 drivers: flash: Assert implementation of Flash Page Layout
Some drivers doesn't implement flash API page layout extension
which is causing the application crash once the API was calling.
This patch introduce system termination for this in those drivers
which doesn't implement extension. This will help to discover this
problem early.

It is not done by preprocessor check because it is possible to have
enabled a driver which support and a driver which doesn't support
this API simultaneously.

Now FLASH_PAGE_LAYOUT configuration option is accessible only in case
that at last one driver which implements mentioned API is enabled.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2017-12-12 14:23:50 -06:00
..
CMakeLists.txt flash: stm32: add support for STM32F0 flash controller 2017-12-12 12:36:08 -06:00
Kconfig drivers: flash: Assert implementation of Flash Page Layout 2017-12-12 14:23:50 -06:00
Kconfig.stm32 drivers: flash: Assert implementation of Flash Page Layout 2017-12-12 14:23:50 -06:00
flash_handlers.c drivers: fix handler filenames 2017-10-31 12:51:22 -07:00
flash_page_layout.c drivers: flash: add system calls 2017-10-30 13:20:19 -07:00
flash_priv.h drivers: flash: Assert implementation of Flash Page Layout 2017-12-12 14:23:50 -06:00
flash_stm32.c flash: stm32: add support for STM32F0 flash controller 2017-12-12 12:36:08 -06:00
flash_stm32.h flash: stm32: add support for STM32F0 flash controller 2017-12-12 12:36:08 -06:00
flash_stm32f0x.c flash: stm32: add support for STM32F0 flash controller 2017-12-12 12:36:08 -06:00
flash_stm32f3x.c drivers: flash: Add write-block-size values for SoCs 2017-10-11 11:19:15 -05:00
flash_stm32f3x.h
flash_stm32f3x_priv.c
flash_stm32f4x.c cleanup: Use quote include instead of system include 2017-10-28 07:11:53 -04:00
flash_stm32l4x.c flash: stm32l4x: fix build 2017-12-04 10:53:12 -06:00
soc_flash_mcux.c drivers: flash: Assert implementation of Flash Page Layout 2017-12-12 14:23:50 -06:00
soc_flash_nrf5.c drivers: flash: Add write-block-size values for SoCs 2017-10-11 11:19:15 -05:00
soc_flash_qmsi.c drivers: flash: Assert implementation of Flash Page Layout 2017-12-12 14:23:50 -06:00
spi_flash_w25qxxdv.c drivers: flash: Assert implementation of Flash Page Layout 2017-12-12 14:23:50 -06:00
spi_flash_w25qxxdv.h
spi_flash_w25qxxdv_defs.h