zephyr/drivers/flash/Kconfig.sam
Bjarki Arge Andreasen ed854f008a flash: sam: Rewrite driver to dyncamically adapt to pages
This commit updates the driver to use the flash layout pages,
rewriting it to utilize the flash_page_layout.c driver to
avoid duplicate code.

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2024-01-23 15:22:26 +00:00

16 lines
415 B
Plaintext

# Atmel SAM flash driver config
# Copyright (c) 2018 Aurelien Jarno
# SPDX-License-Identifier: Apache-2.0
config SOC_FLASH_SAM
bool "Atmel SAM flash driver"
default y
depends on DT_HAS_ATMEL_SAM_FLASH_CONTROLLER_ENABLED
select FLASH_PAGE_LAYOUT
select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED
select MPU_ALLOW_FLASH_WRITE if ARM_MPU
help
Enable the Atmel SAM series internal flash driver.