Skip to content

Commit

Permalink
[Silabs] WiFi- Addressed build failures with wiseMCU package v1.0.1.4 (
Browse files Browse the repository at this point in the history
…#26161)

* Adds declarations for 917SoC which causing the build failure with 1.0.1.4 WisemcuSDK

* removed a macro redefinition

* adding warnings flags back, which removed for 1.0.18 package
  • Loading branch information
silabs-srishylam authored and pull[bot] committed Sep 13, 2023
1 parent 2081c0e commit 1645956
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/platform/silabs/SiWx917/LEDWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@

#pragma once

#include "rsi_board.h"
#include <stdint.h>

extern "C" void RSI_Board_LED_Set(int, int);
extern "C" void RSI_Board_LED_Toggle(int);

class LEDWidget
{
public:
Expand Down
8 changes: 7 additions & 1 deletion third_party/silabs/SiWx917_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ template("siwx917_sdk") {
"LWIP_ICMP=1",
"LWIP_IGMP=1",
"LWIP_DHCP=1",
"LWIP_DNS=0",
]
} else {
defines += [ "LWIP_IPV4=0" ]
Expand Down Expand Up @@ -181,7 +180,14 @@ template("siwx917_sdk") {
cflags += [
"-Wno-maybe-uninitialized",
"-Wno-shadow",
"-Wno-empty-body",
"-Wno-cpp",
"-Wno-missing-braces",
"-Wno-sign-compare",
"-Wno-error",
"-Wno-unknown-warning-option",
"-Wno-unused-variable",
"-Wno-unused-function",
]

if (defined(invoker.defines)) {
Expand Down

0 comments on commit 1645956

Please sign in to comment.