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

SOC_FLASH_MCUX && FLASH

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At <Zephyr>/drivers/flash/Kconfig.mcux:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/flash/Kconfig:73

Menu path: (Top) → Device Drivers → Flash hardware support → MCUX flash shim driver

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.)