:orphan: .. title:: CONFIG_CHECK_BEFORE_READING .. kconfig:: CONFIG_CHECK_BEFORE_READING 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 =================== \ :kconfig:`SOC_FLASH_MCUX ` && \ :kconfig:`FLASH ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if \ :kconfig:`SOC_SERIES_LPC55XXX ` Kconfig definition ================== At ``/flash/Kconfig.mcux:18`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:62`` → ``/flash/Kconfig:81`` 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.)*