Skip to content

Commit

Permalink
adding wiseconnect sdk in images
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-silabs committed Sep 15, 2023
1 parent ab20639 commit 781a972
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/docker/images/base/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11 : [ESP32] Update IDF to release v5.1.1
12 : [SILABS] Adding Wiseconnect SDK v3.0.13
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ RUN git clone --depth=1 --branch=v4.3.1 https://github.com/SiliconLabs/gecko_sdk

ENV GSDK_ROOT=/gecko_sdk/

#Clone Wiseconnect SDK 3.0.13 (0f0cdcd)
RUN git clone --depth=1 --branch=v3.0.13 https://github.com/SiliconLabs/wiseconnect.git && \
cd wifi_sdk && \
rm -rf .git \
&& : # last line

ENV WISECONNECT_PATH=/wifi_sdk/

# SLC-cli install
# TODO: figure out a way to make this a fixed version. Currently a moving target.
RUN wget https://www.silabs.com/documents/login/software/slc_cli_linux.zip && \
Expand Down
4 changes: 4 additions & 0 deletions scripts/build/builders/efr32.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ def __init__(self,
if not enable_wifi:
self.extra_gn_options.append(f"openthread_root=\"{sdk_path}/util/third_party/openthread\"")

if "WISECONNECT_PATH" in os.environ:
wifi_sdk_path = shlex.quote(os.environ['WISECONNECT_PATH'])
self.extra_gn_options.append(f"wifi_sdk_root=\"{wifi_sdk_path}\"")

def GnBuildArgs(self):
return self.extra_gn_options

Expand Down

0 comments on commit 781a972

Please sign in to comment.