Skip to content

Commit a448c72

Browse files
jerome-pouillerjhedberg
authored andcommitted
soc: silabs: siwg917: Get rid of siwx917_isp_prepare.py
When commander is called with an .hex file as argument, it is able to generate the RPS information on the fly. So, we can take advantage of this feature and get rid of siwx917_isp_prepare.py. Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent ec2eca5 commit a448c72

File tree

3 files changed

+2
-200
lines changed

3 files changed

+2
-200
lines changed

boards/silabs/radio_boards/siwx917_rb4338a/board.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright (c) 2024 Silicon Laboratories Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
board_runner_args(silabs_commander "--device=SiWG917M111GTBA" "--file-type=bin"
5-
"--file=${PROJECT_BINARY_DIR}/${KERNEL_BIN_NAME}.rps")
4+
board_runner_args(silabs_commander "--device=SiWG917M111GTBA" "--file-type=hex"
5+
"--file=${PROJECT_BINARY_DIR}/${KERNEL_HEX_NAME}")
66
include(${ZEPHYR_BASE}/boards/common/silabs_commander.board.cmake)
77

88
# It is not possible to load/flash a firmware using JLink, but it is possible to

soc/silabs/silabs_siwx917/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,3 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
add_subdirectory(siwg917)
5-
6-
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
7-
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/siwx917_isp_prepare.py
8-
--rom_addr ${CONFIG_FLASH_BASE_ADDRESS}
9-
--out_hex ${KERNEL_HEX_NAME}
10-
${KERNEL_BIN_NAME}
11-
${KERNEL_BIN_NAME}.rps
12-
)

soc/silabs/silabs_siwx917/siwx917_isp_prepare.py

Lines changed: 0 additions & 190 deletions
This file was deleted.

0 commit comments

Comments
 (0)