Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Silabs] WiFi 917SoC including header file #25981

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions examples/platform/silabs/SiWx917/LEDWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@

#pragma once

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

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:
Expand Down
2 changes: 1 addition & 1 deletion src/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down