CONFIG_SOC_FLASH_MCUX

MCUX flash shim driver

Type: bool

Help

Enables the MCUX flash shim driver.
WARNING: This driver will disable the system interrupts for
the duration of the flash erase/write operations. This will
have an impact on the overall system performance - whether
this is acceptable or not will depend on the use case.

Direct dependencies

(FLASH && SOC_MK22F51212 && SOC_SERIES_KINETIS_K2X) || (FLASH && SOC_MK64F12 && SOC_SERIES_KINETIS_K6X) || (FLASH && SOC_MK66F18 && SOC_SERIES_KINETIS_K6X) || (FLASH && SOC_SERIES_KINETIS_K8X) || (FLASH && SOC_SERIES_KINETIS_KE1XF) || (FLASH && SOC_MKL25Z4 && SOC_SERIES_KINETIS_KL2X) || (FLASH && SOC_SERIES_KINETIS_KV5X) || (FLASH && (SOC_MKW22D5 || SOC_MKW24D5) && SOC_SERIES_KINETIS_KWX) || (FLASH && SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX) || (FLASH && SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX) || (FLASH && SOC_LPC55S16 && SOC_SERIES_LPC55XXX) || (FLASH && SOC_LPC55S28 && SOC_SERIES_LPC55XXX) || (FLASH && !TRUSTED_EXECUTION_NONSECURE && SOC_LPC55S69_CPU0 && SOC_SERIES_LPC55XXX) || (FLASH && SOC_MK22F51212 && SOC_SERIES_KINETIS_K2X) || (FLASH && SOC_MK64F12 && SOC_SERIES_KINETIS_K6X) || (FLASH && SOC_MK66F18 && SOC_SERIES_KINETIS_K6X) || (FLASH && SOC_SERIES_KINETIS_K8X) || (FLASH && SOC_SERIES_KINETIS_KE1XF) || (FLASH && SOC_MKL25Z4 && SOC_SERIES_KINETIS_KL2X) || (FLASH && SOC_SERIES_KINETIS_KV5X) || (FLASH && (SOC_MKW22D5 || SOC_MKW24D5) && SOC_SERIES_KINETIS_KWX) || (FLASH && SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX) || (FLASH && SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX) || (FLASH && SOC_LPC55S16 && SOC_SERIES_LPC55XXX) || (FLASH && SOC_LPC55S28 && SOC_SERIES_LPC55XXX) || (FLASH && !TRUSTED_EXECUTION_NONSECURE && SOC_LPC55S69_CPU0 && SOC_SERIES_LPC55XXX) || ((HAS_MCUX_FTFX || HAS_MCUX_IAP) && FLASH)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

Symbols selected by this symbol

Kconfig definitions

At <Zephyr>/soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.mk22f12:56

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MK22F51212 && SOC_SERIES_KINETIS_K2X

At <Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12:71

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:22

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MK64F12 && SOC_SERIES_KINETIS_K6X

At <Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk66f18:68

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:22

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MK66F18 && SOC_SERIES_KINETIS_K6X

At <Zephyr>/soc/arm/nxp_kinetis/k8x/Kconfig.defconfig.series:40

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_SERIES_KINETIS_K8X

At <Zephyr>/soc/arm/nxp_kinetis/ke1xf/Kconfig.defconfig.series:78

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_SERIES_KINETIS_KE1XF

At <Zephyr>/soc/arm/nxp_kinetis/kl2x/Kconfig.defconfig.mkl25z4:38

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kl2x/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MKL25Z4 && SOC_SERIES_KINETIS_KL2X

At <Zephyr>/soc/arm/nxp_kinetis/kv5x/Kconfig.defconfig.series:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_SERIES_KINETIS_KV5X

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw2xd512:60

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && (SOC_MKW22D5 || SOC_MKW24D5) && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:56

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:50

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S16:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_lpc/Kconfig.defconfig:4<Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_LPC55S16 && SOC_SERIES_LPC55XXX

At <Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S28:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_lpc/Kconfig.defconfig:4<Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_LPC55S28 && SOC_SERIES_LPC55XXX

At <Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S69_cpu0:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nxp_lpc/Kconfig.defconfig:4<Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && !TRUSTED_EXECUTION_NONSECURE && SOC_LPC55S69_CPU0 && SOC_SERIES_LPC55XXX

At <Zephyr>/soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.mk22f12:56

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MK22F51212 && SOC_SERIES_KINETIS_K2X

At <Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12:71

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:22

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MK64F12 && SOC_SERIES_KINETIS_K6X

At <Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk66f18:68

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:22

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MK66F18 && SOC_SERIES_KINETIS_K6X

At <Zephyr>/soc/arm/nxp_kinetis/k8x/Kconfig.defconfig.series:40

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_SERIES_KINETIS_K8X

At <Zephyr>/soc/arm/nxp_kinetis/ke1xf/Kconfig.defconfig.series:78

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_SERIES_KINETIS_KE1XF

At <Zephyr>/soc/arm/nxp_kinetis/kl2x/Kconfig.defconfig.mkl25z4:38

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kl2x/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MKL25Z4 && SOC_SERIES_KINETIS_KL2X

At <Zephyr>/soc/arm/nxp_kinetis/kv5x/Kconfig.defconfig.series:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_SERIES_KINETIS_KV5X

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw2xd512:60

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && (SOC_MKW22D5 || SOC_MKW24D5) && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw40z4:56

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MKW40Z4 && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw41z4:50

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_kinetis/Kconfig.defconfig:11<Zephyr>/soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.series:11

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_MKW41Z4 && SOC_SERIES_KINETIS_KWX

At <Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S16:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_lpc/Kconfig.defconfig:4<Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_LPC55S16 && SOC_SERIES_LPC55XXX

At <Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S28:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_lpc/Kconfig.defconfig:4<Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && SOC_LPC55S28 && SOC_SERIES_LPC55XXX

At <Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S69_cpu0:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nxp_lpc/Kconfig.defconfig:4<Zephyr>/soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config SOC_FLASH_MCUX
    bool
    default y
    depends on FLASH && !TRUSTED_EXECUTION_NONSECURE && SOC_LPC55S69_CPU0 && SOC_SERIES_LPC55XXX

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

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

config SOC_FLASH_MCUX
    bool "MCUX flash shim driver"
    select FLASH_HAS_PAGE_LAYOUT
    select FLASH_HAS_DRIVER_ENABLED
    select MPU_ALLOW_FLASH_WRITE if ARM_MPU
    depends on (HAS_MCUX_FTFX || HAS_MCUX_IAP) && FLASH
    help
      Enables the MCUX flash shim driver.
      WARNING: This driver will disable the system interrupts for
      the duration of the flash erase/write operations. This will
      have an impact on the overall system performance - whether
      this is acceptable or not will depend on the use case.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)