2023-03-07 00:18:45 +08:00
|
|
|
# Copyright (c) 2020 Erik Larson
|
|
|
|
# Copyright (c) 2022 Jason Kridner, BeagleBoard.org Foundation
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-01-05 15:21:18 +08:00
|
|
|
# Download cc1352-flasher (https://pypi.org/project/cc1352-flasher/) using the following command:
|
|
|
|
# pip3 install cc1352-flasher
|
2023-03-07 00:18:45 +08:00
|
|
|
|
2024-01-05 15:21:18 +08:00
|
|
|
find_program(CC1352_FLASHER NAMES cc1352_flasher)
|
2023-03-07 00:18:45 +08:00
|
|
|
board_set_flasher_ifnset(misc-flasher)
|
2024-01-05 15:21:18 +08:00
|
|
|
board_finalize_runner_args(misc-flasher ${CC1352_FLASHER} --bcf)
|