Skip to content

Commit

Permalink
Refacred the code and removed the not required code
Browse files Browse the repository at this point in the history
  • Loading branch information
shgutte committed Feb 25, 2025
1 parent 66e2d0c commit 1e93535
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 52 deletions.
10 changes: 5 additions & 5 deletions scripts/tools/silabs/ota/ota_multi_image_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ class TAG:
APPLICATION = 1
BOOTLOADER = 2
FACTORY_DATA = 3
WIFI_917_NCP_TA = 4
WIFI_917_SOC_COMBINED = 5
WIFI_917_NCP_COMBINED = 6
WIFI_917_TA_M4 = 4


def set_logger():
stdout_handler = logging.StreamHandler(stream=sys.stdout)
Expand All @@ -75,6 +74,7 @@ def set_logger():
handlers=[stdout_handler]
)


def write_to_temp(path: str, payload: bytearray):
with open(path, "wb") as _handle:
_handle.write(payload)
Expand Down Expand Up @@ -285,8 +285,8 @@ def create_image(args: object):
input_files += generate_bootloader(args)

if args.app_input_file:
input_files += generate_app(args)
input_files += generate_app(args)

if args.wifi_input_file:
input_files += generate_wifi_image(args)

Expand Down
47 changes: 0 additions & 47 deletions src/platform/silabs/multi-ota/SiWx917/OTAHooks917.cpp

This file was deleted.

0 comments on commit 1e93535

Please sign in to comment.