1# SPDX-License-Identifier: Apache-2.0
2
3set(SPI_IMAGE_NAME spi_image.bin)
4
5board_set_flasher_ifnset(dediprog)
6
7# --vcc=0 - use 3.5V to flash
8board_finalize_runner_args(dediprog
9  "--spi-image=${PROJECT_BINARY_DIR}/${SPI_IMAGE_NAME}"
10  "--vcc=0"
11)
12
13# This allows a custom script to be used for flashing the SPI chip.
14include(${ZEPHYR_BASE}/boards/common/misc.board.cmake)
15