16 lines
597 B
CMake
16 lines
597 B
CMake
# Copyright (c) 2020 Erik Larson
|
|
# Copyright (c) 2023 Jason Kridner, BeagleBoard.org Foundation
|
|
# Copyright (c) 2024 Ayush Singh, BeagleBoard.org Foundation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Download cc1352-flasher (https://pypi.org/project/cc1352-flasher/) using the following command:
|
|
# pip3 install cc1352-flasher
|
|
# Be sure to disable the bcfserial driver because it will capture /dev/ttyS4
|
|
|
|
if(CONFIG_SOC_CC1352P7)
|
|
find_program(CC1352_FLASHER NAMES cc1352_flasher)
|
|
board_set_flasher_ifnset(misc-flasher)
|
|
board_finalize_runner_args(misc-flasher ${CC1352_FLASHER} --play)
|
|
endif()
|