1# Atmel SAM0 flash driver config 2 3# Copyright (c) 2018 Google LLC. 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig SOC_FLASH_SAM0 7 bool "Atmel SAM0 flash driver" 8 default y 9 depends on DT_HAS_ATMEL_SAM0_NVMCTRL_ENABLED 10 select FLASH_HAS_PAGE_LAYOUT 11 select FLASH_HAS_DRIVER_ENABLED 12 select MPU_ALLOW_FLASH_WRITE if ARM_MPU 13 help 14 Enable the Atmel SAM0 series internal flash driver. 15 16config SOC_FLASH_SAM0_EMULATE_BYTE_PAGES 17 bool "Emulate byte-sized pages" 18 depends on SOC_FLASH_SAM0 19 default y if SOC_SERIES_SAMC20 || \ 20 SOC_SERIES_SAMC21 21 help 22 Emulate a device with byte-sized pages by doing a 23 read/modify/erase/write. 24