Skip to content

Commit 1e93535

Browse files
committed
Refacred the code and removed the not required code
1 parent 66e2d0c commit 1e93535

File tree

2 files changed

+5
-52
lines changed

2 files changed

+5
-52
lines changed

scripts/tools/silabs/ota/ota_multi_image_tool.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ class TAG:
6363
APPLICATION = 1
6464
BOOTLOADER = 2
6565
FACTORY_DATA = 3
66-
WIFI_917_NCP_TA = 4
67-
WIFI_917_SOC_COMBINED = 5
68-
WIFI_917_NCP_COMBINED = 6
66+
WIFI_917_TA_M4 = 4
67+
6968

7069
def set_logger():
7170
stdout_handler = logging.StreamHandler(stream=sys.stdout)
@@ -75,6 +74,7 @@ def set_logger():
7574
handlers=[stdout_handler]
7675
)
7776

77+
7878
def write_to_temp(path: str, payload: bytearray):
7979
with open(path, "wb") as _handle:
8080
_handle.write(payload)
@@ -285,8 +285,8 @@ def create_image(args: object):
285285
input_files += generate_bootloader(args)
286286

287287
if args.app_input_file:
288-
input_files += generate_app(args)
289-
288+
input_files += generate_app(args)
289+
290290
if args.wifi_input_file:
291291
input_files += generate_wifi_image(args)
292292

src/platform/silabs/multi-ota/SiWx917/OTAHooks917.cpp

-47
This file was deleted.

0 commit comments

Comments
 (0)