:orphan: .. title:: CHECK_BEFORE_READING .. option:: CONFIG_CHECK_BEFORE_READING *Verify area before reading it* Type: ``bool`` Help ==== .. code-block:: none Do a margin check flash command before reading an area. This feature prevents erroneous/forbidden reading. Some ECC enabled devices will crash when reading an erased or wrongly programmed area. Direct dependencies =================== \ :option:`SOC_FLASH_MCUX ` && \ :option:`FLASH ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if \ :option:`SOC_SERIES_LPC55XXX ` Kconfig definition ================== At ``/flash/Kconfig.mcux:18`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``/Kconfig:60`` → ``/flash/Kconfig:69`` Menu path: (Top) → Device Drivers → Flash hardware support → MCUX flash shim driver .. code-block:: kconfig config CHECK_BEFORE_READING bool "Verify area before reading it" default y if SOC_SERIES_LPC55XXX depends on SOC_FLASH_MCUX && FLASH help Do a margin check flash command before reading an area. This feature prevents erroneous/forbidden reading. Some ECC enabled devices will crash when reading an erased or wrongly programmed area. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*