#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

config SLM_NRF52_DFU
	bool "NRF52 DFU support"
	help
	  NRF52 DFU support in SLM

if (SLM_NRF52_DFU)

config SLM_DFU_SOCKET_RETRIES
	int "Number of retries of download"
	default 2
	help
	  Number of retries for socket-related download issues

config SLM_DFU_FLASH_BUF_SZ
	int "Buffer size for flash write operations"
	default 512
	help
	  Buffer size must be aligned to the minimal flash write block size

config SLM_NRF52_DFU_LEGACY
	bool "Legacy NRF52 DFU support"
	help
	  Legacy NRF52 DFU support in SLM

if SLM_NRF52_DFU_LEGACY

config SLM_DFU_INIT_PACKET_SZ
	int "Buffer size for init packet"
	default 512
	help
	  Size of buffer used for store init packet
endif # SLM_NRF52_DFU_LEGACY

endif # SLM_NRF52_DFU
