diff --git a/examples/platform/silabs/SiWx917/LEDWidget.h b/examples/platform/silabs/SiWx917/LEDWidget.h index 44fb1937ee0f33..f033cb26c50f64 100644 --- a/examples/platform/silabs/SiWx917/LEDWidget.h +++ b/examples/platform/silabs/SiWx917/LEDWidget.h @@ -19,12 +19,9 @@ #pragma once +#include "rsi_board.h" #include -extern "C" void RSI_Board_LED_Set(int, bool); -extern "C" void RSI_Board_LED_Toggle(int); -extern "C" bool RSI_Board_LED_GetState(int); - class LEDWidget { public: diff --git a/src/platform/silabs/efr32/BUILD.gn b/src/platform/silabs/efr32/BUILD.gn index 5d5bde61f33f4b..1f43416c8013bb 100644 --- a/src/platform/silabs/efr32/BUILD.gn +++ b/src/platform/silabs/efr32/BUILD.gn @@ -131,7 +131,7 @@ static_library("efr32") { "wifi/wifi_config.h", ] - if (use_wf200 || use_rs9116) { + if (use_wf200 || use_rs9116 || use_SiWx917) { sources += [ "wifi/dhcp_client.cpp", "wifi/dhcp_client.h", diff --git a/third_party/silabs/efr32_sdk.gni b/third_party/silabs/efr32_sdk.gni index 6926ae35e79f10..55ff1066d214ff 100644 --- a/third_party/silabs/efr32_sdk.gni +++ b/third_party/silabs/efr32_sdk.gni @@ -273,7 +273,7 @@ template("efr32_sdk") { ] } - if (use_wf200 || use_rs9116) { + if (use_wf200 || use_rs9116 || use_SiWx917) { import("${chip_root}/src/platform/silabs/efr32/wifi_args.gni") defines += [ "LWIP_NETIF_API=1" ]