:orphan: .. title:: CHECK_BEFORE_READING .. option:: CONFIG_CHECK_BEFORE_READING *Verify area before reading it* Type: ``bool`` 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. Direct dependencies =================== \ :option:`SOC_FLASH_MCUX ` && \ :option:`FLASH ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if \ :option:`SOC_SERIES_LPC55XXX ` Kconfig definition ================== .. highlight:: kconfig At ``drivers/flash/Kconfig.mcux:18`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:60`` → ``drivers/flash/Kconfig:67`` Menu path: (Top) → Device Drivers → Flash hardware support → MCUX flash shim driver .. parsed-literal:: config CHECK_BEFORE_READING bool "Verify area before reading it" default y if \ :option:`SOC_SERIES_LPC55XXX ` depends on \ :option:`SOC_FLASH_MCUX ` && \ :option:`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.)*